From 2ab07dc8fcb3b8f9410abd584d110a9102a1028f Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Sun, 16 Feb 2020 19:29:05 +0200 Subject: [PATCH] gnome-extra/nm-applet: control libnm-glib dependency via 'gtk' IUSE Signed-off-by: Joonas Niilola Signed-off-by: Matt Turner --- gnome-extra/nm-applet/nm-applet-1.8.24.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnome-extra/nm-applet/nm-applet-1.8.24.ebuild b/gnome-extra/nm-applet/nm-applet-1.8.24.ebuild index 771cfea9634b..f8af43807f49 100644 --- a/gnome-extra/nm-applet/nm-applet-1.8.24.ebuild +++ b/gnome-extra/nm-applet/nm-applet-1.8.24.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" LICENSE="GPL-2+" SLOT="0" -IUSE="ayatana +introspection +gcr +modemmanager selinux teamd" +IUSE="ayatana gtk +introspection +gcr +modemmanager selinux teamd" KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~sparc x86" RDEPEND=" @@ -32,6 +32,7 @@ RDEPEND=" ayatana? ( dev-libs/libappindicator:3 >=dev-libs/libdbusmenu-16.04.0 ) + gtk? ( ~net-misc/networkmanager-1.18.4 ) introspection? ( >=dev-libs/gobject-introspection-0.9.6:= ) virtual/freedesktop-icon-theme gcr? ( >=app-crypt/gcr-3.14:=[gtk] ) @@ -50,7 +51,7 @@ PDEPEND="virtual/notification-daemon" #546134 src_configure() { local myconf=( --with-appindicator=$(usex ayatana ubuntu no) - --with-libnm-gtk + $(use_with gtk libnm-gtk) --without-libnma-gtk4 --disable-lto --disable-ld-gc -- 2.26.2