Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-network-displays/
Date: Sun, 30 Oct 2022 13:10:30
Message-Id: 1667135414.04b4d28193c3866ea9584cbc2d4cdac5bbf55304.pacho@gentoo
1 commit: 04b4d28193c3866ea9584cbc2d4cdac5bbf55304
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 30 13:08:52 2022 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 30 13:10:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04b4d281
7
8 gnome-extra/gnome-network-displays: Fix tests and call EPYTHON
9
10 Closes: https://bugs.gentoo.org/878599
11 Closes: https://bugs.gentoo.org/878601
12 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
13
14 .../gnome-network-displays-0.90.5.ebuild | 20 ++++++++++++++++----
15 1 file changed, 16 insertions(+), 4 deletions(-)
16
17 diff --git a/gnome-extra/gnome-network-displays/gnome-network-displays-0.90.5.ebuild b/gnome-extra/gnome-network-displays/gnome-network-displays-0.90.5.ebuild
18 index b0daf152a1a2..d8d6653a52a5 100644
19 --- a/gnome-extra/gnome-network-displays/gnome-network-displays-0.90.5.ebuild
20 +++ b/gnome-extra/gnome-network-displays/gnome-network-displays-0.90.5.ebuild
21 @@ -2,7 +2,8 @@
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=8
25 -inherit gnome.org gnome2-utils meson xdg
26 +PYTHON_COMPAT=( python3_{8..11} )
27 +inherit gnome.org gnome2-utils meson python-any-r1 xdg
28
29 DESCRIPTION="Stream the desktop to Wi-Fi Display capable devices"
30 HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-network-displays"
31 @@ -10,7 +11,8 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-network-displays"
32 LICENSE="GPL-3+"
33 SLOT="0"
34 KEYWORDS="~amd64"
35 -IUSE="firewalld"
36 +IUSE="firewalld test"
37 +RESTRICT="!test? ( test )"
38
39 RDEPEND="
40 dev-libs/glib:2
41 @@ -29,14 +31,24 @@ RDEPEND="
42 "
43 DEPEND="${RDEPEND}"
44 BDEPEND="
45 - dev-libs/appstream-glib
46 - dev-util/desktop-file-utils
47 + ${PYTHON_DEPS}
48 sys-devel/gettext
49 virtual/pkgconfig
50 + test? (
51 + dev-libs/appstream-glib
52 + dev-util/desktop-file-utils
53 + )
54 "
55
56 DOCS=( README.md )
57
58 +src_prepare() {
59 + default
60 + # https://gitlab.gnome.org/GNOME/gnome-network-displays/-/issues/272
61 + sed -i -e "s/args: \['validate'/args: \['--nonet', 'validate'/" \
62 + data/meson.build || die
63 +}
64 +
65 src_configure() {
66 local emesonargs=(
67 $(meson_use firewalld firewalld_zone)