diff options
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r-- | kde-plasma/kscreenlocker/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kscreenlocker/kscreenlocker-5.7.3.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index 89c837573f8a..937e63c98553 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1,2 +1,3 @@ DIST kscreenlocker-5.6.5.tar.xz 104236 SHA256 c6f0befcd230ec58f2994cad8c2f322f223e7422cfe33e641c664938e7960b06 SHA512 70d53e51f03913a80dbb33aec155d0cd94801157fd5db1c7706d0ffe430efc82963811045326091e7e2166cb03552f698a247012394b3b20f2d299530bec1272 WHIRLPOOL cc6a8e7625db2f762cc103232e03a3a97baf704350a2bdc68c6967f37dbaf8ed2527a09e509733624da15875b6277b6384a69c5ab8dbbf6835649cd08c89db99 DIST kscreenlocker-5.7.2.tar.xz 102916 SHA256 8d0e1a7beee1e36cb1593867f476ed1471300546f7f651982f58aca20f738ab0 SHA512 d985843a76bf0e0c7a820d6e9849137f6df39755942b24f2776e35dd751d5d66d7b033202747f417842da0c5695bb22a23c717e7e8586fb17a1fbb2a02c1527d WHIRLPOOL 8c41be515f6867d36bb0791e0573484ae4c3d0bbe1b888d014045b50d325de83cac12e35254c03f88d00e90ae262eff287c8ed20ad40b36724430415323dcd05 +DIST kscreenlocker-5.7.3.tar.xz 102916 SHA256 b370bc3282d69d2f12adc16276ea70846fe85e50f8920e5ead45445a8162dff6 SHA512 10c8e25a1627be4184fe6d2705b05544d48eeb5b32932944d74c7ba637ba3ccf349644940e3bdbed55e6ad9c8c1de3d1b481f0adc43209a048857e693586b3f8 WHIRLPOOL 455c30567709c014244401bc3c17e72f9e12c58b4395caaa98ce076a380a8d5e22c2cd5a1b00cc2a836708708f55eb256f8dced260d374f92591acf9b092e7a2 diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.7.3.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.7.3.ebuild new file mode 100644 index 000000000000..27551e078b0e --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.7.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_TEST="forceoptional" +VIRTUALX_REQUIRED="test" +inherit kde5 pam + +DESCRIPTION="Library and components for secure lock screen architecture" +KEYWORDS="~amd64 ~arm ~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 kglobalaccel) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kidletime) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep kpackage) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwayland) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep solid) + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative 'widgets') + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + dev-libs/wayland + 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:0 + !<kde-plasma/plasma-workspace-5.4.50 +" + +RESTRICT="test" + +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 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 +} |