summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-16 14:19:22 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-16 15:38:52 +0100
commit15ab7df1dbc728bc1909e6312621bb4623458de6 (patch)
tree269a9c034154e2efaae86b1b7d1c580408866cd1 /kde-plasma/kscreenlocker
parentkde-plasma/kscreen: 5.21.3 version bump (diff)
downloadgentoo-15ab7df1dbc728bc1909e6312621bb4623458de6.tar.gz
gentoo-15ab7df1dbc728bc1909e6312621bb4623458de6.tar.bz2
gentoo-15ab7df1dbc728bc1909e6312621bb4623458de6.zip
kde-plasma/kscreenlocker: 5.21.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.21.3.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/Manifest b/kde-plasma/kscreenlocker/Manifest
index a1c6b1cd95bb..bebfe161ef34 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.2.tar.xz 117288 BLAKE2B 6d810607448219616353eae5ddc716a038a1c9a854436afa9fc245205e8ed129f3d3ec4912d51aa2efc455c6c4e1520c57d1e25a640d3ad178df2fd8e0254d53 SHA512 022bcda634ad64145517ebda02fc28941efab5526f785d1f1168670c215b2a90fa8b8565f0f2343f9e3c0578722e74068977d61a22b52153d5afd062c09832e7
+DIST kscreenlocker-5.21.3.tar.xz 117304 BLAKE2B 0cb2cb55b7c1cec3adfd0e782addd005fc378d9004f5dae8a4cefed0d1c4c7cfc8c4c462bbd447b98e10aacf8cc7bba822cffe1d5d15ed2996aafa090b3db5b0 SHA512 9a97bd041cc88e47ebfbacf25a57c3050a1afd867f0926f1bf435e0c88885c38252247a35b2c7e7aa067ff7eaf653deebc18b7befd3dc02c30324bc714f4bb7d
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.21.3.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.21.3.ebuild
new file mode 100644
index 000000000000..b1c7212ccfc3
--- /dev/null
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.21.3.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
+}