summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@gmx.de>2017-06-06 11:12:12 +0200
committerSven Eden <sven.eden@gmx.de>2017-06-06 11:12:12 +0200
commit0158e37f5f6469b7b8ce830cfdc1353a30975e4d (patch)
treea979ce5f407ded7bb4a9f1d6811cf67fac909e07
parentapp-admin/packagekit-base : need at least elogind-229.4 (diff)
downloadseden-0158e37f5f6469b7b8ce830cfdc1353a30975e4d.tar.gz
seden-0158e37f5f6469b7b8ce830cfdc1353a30975e4d.tar.bz2
seden-0158e37f5f6469b7b8ce830cfdc1353a30975e4d.zip
sys-apps/accountsservice-0.6.43-r4.ebuild : Minor fixes.
-rw-r--r--sys-apps/accountsservice/accountsservice-0.6.43-r4.ebuild18
1 files changed, 6 insertions, 12 deletions
diff --git a/sys-apps/accountsservice/accountsservice-0.6.43-r4.ebuild b/sys-apps/accountsservice/accountsservice-0.6.43-r4.ebuild
index f3aeb8d..a070d58 100644
--- a/sys-apps/accountsservice/accountsservice-0.6.43-r4.ebuild
+++ b/sys-apps/accountsservice/accountsservice-0.6.43-r4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id$
EAPI=6
+
inherit autotools gnome2 systemd
DESCRIPTION="D-Bus interfaces for querying and manipulating user account information"
@@ -15,16 +15,14 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc elogind +introspection selinux systemd"
-REQUIRED_USE="elogind? ( !systemd )
- systemd? ( !elogind )
-"
+REQUIRED_USE="?? ( elogind systemd )"
CDEPEND="
>=dev-libs/glib-2.37.3:2
sys-auth/polkit
introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
- elogind? ( >=sys-auth/elogind-219:0= )
systemd? ( >=sys-apps/systemd-186:0= )
+ elogind? ( sys-auth/elogind )
!systemd? ( !elogind? ( sys-auth/consolekit ) )
"
DEPEND="${CDEPEND}
@@ -44,18 +42,14 @@ RDEPEND="${CDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-0.6.35-gentoo-system-users.patch"
+ "${FILESDIR}/${P}-elogind.patch"
)
src_prepare() {
- if use elogind; then
- epatch "${FILESDIR}/${PN}-enable-elogind.patch" || die
- eautoreconf
- fi
-
default
+ eautoreconf
}
-
src_configure() {
gnome2_src_configure \
--disable-static \