summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-11-11 13:55:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-11 15:21:12 +0100
commit76d44c95632b0d14e0e455f5eb33f18784ecec19 (patch)
tree2e4a90b6300d5dabc050a514889160a0c5b27a5d /kde-plasma/kscreenlocker
parentkde-plasma/kscreen: 5.20.3 version bump (diff)
downloadgentoo-76d44c95632b0d14e0e455f5eb33f18784ecec19.tar.gz
gentoo-76d44c95632b0d14e0e455f5eb33f18784ecec19.tar.bz2
gentoo-76d44c95632b0d14e0e455f5eb33f18784ecec19.zip
kde-plasma/kscreenlocker: 5.20.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r--kde-plasma/kscreenlocker/Manifest1
-rw-r--r--kde-plasma/kscreenlocker/kscreenlocker-5.20.3.ebuild93
2 files changed, 94 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest
index 021dbb3ef5ad..955074ba1070 100644
--- a/kde-plasma/kscreenlocker/Manifest
+++ b/kde-plasma/kscreenlocker/Manifest
@@ -1,2 +1,3 @@
DIST kscreenlocker-5.19.5.tar.xz 126420 BLAKE2B bef083f6ffaa7930446a234c35d628ffe81c187718be48ee3158b50d5eaf7b5989abda1d3f23a275cff5b949d101cc43e4819bc44b300674681b4233bcbf1f1b SHA512 aa112b28374e2ccfa257d161d47de96ba8a884dbf6cdc59be9dac3624e49472aad7ee0f413e63c9a001969b7e0413d2571e19f39e232e46cefe112fb7f880eda
DIST kscreenlocker-5.20.2.tar.xz 114700 BLAKE2B 6b0b24b90471eb6394af337b45489b720b622e35e2136d144bc0962df5de0076b0b0993401200130fdeb9f9b56a66cf8d1d9d6ef358bcf9c7161a7b1e987f806 SHA512 30b21660beb8c779e49bf5402baf064f3bd55bd84fbdf4974e037dcebc41d4ca1c4fa4d440a92de47ddda7317d1734f3cd876a1f06405cda1fd3428e588b7529
+DIST kscreenlocker-5.20.3.tar.xz 115308 BLAKE2B 7d4675caa5b347e55e15f7ca67919b61c48e6c5c5ec1cc50293a67f96e44aa04ebec465caf5d302b67f060790b178cf8d72fba7d2e05e3fadeef48910d9ccee4 SHA512 dc2b984ed65c167341d7ad60dda490a8889abf47a2f09190ca4e827786e7d1c9c550285e47056dd59d2d4b18f15b21b970ea8e107249bb6d77734a6a2093f721
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.20.3.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.20.3.ebuild
new file mode 100644
index 000000000000..055daeafa7c7
--- /dev/null
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.20.3.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="forceoptional"
+KFMIN=5.74.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.1
+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 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="+pam"
+
+COMMON_DEPEND="
+ dev-libs/wayland
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtx11extras-${QTMIN}: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/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
+ pam? ( sys-libs/pam )
+"
+DEPEND="${COMMON_DEPEND}
+ x11-base/xorg-proto
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+"
+PDEPEND="
+ >=kde-plasma/kde-cli-tools-${PVCUT}:5
+"
+
+RESTRICT+=" test"
+
+src_prepare() {
+ ecm_src_prepare
+ use test || cmake_run_in greeter cmake_comment_add_subdirectory autotests
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DPAM_REQUIRED=$(usex pam)
+ $(cmake_use_find_package pam PAM)
+ )
+ ecm_src_configure
+}
+
+src_test() {
+ # requires running environment
+ local myctestargs=(
+ -E x11LockerTest
+ )
+ ecm_src_test
+}
+
+src_install() {
+ ecm_src_install
+
+ if use pam; then
+ newpamd "${FILESDIR}/kde.pam" kde
+ newpamd "${FILESDIR}/kde-np.pam" kde-np
+ else
+ chown root "${ED}"/usr/$(get_libdir)/libexec/kcheckpass || die
+ chmod +s "${ED}"/usr/$(get_libdir)/libexec/kcheckpass || die
+ fi
+}