From 63829a07da1b9bb8ae1e73c4df6365b95c558bb9 Mon Sep 17 00:00:00 2001 From: T0mstone Date: Wed, 5 Jul 2023 18:08:11 +0200 Subject: [PATCH] New package: UxPlay-1.68.3 --- srcpkgs/UxPlay/files/README.voidlinux | 5 +++++ srcpkgs/UxPlay/template | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 srcpkgs/UxPlay/files/README.voidlinux create mode 100644 srcpkgs/UxPlay/template diff --git a/srcpkgs/UxPlay/files/README.voidlinux b/srcpkgs/UxPlay/files/README.voidlinux new file mode 100644 index 00000000000..f67a85659e5 --- /dev/null +++ b/srcpkgs/UxPlay/files/README.voidlinux @@ -0,0 +1,5 @@ +Additional GStreamer plugins you may need to install: +- `gstreamer-vaapi` is needed for hardware-accelerated h264 video decoding by Intel or AMD graphics (but not for use with NVIDIA using proprietary drivers) +- `gstreamer1-pipewire` may be needed for audio sharing when your system is set up to use pipewire + +Additionally, UxPlay requires a running DNS-SD server (for example `avahi`). diff --git a/srcpkgs/UxPlay/template b/srcpkgs/UxPlay/template new file mode 100644 index 00000000000..af814a055d6 --- /dev/null +++ b/srcpkgs/UxPlay/template @@ -0,0 +1,21 @@ +# Template file for 'UxPlay' +pkgname=UxPlay +version=1.68.3 +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 " +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=aa3f15e6a8568fdc3ad1f0a02956178964ca122e9bcdbff544e25a59a61127ae + +post_install() { + vdoc ${FILESDIR}/README.voidlinux + mv $DESTDIR/usr/share/doc/uxplay/* $DESTDIR/usr/share/doc/UxPlay/ +}