commit: 1a6fa659a609adbca78b9a65fa217e20b9abf6ea Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> AuthorDate: Fri Aug 14 13:32:44 2015 +0000 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> CommitDate: Fri Aug 14 13:32:44 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a6fa659
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 sys-auth/consolekit/consolekit-1.0.0.ebuild | 6 +++--- sys-auth/consolekit/metadata.xml | 1 + 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 43253be..9bce1e6 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 47e5fd7..37eb9aa 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>