commit:     07fc4a88338665074a6bd6828e763fd2fd15ce5a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  4 22:35:21 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jan  9 20:18:22 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fc4a88

kde-plasma/kscreenlocker: Add missing RDEPEND and PDEPEND

kde-frameworks/kdeclarative for org.kde.kquickcontrolsaddons
  Upstream commits:
    c9025c9a4cd6396df231718d64d03a1a86bb3d0d (!)
    65f1447b6a4c24211cb182ca0225ebec8628a9cc

kde-plasma/plasma-workspace for org.kde.plasma.private.sessions
  ... using PDEPEND to avoid a circular dependency
  Upstream commit 54b296936cce74df82cea9a4eb337c7336e5d1dc (!)

See also:
https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/222

Bump QTMIN to 6.10.1 to help upgrades

Closes: https://bugs.gentoo.org/968165
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../kscreenlocker/kscreenlocker-6.5.4-r1.ebuild    | 70 ++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/kde-plasma/kscreenlocker/kscreenlocker-6.5.4-r1.ebuild 
b/kde-plasma/kscreenlocker/kscreenlocker-6.5.4-r1.ebuild
new file mode 100644
index 000000000000..0c4ec0b65700
--- /dev/null
+++ b/kde-plasma/kscreenlocker/kscreenlocker-6.5.4-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="forceoptional"
+KFMIN=6.18.0
+QTMIN=6.10.1
+inherit ecm plasma.kde.org pam xdg
+
+DESCRIPTION="Library and components for secure lock screen architecture"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="6"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE=""
+
+# requires running environment w/ RDEPENDs (circular dep w/ plasma-workspace)
+RESTRICT="test"
+
+# qtbase slot op: GuiPrivate use in greeter
+COMMON_DEPEND="
+       dev-libs/wayland
+       >=dev-qt/qtbase-${QTMIN}:6=[dbus,gui,network,widgets]
+       >=dev-qt/qtdeclarative-${QTMIN}:6
+       >=kde-frameworks/kcmutils-${KFMIN}:6
+       >=kde-frameworks/kconfig-${KFMIN}:6[qml]
+       >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+       >=kde-frameworks/kcoreaddons-${KFMIN}:6
+       >=kde-frameworks/kcrash-${KFMIN}:6
+       >=kde-frameworks/kglobalaccel-${KFMIN}:6
+       >=kde-frameworks/ki18n-${KFMIN}:6
+       >=kde-frameworks/kidletime-${KFMIN}:6
+       >=kde-frameworks/kio-${KFMIN}:6
+       >=kde-frameworks/knotifications-${KFMIN}:6
+       >=kde-frameworks/kpackage-${KFMIN}:6
+       >=kde-frameworks/ksvg-${KFMIN}:6
+       >=kde-frameworks/kwindowsystem-${KFMIN}:6
+       >=kde-frameworks/kxmlgui-${KFMIN}:6
+       >=kde-frameworks/solid-${KFMIN}:6
+       >=kde-plasma/layer-shell-qt-${KDE_CATV}:6
+       >=kde-plasma/libplasma-${KDE_CATV}:6
+       >=kde-plasma/libkscreen-${KDE_CATV}:6
+       sys-libs/pam
+       x11-libs/libX11
+       x11-libs/libXi
+       x11-libs/libxcb
+       x11-libs/xcb-util-keysyms
+"
+DEPEND="${COMMON_DEPEND}
+       x11-base/xorg-proto
+"
+RDEPEND="${COMMON_DEPEND}
+       >=kde-frameworks/kdeclarative-${KFMIN}:6
+       >=kde-frameworks/kirigami-${KFMIN}:6
+       >=kde-plasma/libplasma-${KDE_CATV}:6
+"
+BDEPEND="
+       dev-util/wayland-scanner
+       >=kde-frameworks/kcmutils-${KFMIN}:6
+"
+PDEPEND=">=kde-plasma/plasma-workspace-${KDE_CATV}:6"
+
+src_install() {
+       ecm_src_install
+
+       newpamd "${FILESDIR}/kde-r1.pam" kde
+       newpamd "${FILESDIR}/kde-fingerprint.pam" kde-fingerprint
+       newpamd "${FILESDIR}/kde-smartcard.pam" kde-smartcard
+}

Reply via email to