# Template file for 'UxPlay'
pkgname=UxPlay
version=1.69
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=ba282a8c36a20321da07557fd986cf494bb556ff45a20a16e0a6226cc28dc1d5

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