# Template file for 'UxPlay'
pkgname=UxPlay
version=1.71.1
revision=1
build_style=cmake
configure_args="-DNO_MARCH_NATIVE=ON"
hostmakedepends="pkg-config"
makedepends="openssl-devel libplist-devel avahi-compat-libs-devel gstreamer1-devel gst-plugins-base1-devel libX11-devel"
depends="gst-plugins-base1 gst-libav gst-plugins-good1 gst-plugins-bad1"
short_desc="AirPlay Unix mirroring server"
maintainer="T0mstone <realt0mstone@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/FDH2/UxPlay"
changelog="https://github.com/FDH2/UxPlay/releases"
distfiles="https://github.com/FDH2/UxPlay/archive/refs/tags/v${version}.tar.gz"
checksum=61df20e78d9f4cf5f45974544873d9a7010b9e2783c1ac68cd170f27b783d3fa

post_install() {
	vdoc ${FILESDIR}/README.voidlinux
	mv $DESTDIR/usr/share/doc/uxplay/* $DESTDIR/usr/share/doc/UxPlay/
}
