commit:     2508c4bd020fd3e96e6a57a435b26cbd7123d4f5
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 12 11:47:30 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 11:47:35 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=2508c4bd

kde-plasma/kscreenlocker: introduce seccomp USE flag

Upstream-commit: 5e3c7b337c9525f6b427c06f1814938b0a161db8
Package-Manager: Portage-2.3.6, Repoman-2.3.3

 kde-plasma/kscreenlocker/kscreenlocker-5.10.49.9999.ebuild | 4 +++-
 kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild         | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.10.49.9999.ebuild 
b/kde-plasma/kscreenlocker/kscreenlocker-5.10.49.9999.ebuild
index a606ecdaaf..99e072c03f 100644
--- a/kde-plasma/kscreenlocker/kscreenlocker-5.10.49.9999.ebuild
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.10.49.9999.ebuild
@@ -9,7 +9,7 @@ inherit kde5 pam
 
 DESCRIPTION="Library and components for secure lock screen architecture"
 KEYWORDS=""
-IUSE="+pam"
+IUSE="+pam seccomp"
 
 COMMON_DEPEND="
        $(add_frameworks_dep kcmutils)
@@ -40,6 +40,7 @@ COMMON_DEPEND="
        x11-libs/libxcb
        x11-libs/xcb-util-keysyms
        pam? ( virtual/pam )
+       seccomp? ( sys-libs/libseccomp )
 "
 DEPEND="${COMMON_DEPEND}
        x11-proto/xproto
@@ -71,6 +72,7 @@ src_configure() {
        local mycmakeargs=(
                -DPAM_REQUIRED=$(usex pam)
                $(cmake-utils_use_find_package pam PAM)
+               $(cmake-utils_use_find_package seccomp Seccomp)
        )
        kde5_src_configure
 }

diff --git a/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild 
b/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
index a606ecdaaf..99e072c03f 100644
--- a/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
+++ b/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
@@ -9,7 +9,7 @@ inherit kde5 pam
 
 DESCRIPTION="Library and components for secure lock screen architecture"
 KEYWORDS=""
-IUSE="+pam"
+IUSE="+pam seccomp"
 
 COMMON_DEPEND="
        $(add_frameworks_dep kcmutils)
@@ -40,6 +40,7 @@ COMMON_DEPEND="
        x11-libs/libxcb
        x11-libs/xcb-util-keysyms
        pam? ( virtual/pam )
+       seccomp? ( sys-libs/libseccomp )
 "
 DEPEND="${COMMON_DEPEND}
        x11-proto/xproto
@@ -71,6 +72,7 @@ src_configure() {
        local mycmakeargs=(
                -DPAM_REQUIRED=$(usex pam)
                $(cmake-utils_use_find_package pam PAM)
+               $(cmake-utils_use_find_package seccomp Seccomp)
        )
        kde5_src_configure
 }

Reply via email to