diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-06-14 10:23:52 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-06-14 14:43:05 +0200 |
commit | 7d7dd2339ebf2d6cfceb4ca387affbe509bf26f2 (patch) | |
tree | 6e33ab7e0d1e6ed3e9615e76d1e97a8f2c5d26e7 /kde-plasma/kscreenlocker | |
parent | kde-plasma/kscreen: 5.25.0 version bump (diff) | |
download | gentoo-7d7dd2339ebf2d6cfceb4ca387affbe509bf26f2.tar.gz gentoo-7d7dd2339ebf2d6cfceb4ca387affbe509bf26f2.tar.bz2 gentoo-7d7dd2339ebf2d6cfceb4ca387affbe509bf26f2.zip |
kde-plasma/kscreenlocker: 5.25.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r-- | kde-plasma/kscreenlocker/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kscreenlocker/kscreenlocker-5.25.0.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index fa2460c9f5a1..45fd5404ed36 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1 +1,2 @@ DIST kscreenlocker-5.24.5.tar.xz 119436 BLAKE2B 9a9885e683d474308feb82be9e33047f37ba1e9d127ce435e205d44311c5edc9ca1fae391858409058226a80e80a783852ca53e03800c0ddd74867681182a072 SHA512 c3252ead5f6cedece82ea94d88324b968938d0218ec05182f07fea85ead5ec451bc04bf417fc4f7a0f37aa56358caeb893175eae8cbb74ea748f843de9aaab83 +DIST kscreenlocker-5.25.0.tar.xz 112560 BLAKE2B f70f0b48891efdfab3b32fbf5e691971034da06188aab949e14ffb49b78e623aa8893a52fd5060ca4878da7e5f673bca71be1625d6ee61b861896be724a67e72 SHA512 9994f028d8e5c51b8fa9ec9621a0e59b1aa7a2223fe3ee0bc3fbc0954bc4fd2aa4ee97a6540efa77bc2f5170ef3c96d421d96b9beb5012ff0acdbfd203ae5d32 diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.25.0.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.25.0.ebuild new file mode 100644 index 000000000000..27071fa62a14 --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.25.0.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.94.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.3 +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 ~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[qml] + >=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 +} |