summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-05-27 12:48:47 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-05-27 17:08:10 +0200
commit17287aa7d5aa639964c529c6ed08f9bcee2e172d (patch)
tree4682a7d5cd91639cd33f5cc0f61f64668858ab72 /net-misc/networkmanager
parentkde-apps/kdebase-runtime-meta: Add kde-frameworks/kwallet alt. RDEPEND (diff)
downloadgentoo-17287aa7d5aa639964c529c6ed08f9bcee2e172d.tar.gz
gentoo-17287aa7d5aa639964c529c6ed08f9bcee2e172d.tar.bz2
gentoo-17287aa7d5aa639964c529c6ed08f9bcee2e172d.zip
net-misc/networkmanager: Add USE=elogind
Gentoo-bug: 607352 Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'net-misc/networkmanager')
-rw-r--r--net-misc/networkmanager/metadata.xml1
-rw-r--r--net-misc/networkmanager/networkmanager-1.8.0.ebuild12
2 files changed, 8 insertions, 5 deletions
diff --git a/net-misc/networkmanager/metadata.xml b/net-misc/networkmanager/metadata.xml
index 5603207a6719..734ee56b37e8 100644
--- a/net-misc/networkmanager/metadata.xml
+++ b/net-misc/networkmanager/metadata.xml
@@ -16,6 +16,7 @@
tracking</flag>
<flag name="dhclient">Use dhclient from <pkg>net-misc/dhcp</pkg> for
getting ip</flag>
+ <flag name="elogind">Use <pkg>sys-auth/elogind</pkg> for session tracking</flag>
<flag name="json">Enable JSON validation via <pkg>dev-libs/jansson</pkg>
in libnm.</flag>
<flag name="modemmanager">Enable support for mobile broadband devices
diff --git a/net-misc/networkmanager/networkmanager-1.8.0.ebuild b/net-misc/networkmanager/networkmanager-1.8.0.ebuild
index 32c1d37225a7..ba6cd27f53fb 100644
--- a/net-misc/networkmanager/networkmanager-1.8.0.ebuild
+++ b/net-misc/networkmanager/networkmanager-1.8.0.ebuild
@@ -16,15 +16,16 @@ HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
LICENSE="GPL-2+"
SLOT="0" # add subslot if libnm-util.so.2 or libnm-glib.so.4 bumps soname version
-IUSE="audit bluetooth connection-sharing consolekit +dhclient gnutls +introspection \
-json kernel_linux +nss +modemmanager ncurses ofono +ppp resolvconf selinux \
-systemd teamd test vala +wext +wifi"
+IUSE="audit bluetooth connection-sharing consolekit +dhclient elogind gnutls \
++introspection json kernel_linux +nss +modemmanager ncurses ofono +ppp resolvconf \
+selinux systemd teamd test vala +wext +wifi"
REQUIRED_USE="
modemmanager? ( ppp )
vala? ( introspection )
wext? ( wifi )
^^ ( nss gnutls )
+ ?? ( consolekit elogind systemd )
"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
@@ -51,6 +52,7 @@ COMMON_DEPEND="
net-firewall/iptables )
consolekit? ( >=sys-auth/consolekit-1.0.0 )
dhclient? ( >=net-misc/dhcp-4[client] )
+ elogind? ( sys-auth/elogind )
gnutls? (
dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}]
>=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}] )
@@ -193,8 +195,8 @@ multilib_src_configure() {
--with-iptables=/sbin/iptables
$(multilib_native_enable concheck)
--with-crypto=$(usex nss nss gnutls)
- --with-session-tracking=$(multilib_native_usex systemd systemd $(multilib_native_usex consolekit consolekit no))
- --with-suspend-resume=$(multilib_native_usex systemd systemd consolekit)
+ --with-session-tracking=$(multilib_native_usex systemd systemd $(multilib_native_usex elogind elogind $(multilib_native_usex consolekit consolekit no)))
+ --with-suspend-resume=$(multilib_native_usex systemd systemd $(multilib_native_usex elogind elogind consolekit))
$(multilib_native_use_with audit libaudit)
$(multilib_native_use_enable bluetooth bluez5-dun)
$(multilib_native_use_enable introspection)