From 35592c31d03ce346da3d4c9a6fe0fbaf99b3af00 Mon Sep 17 00:00:00 2001 From: T0mstone Date: Wed, 5 Jul 2023 18:08:11 +0200 Subject: [PATCH] New package: UxPlay-1.65 --- srcpkgs/UxPlay/INSTALL.msg | 5 +++++ srcpkgs/UxPlay/template | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 srcpkgs/UxPlay/INSTALL.msg create mode 100644 srcpkgs/UxPlay/template diff --git a/srcpkgs/UxPlay/INSTALL.msg b/srcpkgs/UxPlay/INSTALL.msg new file mode 100644 index 000000000000..c4866c21ec50 --- /dev/null +++ b/srcpkgs/UxPlay/INSTALL.msg @@ -0,0 +1,5 @@ +Additional GStreamer plugins you may need to install: +- "vaapi" is needed for hardware-accelerated h264 video decoding by Intel or AMD graphics (but not for use with NVIDIA using proprietary drivers) +- "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 000000000000..81405c3de763 --- /dev/null +++ b/srcpkgs/UxPlay/template @@ -0,0 +1,21 @@ +# Template file for 'UxPlay' +pkgname=UxPlay +version=1.65 +revision=1 +build_style=cmake +configure_args="$(vopt_if native_build '' '-DNO_MARCH_NATIVE=ON') $(vopt_if x11 '' '-DNO_X11_DEPS=ON')" +hostmakedepends="pkg-config" +makedepends="openssl-devel libplist-devel avahi-compat-libs-devel gstreamer1-devel gst-plugins-base1-devel $(vopt_if x11 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/tag/v${version}" +distfiles="https://github.com/FDH2/UxPlay/archive/refs/tags/v${version}.tar.gz" +checksum=aeb6458ab4208fc188b66a95a8c88523bb8fd642a45b6a9b45f99aac7ee548af +# UxPlay forbids binary redistribution when linked with OpenSSL <3.0.0 (not GPL-compatible) +restricted=yes + +build_options="x11 native_build" +build_options_default="x11"