diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-06 15:25:51 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-06 16:10:03 +0200 |
commit | 41721e6c6ef5dd7529d0e376e8ed77a916b4b51e (patch) | |
tree | c4ba9865f9297c67d1f2d5d9ab4f5ed513b5ab94 | |
parent | kde-plasma/kscreen: 5.21.4 version bump (diff) | |
download | gentoo-41721e6c6ef5dd7529d0e376e8ed77a916b4b51e.tar.gz gentoo-41721e6c6ef5dd7529d0e376e8ed77a916b4b51e.tar.bz2 gentoo-41721e6c6ef5dd7529d0e376e8ed77a916b4b51e.zip |
kde-plasma/kscreenlocker: 5.21.4 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | kde-plasma/kscreenlocker/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kscreenlocker/kscreenlocker-5.21.4.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest index 3d0b23039d00..0b56c2a8c5ef 100644 --- a/kde-plasma/kscreenlocker/Manifest +++ b/kde-plasma/kscreenlocker/Manifest @@ -1,2 +1,3 @@ DIST kscreenlocker-5.20.5.tar.xz 115988 BLAKE2B 7a051bea3952da85c272e32bb0c04c94bd0eb5fa52e01e90d9ce7d2902b3e3fca97ae7a6ee2c0994fa775309e62c7b7f0ba8b6634f04188370809cef7142835b SHA512 0993013374b91a34fd9ff204012f83f63a4ffcde9c6562ae0f7544fce78f5d526ad0104154ad5a104742df77d77b2267290c451cf90b1931ad1b36254e2b7ec6 DIST kscreenlocker-5.21.3.tar.xz 117304 BLAKE2B 0cb2cb55b7c1cec3adfd0e782addd005fc378d9004f5dae8a4cefed0d1c4c7cfc8c4c462bbd447b98e10aacf8cc7bba822cffe1d5d15ed2996aafa090b3db5b0 SHA512 9a97bd041cc88e47ebfbacf25a57c3050a1afd867f0926f1bf435e0c88885c38252247a35b2c7e7aa067ff7eaf653deebc18b7befd3dc02c30324bc714f4bb7d +DIST kscreenlocker-5.21.4.tar.xz 117284 BLAKE2B 8e8c6ac5637c4c0a6953633c9ea257d07e892d3c3ee1b104354fe0caf47a1ed87a5f11b717e1913641340536408140fb1cbde039bd801e2fae6372aa11d3bf5a SHA512 6c47e074f7acd3b1de22c64eecf0659ec347ce9e37cc42487e7b6ae81470f06513492a5d9f6e09083830e486c274fec222e59e1a8a83fe97fa8ebdc156df0f37 diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.21.4.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.21.4.ebuild new file mode 100644 index 000000000000..b1c7212ccfc3 --- /dev/null +++ b/kde-plasma/kscreenlocker/kscreenlocker-5.21.4.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="forceoptional" +KFMIN=5.78.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.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 ~arm ~arm64 ~ppc64 ~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 + 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 +" + +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 +} |