summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r--kde-plasma/kscreenlocker/Manifest1
-rw-r--r--kde-plasma/kscreenlocker/kscreenlocker-5.19.3.ebuild100
2 files changed, 101 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest
index 204e360a8c6b..f5177eb27155 100644
--- a/kde-plasma/kscreenlocker/Manifest
+++ b/kde-plasma/kscreenlocker/Manifest
@@ -1,2 +1,3 @@
DIST kscreenlocker-5.18.5.tar.xz 125144 BLAKE2B a4d4a570edbb6994eb42390c42a1193ebc7776c28483b9edb7ab4935c18be3e042459a9919216547a275e5c02794ac468364e1a65cfd62beb17a2f09b34cb659 SHA512 27e2e30c247b4030a618631f50edc8cbdbb26b51adb875a608f93fc4c0f4dff310819042a74170ff024b030dedda89c6a3a14b23aacfc5938db026adde225e47
DIST kscreenlocker-5.19.2.tar.xz 126260 BLAKE2B 4eeb7d5e40f0a978b162f76abeb4755edffe599e06f6ad9ee8e1f55fb42a59a5f3c29c1f24cf314694dbcdbb6e2a3d1ec989ef376870b72596d9fdd10599c6a8 SHA512 c82ca7c49180dd4528b257296579730e4edbc59ba1dee2f79195e45ddaf22b5e00ae003cff4896934c591ebab10b84517ef2896d511e7299db6119d3d41b4ae8
+DIST kscreenlocker-5.19.3.tar.xz 126328 BLAKE2B 42c99a6069889b259d0f523ca4c6df1feafa35217cc1944309395d11fb0e98ce50bab5a136808eb617ddda7a2844bf906d09bad130910d72b9ea12ac9cdb3226 SHA512 7499d3058395934703492a7f328a1684e47fad651f99b3ef644e0daa9d687be4dfcdf05263cdf3c09c3f0a3cdf49a2bba58c0d8b2c2449bce6e580e153bae892
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.19.3.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.19.3.ebuild
new file mode 100644
index 000000000000..0273c3819c40
--- /dev/null
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.19.3.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="forceoptional"
+KFMIN=5.71.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.14.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org pam
+
+DESCRIPTION="Library and components for secure lock screen architecture"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="consolekit +pam seccomp"
+
+REQUIRED_USE="seccomp? ( pam )"
+
+RDEPEND="
+ dev-libs/wayland
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5[widgets]
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kdeclarative-${KFMIN}:5
+ >=kde-frameworks/kglobalaccel-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kidletime-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kpackage-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwayland-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libxcb
+ x11-libs/xcb-util-keysyms
+ consolekit? ( sys-auth/consolekit )
+ pam? ( sys-libs/pam )
+ seccomp? ( sys-libs/libseccomp )
+"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto
+"
+PDEPEND="
+ >=kde-plasma/kde-cli-tools-${PVCUT}:5
+"
+
+RESTRICT+=" test"
+
+src_prepare() {
+ ecm_src_prepare
+
+ if ! use test; then
+ sed -e "/add_subdirectory(autotests)/ s/^/#/" \
+ -i greeter/CMakeLists.txt || die
+ fi
+}
+
+src_test() {
+ # requires running environment
+ local myctestargs=(
+ -E x11LockerTest
+ )
+ ecm_src_test
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package consolekit loginctl)
+ -DPAM_REQUIRED=$(usex pam)
+ $(cmake_use_find_package pam PAM)
+ $(cmake_use_find_package seccomp Seccomp)
+ )
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+
+ use pam && newpamd "${FILESDIR}/kde.pam" kde
+ use pam && 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
+}