]> Freerunner's - freerunner_g.git/commitdiff
kde-apps/plasma-zones
authorAndre Ramnitz <andre.ramnitz@mail.de>
Mon, 1 Jun 2026 15:49:30 +0000 (17:49 +0200)
committerAndre Ramnitz <andre.ramnitz@mail.de>
Mon, 1 Jun 2026 15:49:30 +0000 (17:49 +0200)
kde-apps/plasma-zones/Manifest [new file with mode: 0644]
kde-apps/plasma-zones/files/plasma-zones.initd [new file with mode: 0755]
kde-apps/plasma-zones/metadata.xml [new file with mode: 0644]
kde-apps/plasma-zones/plasma-zones-3.0.15-r1.ebuild [new file with mode: 0644]
kde-apps/plasma-zones/plasma-zones-3.0.15.ebuild [new file with mode: 0644]

diff --git a/kde-apps/plasma-zones/Manifest b/kde-apps/plasma-zones/Manifest
new file mode 100644 (file)
index 0000000..f4f08fc
--- /dev/null
@@ -0,0 +1 @@
+DIST plasma-zones-3.0.15.tar.gz 118466462 BLAKE2B a60a9ec155d33606544f7926cb483e1adede74ed2773181898fd0354a2f74852e49a6f90d878265297d7ea3bb547b101c7be73649acc68956695d1c7c45eb2ce SHA512 54abe833c0490458dc65a74c7911bd14fa2824aabb72bc124459ba6b6f078a3db529f830340ca744d8e1af94b80e9de81e3900cdb90782b3ad57e419fa0bfd6a
diff --git a/kde-apps/plasma-zones/files/plasma-zones.initd b/kde-apps/plasma-zones/files/plasma-zones.initd
new file mode 100755 (executable)
index 0000000..b520f90
--- /dev/null
@@ -0,0 +1,21 @@
+#!/sbin/openrc-run
+
+description="Tiling daemon for KDE Plasma"
+
+# depend() {
+#    need wayland-compositor
+# }
+
+export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
+export QT_PLUGIN_PATH=/usr/lib64/qt6/plugins
+# export LD_LIBRARY_PATH=/usr/lib64
+supervisor=supervise-daemon
+command="/usr/bin/plasmazonesd"
+command_args="--server"
+
+start_pre() {
+    if [ -z "$WAYLAND_DISPLAY" ]; then
+        eerror "$WAYLAND_DISPLAY unset, can't proceed."
+        return 1
+    fi
+}
diff --git a/kde-apps/plasma-zones/metadata.xml b/kde-apps/plasma-zones/metadata.xml
new file mode 100644 (file)
index 0000000..7e24df3
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>andre.ramnitz@mail.de</email>
+    <description>Andre Ramnitz</description>
+  </maintainer>
+  <longdescription>
+  </longdescription>
+  <use>
+  </use>
+</pkgmetadata>
diff --git a/kde-apps/plasma-zones/plasma-zones-3.0.15-r1.ebuild b/kde-apps/plasma-zones/plasma-zones-3.0.15-r1.ebuild
new file mode 100644 (file)
index 0000000..0d4df0a
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 2026 Andre Ramnitz
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ "${PV}" != "9999" ]]; then
+      KEYWORDS="~amd64"
+      S="${WORKDIR}/PlasmaZones-${PV}"
+      SRC_URI="https://github.com/fuddlesworth/PlasmaZones/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+  else
+      inherit git-r3
+      EGIT_REPO_URI="https://github.com/fuddlesworth/PlasmaZones.git"
+
+fi
+
+DESCRIPTION="Tiling daemon for KDE Plasma"
+HOMEPAGE="https://phosphor-works.github.io/plasmazones"
+
+LICENSE="GPL-3 LGPL-2.1"
+SLOT="0"
+
+RDEPEND=">kde-plasma/kwin-6.6"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+    local mycmakeargs=(
+        "-DCMAKE_BUILD_TYPE=Release
+        -DCMAKE_INSTALL_PREFIX=/usr"
+        )
+        cmake_src_configure
+}
+
+src_install() {
+    cmake_src_install
+    exeinto /etc/user/init.d
+    newexe "${FILESDIR}"/plasma-zones.initd plasma-zones
+}
+
diff --git a/kde-apps/plasma-zones/plasma-zones-3.0.15.ebuild b/kde-apps/plasma-zones/plasma-zones-3.0.15.ebuild
new file mode 100644 (file)
index 0000000..6de1413
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 2026 Andre Ramnitz
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ "${PV}" != "9999" ]]; then
+      KEYWORDS="~amd64"
+      S="${WORKDIR}/PlasmaZones-${PV}"
+      SRC_URI="https://github.com/fuddlesworth/PlasmaZones/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+  else
+      inherit git-r3
+      EGIT_REPO_URI="https://github.com/fuddlesworth/PlasmaZones.git"
+
+fi
+
+DESCRIPTION="Tiling daemon for KDE Plasma"
+HOMEPAGE="https://phosphor-works.github.io/plasmazones"
+
+LICENSE="GPL-3 LGPL-2.1"
+SLOT="0"
+
+RDEPEND=">kde-plasma/kwin-6.6"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+    local mycmakeargs=(
+        "-DCMAKE_BUILD_TYPE=Release
+        -DCMAKE_INSTALL_PREFIX=/usr"
+        )
+        cmake_src_configure
+}
+