summaryrefslogtreecommitdiff
path: root/kde-plasma/plasma-login-sessions
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-16 04:04:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-16 04:04:29 +0100
commit61a1cada8ceb208845fa604b982216b0a7b099cb (patch)
treed91d334e3ed29648631d4c04be64001120d48e44 /kde-plasma/plasma-login-sessions
parent45392c898b8ba163e95028bd98896e77f0c73806 (diff)
gentoo auto-resync : 16:10:2024 - 04:04:29
Diffstat (limited to 'kde-plasma/plasma-login-sessions')
-rw-r--r--kde-plasma/plasma-login-sessions/Manifest3
-rw-r--r--kde-plasma/plasma-login-sessions/metadata.xml12
-rw-r--r--kde-plasma/plasma-login-sessions/plasma-login-sessions-6.2.1.ebuild44
3 files changed, 59 insertions, 0 deletions
diff --git a/kde-plasma/plasma-login-sessions/Manifest b/kde-plasma/plasma-login-sessions/Manifest
new file mode 100644
index 000000000000..da347c31f3ab
--- /dev/null
+++ b/kde-plasma/plasma-login-sessions/Manifest
@@ -0,0 +1,3 @@
+DIST plasma-workspace-6.2.1.tar.xz 19134384 BLAKE2B ddb46e2f8df5c79006709f94166ad16c29bb1f3b45b632a9f854e3136803b93f24b8df786132b3293bc25c5f3a6cf85d17bd8e4a0f19b25e5990e98178253458 SHA512 8f5971b2e9da44d6beb9b0ad92e99907cbc7b78f3df207fd96378baaa19a1cf55ec36505e7223fef5c14c56585880924901a7200a2c4e67495996a5e07ca7a50
+EBUILD plasma-login-sessions-6.2.1.ebuild 942 BLAKE2B 43cf82ecc78f0864a28a4f47d516c410a95bc6c6f596d069fdd73097af0b5143ac49dc89557f218ff50dfdd087a2b8833507504c59f4b7e54f776f310a58add1 SHA512 5072cb313c5c7d440f78f0108df5a5da8bea380c1b0c787c319343f8b284c2ec1145bb467a82f20a1feedb5e51a760e016cb35b983b6c9f91dafa44259847a04
+MISC metadata.xml 452 BLAKE2B 4a276066bc248be87a46e215b2dfde48c789347624412648df78425e840f48ba85b58d5cbff2a93876a389aa60973fef9f797b99f229e55a6410a7be2c0ae238 SHA512 2f1b5fdd8eb07a1ac3c541712e01eef46e20ade5d6aacc77bfdaf299707b4aaa4204cf1d715b47d67a707dadc0d1fe15e83aad3cf5b92dbfb57de88c85082ae9
diff --git a/kde-plasma/plasma-login-sessions/metadata.xml b/kde-plasma/plasma-login-sessions/metadata.xml
new file mode 100644
index 000000000000..c8b1c7096b18
--- /dev/null
+++ b/kde-plasma/plasma-login-sessions/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <use>
+ <flag name="wayland">Install Wayland session file for Display Managers</flag>
+ <flag name="X">Install X11 session file for Display Managers (default is Wayland if both enabled)</flag>
+ </use>
+</pkgmetadata>
diff --git a/kde-plasma/plasma-login-sessions/plasma-login-sessions-6.2.1.ebuild b/kde-plasma/plasma-login-sessions/plasma-login-sessions-6.2.1.ebuild
new file mode 100644
index 000000000000..3e01f1ac5e7b
--- /dev/null
+++ b/kde-plasma/plasma-login-sessions/plasma-login-sessions-6.2.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 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="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+wayland X"
+
+REQUIRED_USE="|| ( wayland X )"
+
+RDEPEND="!<kde-plasma/plasma-workspace-6.2.1"
+
+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
+}