aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/uxplay/uxplay-1.37.ebuild')
-rw-r--r--media-video/uxplay/uxplay-1.37.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/media-video/uxplay/uxplay-1.37.ebuild b/media-video/uxplay/uxplay-1.37.ebuild
new file mode 100644
index 000000000..dfa5c081a
--- /dev/null
+++ b/media-video/uxplay/uxplay-1.37.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="UxPlay"
+MY_PV="${PV}b"
+
+inherit cmake
+
+DESCRIPTION="AirPlay Unix mirroring server"
+HOMEPAGE="https://github.com/FDH2/UxPlay"
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/FDH2/${MY_PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/FDH2/${MY_PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+ S="${WORKDIR}/${MY_PN}-${MY_PV}"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+vaapi +zoomfix"
+
+RDEPEND="
+ app-pda/libplist
+ dev-libs/openssl
+ media-libs/gstreamer
+ media-libs/gst-plugins-bad
+ media-libs/gst-plugins-base
+ media-plugins/gst-plugins-libav
+ vaapi? ( media-plugins/gst-plugins-vaapi )
+ net-dns/avahi[mdnsresponder-compat]
+ zoomfix? ( x11-libs/libX11 )
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DZOOMFIX=$(usex zoomfix ON OFF)
+ )
+
+ cmake_src_configure
+}