1 |
commit: a8bcf7b3e7441cb5658164ffb9dbc608d315dbf8 |
2 |
Author: Michel Ganguin <ganguin <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jan 31 03:09:04 2022 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 31 03:18:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8bcf7b3 |
7 |
|
8 |
sys-apps/flatpak: add X USE flag |
9 |
|
10 |
Closes: https://bugs.gentoo.org/832071 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
sys-apps/flatpak/flatpak-1.12.3.ebuild | 10 ++++++---- |
15 |
sys-apps/flatpak/flatpak-1.12.4.ebuild | 10 ++++++---- |
16 |
2 files changed, 12 insertions(+), 8 deletions(-) |
17 |
|
18 |
diff --git a/sys-apps/flatpak/flatpak-1.12.3.ebuild b/sys-apps/flatpak/flatpak-1.12.3.ebuild |
19 |
index d7ffb56ac3bc..c7dd25ec5686 100644 |
20 |
--- a/sys-apps/flatpak/flatpak-1.12.3.ebuild |
21 |
+++ b/sys-apps/flatpak/flatpak-1.12.3.ebuild |
22 |
@@ -13,7 +13,7 @@ HOMEPAGE="https://flatpak.org/" |
23 |
LICENSE="LGPL-2.1+" |
24 |
SLOT="0" |
25 |
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" |
26 |
-IUSE="doc gtk kde introspection policykit seccomp systemd" |
27 |
+IUSE="doc gtk kde introspection policykit seccomp systemd X" |
28 |
RESTRICT+=" test" |
29 |
|
30 |
RDEPEND=" |
31 |
@@ -38,9 +38,11 @@ RDEPEND=" |
32 |
sys-apps/dbus |
33 |
>=sys-fs/fuse-2.9.9:0= |
34 |
sys-apps/xdg-dbus-proxy |
35 |
- x11-apps/xauth |
36 |
+ X? ( |
37 |
+ x11-apps/xauth |
38 |
+ x11-libs/libXau:= |
39 |
+ ) |
40 |
x11-libs/gdk-pixbuf:2= |
41 |
- x11-libs/libXau:= |
42 |
policykit? ( >=sys-auth/polkit-0.98:= ) |
43 |
seccomp? ( sys-libs/libseccomp:= ) |
44 |
systemd? ( sys-apps/systemd:= ) |
45 |
@@ -86,10 +88,10 @@ src_prepare() { |
46 |
src_configure() { |
47 |
local myeconfargs=( |
48 |
--enable-sandboxed-triggers |
49 |
- --enable-xauth |
50 |
--localstatedir="${EPREFIX}"/var |
51 |
--with-system-bubblewrap |
52 |
--with-system-dbus-proxy |
53 |
+ $(use_enable X xauth) |
54 |
$(use_enable doc documentation) |
55 |
$(use_enable doc gtk-doc) |
56 |
$(use_enable introspection) |
57 |
|
58 |
diff --git a/sys-apps/flatpak/flatpak-1.12.4.ebuild b/sys-apps/flatpak/flatpak-1.12.4.ebuild |
59 |
index fcab58d20289..1d0d55b00eda 100644 |
60 |
--- a/sys-apps/flatpak/flatpak-1.12.4.ebuild |
61 |
+++ b/sys-apps/flatpak/flatpak-1.12.4.ebuild |
62 |
@@ -13,7 +13,7 @@ HOMEPAGE="https://flatpak.org/" |
63 |
LICENSE="LGPL-2.1+" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
66 |
-IUSE="doc gtk kde introspection policykit seccomp systemd" |
67 |
+IUSE="doc gtk kde introspection policykit seccomp systemd X" |
68 |
RESTRICT+=" test" |
69 |
|
70 |
RDEPEND=" |
71 |
@@ -38,9 +38,11 @@ RDEPEND=" |
72 |
sys-apps/dbus |
73 |
>=sys-fs/fuse-2.9.9:0= |
74 |
sys-apps/xdg-dbus-proxy |
75 |
- x11-apps/xauth |
76 |
+ X? ( |
77 |
+ x11-apps/xauth |
78 |
+ x11-libs/libXau:= |
79 |
+ ) |
80 |
x11-libs/gdk-pixbuf:2= |
81 |
- x11-libs/libXau:= |
82 |
policykit? ( >=sys-auth/polkit-0.98:= ) |
83 |
seccomp? ( sys-libs/libseccomp:= ) |
84 |
systemd? ( sys-apps/systemd:= ) |
85 |
@@ -86,10 +88,10 @@ src_prepare() { |
86 |
src_configure() { |
87 |
local myeconfargs=( |
88 |
--enable-sandboxed-triggers |
89 |
- --enable-xauth |
90 |
--localstatedir="${EPREFIX}"/var |
91 |
--with-system-bubblewrap |
92 |
--with-system-dbus-proxy |
93 |
+ $(use_enable X xauth) |
94 |
$(use_enable doc documentation) |
95 |
$(use_enable doc gtk-doc) |
96 |
$(use_enable introspection) |