commit: a4ab366c9fc409a5c985fce0920e88ea2770ca10
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 13 20:32:24 2026 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jan 13 20:35:56 2026 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=a4ab366c
kde-plasma/plasma-login-sessions: add 6.6.49.9999 stable branch
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../plasma-login-sessions-6.6.49.9999.ebuild | 49 ++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git
a/kde-plasma/plasma-login-sessions/plasma-login-sessions-6.6.49.9999.ebuild
b/kde-plasma/plasma-login-sessions/plasma-login-sessions-6.6.49.9999.ebuild
new file mode 100644
index 0000000000..74476c6bce
--- /dev/null
+++ b/kde-plasma/plasma-login-sessions/plasma-login-sessions-6.6.49.9999.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="false"
+ECM_I18N="false"
+KDE_ORG_NAME="${PN/login-sessions/workspace}"
+inherit ecm-common plasma.kde.org
+
+DESCRIPTION="KDE Plasma login sessions"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="6"
+KEYWORDS=""
+IUSE="+wayland X"
+
+REQUIRED_USE="|| ( wayland X )"
+
+RDEPEND="
+ !<kde-plasma/plasma-workspace-6.2.1
+ >=kde-plasma/plasma-workspace-${KDE_CATV}:6[X?]
+ wayland? ( kde-plasma/kwin:6 )
+ X? ( kde-plasma/kwin-x11:6 )
+"
+
+ecm-common_inject_heredoc() {
+ cat >> CMakeLists.txt <<- _EOF_ || die
+ add_subdirectory(login-sessions)
+ _EOF_
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DKDE_INSTALL_LIBEXECDIR=/usr/libexec # temp. workaround, bug
941502
+ -DPLASMA_X11_DEFAULT_SESSION=$(usex !wayland)
+ )
+ ecm-common_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ if ! use wayland; then
+ rm -rv "${ED}"/usr/share/wayland-sessions || die
+ fi
+ if ! use X; then
+ rm -rv "${ED}"/usr/share/xsessions || die
+ fi
+}