summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-07-12 17:32:05 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-07-13 11:15:47 +0200
commitd1d350b43c963300eb62c6eed5de5cd9b6dbf037 (patch)
treecc324f720084f7e3eb72425fa8d3b6e93804dd06 /kde-plasma/kscreenlocker
parentkde-plasma/kscreen: 5.24.6 version bump (diff)
downloadgentoo-d1d350b43c963300eb62c6eed5de5cd9b6dbf037.tar.gz
gentoo-d1d350b43c963300eb62c6eed5de5cd9b6dbf037.tar.bz2
gentoo-d1d350b43c963300eb62c6eed5de5cd9b6dbf037.zip
kde-plasma/kscreenlocker: 5.24.6 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.24.6.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest
index 82a735d015b6..03565c7b99b1 100644
--- a/kde-plasma/kscreenlocker/Manifest
+++ b/kde-plasma/kscreenlocker/Manifest
@@ -1,2 +1,3 @@
DIST kscreenlocker-5.24.5.tar.xz 119436 BLAKE2B 9a9885e683d474308feb82be9e33047f37ba1e9d127ce435e205d44311c5edc9ca1fae391858409058226a80e80a783852ca53e03800c0ddd74867681182a072 SHA512 c3252ead5f6cedece82ea94d88324b968938d0218ec05182f07fea85ead5ec451bc04bf417fc4f7a0f37aa56358caeb893175eae8cbb74ea748f843de9aaab83
+DIST kscreenlocker-5.24.6.tar.xz 119480 BLAKE2B eb07d296d37ff6c120d6b83ef4824fe6bb90c4d0fd6a78ed82e2ecb545335fc74b3f032f9ad7500bc4d88431292e6dcd6a68175c9677519efce42c0ee8b5d1c0 SHA512 e7c05501ac6c2a7803b7c27638eef73629353e55cc1460a9830953a81d45af551074f91fc668873e66b6672dfef4264f69d44b84ab88bd44b06e102ed228022d
DIST kscreenlocker-5.25.2.tar.xz 112824 BLAKE2B c500de1ac83f26f4e282965df68fb7a78679ac3500abd01559c899c759d061db165dbc63ff9f8e0e3c9220aa46b61bb41ff736b4a401092bbaf6e2f5e37a3c07 SHA512 0a56ca34e62bcc42cbc889d329bdfcff2b4197cf39645da877d63dc5e6a3dd598799604c9e1e2b54cf840c84ada4ad61b533ca725e75a0b7493008235036fb7f
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.24.6.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.24.6.ebuild
new file mode 100644
index 000000000000..b7c1f0ceb1fb
--- /dev/null
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.24.6.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="forceoptional"
+KFMIN=5.92.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.4
+VIRTUALX_REQUIRED="test"
+inherit ecm plasma.kde.org pam
+
+DESCRIPTION="Library and components for secure lock screen architecture"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+pam"
+
+RESTRICT="test"
+
+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/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/kwayland-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+ >=kde-plasma/layer-shell-qt-${PVCUT}: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"
+BDEPEND="dev-util/wayland-scanner"
+
+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
+}