summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Ganguin <ganguin@gmail.com>2022-01-30 19:09:04 -0800
committerZac Medico <zmedico@gentoo.org>2022-01-30 19:18:48 -0800
commita8bcf7b3e7441cb5658164ffb9dbc608d315dbf8 (patch)
treec6b10d28239f3894415cb99cca0e0e44457758f1 /sys-apps
parentmedia-libs/codec2: replace -Os with -O2 (diff)
downloadgentoo-a8bcf7b3e7441cb5658164ffb9dbc608d315dbf8.tar.gz
gentoo-a8bcf7b3e7441cb5658164ffb9dbc608d315dbf8.tar.bz2
gentoo-a8bcf7b3e7441cb5658164ffb9dbc608d315dbf8.zip
sys-apps/flatpak: add X USE flag
Closes: https://bugs.gentoo.org/832071 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/flatpak/flatpak-1.12.3.ebuild10
-rw-r--r--sys-apps/flatpak/flatpak-1.12.4.ebuild10
2 files changed, 12 insertions, 8 deletions
diff --git a/sys-apps/flatpak/flatpak-1.12.3.ebuild b/sys-apps/flatpak/flatpak-1.12.3.ebuild
index d7ffb56ac3bc..c7dd25ec5686 100644
--- a/sys-apps/flatpak/flatpak-1.12.3.ebuild
+++ b/sys-apps/flatpak/flatpak-1.12.3.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://flatpak.org/"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-IUSE="doc gtk kde introspection policykit seccomp systemd"
+IUSE="doc gtk kde introspection policykit seccomp systemd X"
RESTRICT+=" test"
RDEPEND="
@@ -38,9 +38,11 @@ RDEPEND="
sys-apps/dbus
>=sys-fs/fuse-2.9.9:0=
sys-apps/xdg-dbus-proxy
- x11-apps/xauth
+ X? (
+ x11-apps/xauth
+ x11-libs/libXau:=
+ )
x11-libs/gdk-pixbuf:2=
- x11-libs/libXau:=
policykit? ( >=sys-auth/polkit-0.98:= )
seccomp? ( sys-libs/libseccomp:= )
systemd? ( sys-apps/systemd:= )
@@ -86,10 +88,10 @@ src_prepare() {
src_configure() {
local myeconfargs=(
--enable-sandboxed-triggers
- --enable-xauth
--localstatedir="${EPREFIX}"/var
--with-system-bubblewrap
--with-system-dbus-proxy
+ $(use_enable X xauth)
$(use_enable doc documentation)
$(use_enable doc gtk-doc)
$(use_enable introspection)
diff --git a/sys-apps/flatpak/flatpak-1.12.4.ebuild b/sys-apps/flatpak/flatpak-1.12.4.ebuild
index fcab58d20289..1d0d55b00eda 100644
--- a/sys-apps/flatpak/flatpak-1.12.4.ebuild
+++ b/sys-apps/flatpak/flatpak-1.12.4.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://flatpak.org/"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="doc gtk kde introspection policykit seccomp systemd"
+IUSE="doc gtk kde introspection policykit seccomp systemd X"
RESTRICT+=" test"
RDEPEND="
@@ -38,9 +38,11 @@ RDEPEND="
sys-apps/dbus
>=sys-fs/fuse-2.9.9:0=
sys-apps/xdg-dbus-proxy
- x11-apps/xauth
+ X? (
+ x11-apps/xauth
+ x11-libs/libXau:=
+ )
x11-libs/gdk-pixbuf:2=
- x11-libs/libXau:=
policykit? ( >=sys-auth/polkit-0.98:= )
seccomp? ( sys-libs/libseccomp:= )
systemd? ( sys-apps/systemd:= )
@@ -86,10 +88,10 @@ src_prepare() {
src_configure() {
local myeconfargs=(
--enable-sandboxed-triggers
- --enable-xauth
--localstatedir="${EPREFIX}"/var
--with-system-bubblewrap
--with-system-dbus-proxy
+ $(use_enable X xauth)
$(use_enable doc documentation)
$(use_enable doc gtk-doc)
$(use_enable introspection)