diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-12-16 01:14:15 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-12-16 02:31:23 +1100 |
commit | e3eeda55533ee0564c283466854c25eab97a1678 (patch) | |
tree | 1b471207f3edb955d2145cdadaae6566cae419fc /kde-plasma/kscreenlocker | |
parent | dev-db/percona-server: Fix ebuild tests wrt bug 568328 (diff) | |
download | gentoo-e3eeda55533ee0564c283466854c25eab97a1678.tar.gz gentoo-e3eeda55533ee0564c283466854c25eab97a1678.tar.bz2 gentoo-e3eeda55533ee0564c283466854c25eab97a1678.zip |
kde-plasma: version bump 5.5.1
Package-Manager: portage-2.2.26
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r-- | kde-plasma/kscreenlocker/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kscreenlocker/kscreenlocker-5.5.1.ebuild | 90 |
2 files changed, 91 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index a85b0242db76..79da4b844ef3 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1 +1,2 @@ DIST kscreenlocker-5.5.0.tar.xz 97484 SHA256 c90ec7a1ec3b27c557df134a25b358c6a56cb155878bbb0870e912cca61fddd7 SHA512 452c87358638196bfdd8372b7df7b56fa9b036a750a7316528e5963222d93187f124f6ffb2cc4325a3a562eb6e8c190edf4f373c2fe803edab853c4c4027323f WHIRLPOOL ddc8afe7cc172766896e60a6ac5aa3dc7cf99929894d691440fe75e2772c499a2ea07da642b3dbb54cf28004f401a8fea47fe3226835ab456dc803d31f76b447 +DIST kscreenlocker-5.5.1.tar.xz 97432 SHA256 3a1850a8cfc210a6c0fdff56b34481577eb697aa40982208df102f1dd1e02418 SHA512 c8819740bed336ec7e254faac3f0e3d7e915a067a23dd6b45e5ca1b3861414cd65cc44fc1627d21b1c0c03fad0515f55c5b4ef4942481cea5c75f776efa5bbb8 WHIRLPOOL caeb03ffa0be42cafe63cb9ef4e213a1f3b4e2377c7352e86d3e532b7ada154b06e7828e113d0dc2d0d10acef11e42c88592c76a586f26e265778018f7192eeb diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.5.1.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.5.1.ebuild new file mode 100644 index 000000000000..e7165e171024 --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.5.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_TEST="forceoptional" +QT_MINIMAL="5.5.0" +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_test() { + # requires running environment + local myctestargs=( + -E x11LockerTest + ) + kde5_src_test +} + +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 +} |