summaryrefslogtreecommitdiff
path: root/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild')
-rw-r--r--kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
index 7e05bd42d24..8fa1d15952a 100644
--- a/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
+++ b/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,7 +9,7 @@ inherit kde5 pam
DESCRIPTION="Library and components for secure lock screen architecture"
KEYWORDS=""
-IUSE="+pam seccomp"
+IUSE="consolekit +pam seccomp"
REQUIRED_USE="seccomp? ( pam )"
@@ -41,6 +41,7 @@ COMMON_DEPEND="
x11-libs/libXi
x11-libs/libxcb
x11-libs/xcb-util-keysyms
+ consolekit? ( sys-auth/consolekit )
pam? ( virtual/pam )
seccomp? ( sys-libs/libseccomp )
"
@@ -74,6 +75,7 @@ src_test() {
src_configure() {
local mycmakeargs=(
+ $(cmake-utils_use_find_package consolekit loginctl)
-DPAM_REQUIRED=$(usex pam)
$(cmake-utils_use_find_package pam PAM)
$(cmake-utils_use_find_package seccomp Seccomp)