summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-12-09 03:15:30 +1100
committerMichael Palimaka <kensington@gentoo.org>2015-12-09 03:22:50 +1100
commit9ef59ada130055054b5d3e3441fae5384e7e86f7 (patch)
treef685f33d61d3e05acb821b70001f077d9b22fd8b /kde-plasma/kscreenlocker/kscreenlocker-5.5.0.ebuild
parentMerge remote-tracking branch 'remotes/zpuskas/kicad-4.0.0' (diff)
downloadgentoo-9ef59ada130055054b5d3e3441fae5384e7e86f7.tar.gz
gentoo-9ef59ada130055054b5d3e3441fae5384e7e86f7.tar.bz2
gentoo-9ef59ada130055054b5d3e3441fae5384e7e86f7.zip
kde-plasma: version bump 5.5.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'kde-plasma/kscreenlocker/kscreenlocker-5.5.0.ebuild')
-rw-r--r--kde-plasma/kscreenlocker/kscreenlocker-5.5.0.ebuild81
1 files changed, 81 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.5.0.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.5.0.ebuild
new file mode 100644
index 000000000000..cf4485c38962
--- /dev/null
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.5.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5 pam
+
+DESCRIPTION="Library and components for secure lock screen architecture"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="pam"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep kcmutils)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdeclarative)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep kglobalaccel)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kidletime)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep kpackage)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep plasma)
+ $(add_plasma_dep kwayland)
+ dev-libs/wayland
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5[widgets]
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libxcb
+ x11-libs/xcb-util-keysyms
+ pam? ( virtual/pam )
+"
+DEPEND="${COMMON_DEPEND}
+ x11-proto/xproto
+"
+RDEPEND="${COMMON_DEPEND}
+ $(add_plasma_dep kde-cli-tools)
+ !<kde-base/kcheckpass-4.11.22-r1:4
+ !kde-base/kdebase-pam:4
+ !<kde-plasma/plasma-workspace-5.4.50
+"
+
+PATCHES=( "${FILESDIR}/${PN}-5.4.90-no-SUID-no-GUID.patch" )
+
+src_prepare() {
+ kde5_src_prepare
+
+ use test || sed -i \
+ -e "/add_subdirectory(autotests)/ s/^/#/" greeter/CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package pam)
+ )
+ kde5_src_configure
+}
+
+src_install() {
+ kde5_src_install
+
+ newpamd "${FILESDIR}/kde.pam" kde
+ newpamd "${FILESDIR}/kde-np.pam" kde-np
+
+ if ! use pam; then
+ chown root "${ED}"usr/$(get_libdir)/libexec/kcheckpass || die
+ chmod +s "${ED}"usr/$(get_libdir)/libexec/kcheckpass || die
+ fi
+}