summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2015-08-14 21:32:44 +0800
committerJason Zaman <perfinion@gentoo.org>2015-08-14 21:32:44 +0800
commit1a6fa659a609adbca78b9a65fa217e20b9abf6ea (patch)
tree4e3f4021b207f4d4fcfe499b2035100905e6376b /sys-auth
parentmedia-plugins/emotion_generic_players: Drop ~alpha since alpha team dropped s... (diff)
downloadgentoo-1a6fa659a609adbca78b9a65fa217e20b9abf6ea.tar.gz
gentoo-1a6fa659a609adbca78b9a65fa217e20b9abf6ea.tar.bz2
gentoo-1a6fa659a609adbca78b9a65fa217e20b9abf6ea.zip
sys-auth/consolekit: Make pm-utils optional
Added the pm-utils useflag which is default enabled. Gentoo-Bug: https://bugs.gentoo.org/557432 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/consolekit/consolekit-1.0.0.ebuild6
-rw-r--r--sys-auth/consolekit/metadata.xml1
2 files changed, 4 insertions, 3 deletions
diff --git a/sys-auth/consolekit/consolekit-1.0.0.ebuild b/sys-auth/consolekit/consolekit-1.0.0.ebuild
index 43253beefee4..9bce1e6a088e 100644
--- a/sys-auth/consolekit/consolekit-1.0.0.ebuild
+++ b/sys-auth/consolekit/consolekit-1.0.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.tar
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
-IUSE="acl cgroups debug doc kernel_linux pam policykit selinux test"
+IUSE="acl cgroups debug doc kernel_linux pam +pm-utils policykit selinux test"
COMMON_DEPEND=">=dev-libs/glib-2.40:2=
>=sys-devel/gettext-0.19
@@ -34,8 +34,8 @@ COMMON_DEPEND=">=dev-libs/glib-2.40:2=
policykit? ( >=sys-auth/polkit-0.110 )"
RDEPEND="${COMMON_DEPEND}
kernel_linux? ( sys-apps/coreutils[acl?] )
- selinux? ( sec-policy/selinux-consolekit )
- sys-power/pm-utils"
+ pm-utils? ( sys-power/pm-utils )
+ selinux? ( sec-policy/selinux-consolekit )"
DEPEND="${COMMON_DEPEND}
dev-libs/libxslt
virtual/pkgconfig
diff --git a/sys-auth/consolekit/metadata.xml b/sys-auth/consolekit/metadata.xml
index 47e5fd752138..37eb9aa59143 100644
--- a/sys-auth/consolekit/metadata.xml
+++ b/sys-auth/consolekit/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="cgroups">Use the kernel to track processes instead of the session cookie.</flag>
+ <flag name="pm-utils">Adds support for suspend/resume using <pkg>sys-power/pm-utils</pkg></flag>
<flag name="policykit">Use the PolicyKit framework (<pkg>sys-auth/polkit</pkg>) to get authorization for suspend/shutdown.</flag>
<flag name="systemd-units">Install systemd unit files to replace the modern functionality of logind in <pkg>sys-apps/systemd</pkg>. Not recommended.</flag>
</use>