summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2024-09-09 10:31:23 +0200
committerPacho Ramos <pacho@gentoo.org>2024-09-09 10:31:43 +0200
commite0ad98c87a6ba9352a5db0307e2286f82dfd2b36 (patch)
tree5f52bf8e5c82d3f8374a72a9505a266603d12413 /gnome-extra
parentsci-mathematics/coq: fix SRC_URI (diff)
downloadgentoo-e0ad98c87a6ba9352a5db0307e2286f82dfd2b36.tar.gz
gentoo-e0ad98c87a6ba9352a5db0307e2286f82dfd2b36.tar.bz2
gentoo-e0ad98c87a6ba9352a5db0307e2286f82dfd2b36.zip
gnome-extra/gnome-network-displays: add 0.93.0
Closes: https://bugs.gentoo.org/938679 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-network-displays/Manifest1
-rw-r--r--gnome-extra/gnome-network-displays/gnome-network-displays-0.93.0.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/gnome-extra/gnome-network-displays/Manifest b/gnome-extra/gnome-network-displays/Manifest
index 45c0b151b044..d0d0f91dea0f 100644
--- a/gnome-extra/gnome-network-displays/Manifest
+++ b/gnome-extra/gnome-network-displays/Manifest
@@ -1,2 +1,3 @@
DIST gnome-network-displays-0.90.5.tar.xz 594196 BLAKE2B 4affeacc21ff581fb49bf29cd7954be7f3fe3531b904f013335d0b8bc25c0384119523a89b3f5f771eb518dfa82deb71ff22d1d5169d99b0799b4129c8586f70 SHA512 c3d4df7cfaba3482936817ad352e6e7185df4381e119236d6c33093356d5ffb12ade1f2afd4677500fa986fa9cac57df93862ac8366f9606fee169b5f8cb98e0
DIST gnome-network-displays-0.92.1.tar.xz 647084 BLAKE2B ad3cf6d50b0d34c0d62d606ac7b53211ba157cfb8ff5c7b0c63a42be8f431b84f1ad0a2ac966c2adfde7b06c20668f7a8df7a26d7f7e07e4f51b1be0685d3411 SHA512 2e1bc9afabde8ee11aabab83e2207bd491052ab64a16c8d7fb26e8c759411c39abfd9d3f590b2f3118ec5d7350de6c18cabf7d0442b87628b9e0067a4ce87da4
+DIST gnome-network-displays-0.93.0.tar.xz 653764 BLAKE2B cb2d8f58f385d817d14412ecb147d82a3e2f2a463ef1d4534934dd0e07eea9c4ee88bf3437ee7e4cc9ead77060fa597c0d5a33d87fd7a9a0ec41a801f847ca73 SHA512 accee419f5f527c7f48c738b625536581ebcea32a313ef3579ea263ca3eb174e2d6e1441adc3a9c9670a6562a7c52700da1d86750fc246acf184dc3c21f224e5
diff --git a/gnome-extra/gnome-network-displays/gnome-network-displays-0.93.0.ebuild b/gnome-extra/gnome-network-displays/gnome-network-displays-0.93.0.ebuild
new file mode 100644
index 000000000000..32fa823892b2
--- /dev/null
+++ b/gnome-extra/gnome-network-displays/gnome-network-displays-0.93.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..13} )
+inherit gnome.org gnome2-utils meson python-any-r1 xdg
+
+DESCRIPTION="Stream the desktop to Wi-Fi Display capable devices"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-network-displays"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="firewalld test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/glib:2
+ gnome-base/gnome-desktop:3
+ media-libs/gst-rtsp-server
+ media-libs/libpulse[glib]
+ media-plugins/gst-plugins-faac
+ media-plugins/gst-plugins-x264
+ media-plugins/gst-plugins-ximagesrc
+ >=gui-libs/gtk-4
+ >=net-misc/networkmanager-1.16.0[wifi]
+ >=dev-libs/libportal-0.7[gtk]
+ >=gui-libs/libadwaita-1
+ net-dns/avahi[introspection]
+ net-dns/dnsmasq
+ net-wireless/wpa_supplicant[p2p]
+ sys-apps/xdg-desktop-portal[screencast(+)]
+ firewalld? ( net-firewall/firewalld )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ sys-devel/gettext
+ virtual/pkgconfig
+ dev-libs/protobuf-c
+ test? (
+ dev-libs/appstream-glib
+ dev-util/desktop-file-utils
+ )
+"
+
+DOCS=( README.md )
+
+src_prepare() {
+ default
+ # https://gitlab.gnome.org/GNOME/gnome-network-displays/-/issues/272
+ sed -i -e "s/args: \['validate'/args: \['--nonet', 'validate'/" \
+ data/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use firewalld firewalld_zone)
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}