From 7afc5568a4bf340477196698fa00e3e482f23b5f Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Mon, 1 Jun 2026 17:49:30 +0200 Subject: [PATCH 1/1] kde-apps/plasma-zones --- kde-apps/plasma-zones/Manifest | 1 + .../plasma-zones/files/plasma-zones.initd | 21 ++++++++++ kde-apps/plasma-zones/metadata.xml | 12 ++++++ .../plasma-zones-3.0.15-r1.ebuild | 40 +++++++++++++++++++ .../plasma-zones/plasma-zones-3.0.15.ebuild | 34 ++++++++++++++++ 5 files changed, 108 insertions(+) create mode 100644 kde-apps/plasma-zones/Manifest create mode 100755 kde-apps/plasma-zones/files/plasma-zones.initd create mode 100644 kde-apps/plasma-zones/metadata.xml create mode 100644 kde-apps/plasma-zones/plasma-zones-3.0.15-r1.ebuild create mode 100644 kde-apps/plasma-zones/plasma-zones-3.0.15.ebuild diff --git a/kde-apps/plasma-zones/Manifest b/kde-apps/plasma-zones/Manifest new file mode 100644 index 0000000..f4f08fc --- /dev/null +++ b/kde-apps/plasma-zones/Manifest @@ -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 index 0000000..b520f90 --- /dev/null +++ b/kde-apps/plasma-zones/files/plasma-zones.initd @@ -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 index 0000000..7e24df3 --- /dev/null +++ b/kde-apps/plasma-zones/metadata.xml @@ -0,0 +1,12 @@ + + + + + andre.ramnitz@mail.de + Andre Ramnitz + + + + + + 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 index 0000000..0d4df0a --- /dev/null +++ b/kde-apps/plasma-zones/plasma-zones-3.0.15-r1.ebuild @@ -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 index 0000000..6de1413 --- /dev/null +++ b/kde-apps/plasma-zones/plasma-zones-3.0.15.ebuild @@ -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 +} + -- 2.53.0