--- /dev/null
+DIST plasma-zones-3.0.15.tar.gz 118466462 BLAKE2B a60a9ec155d33606544f7926cb483e1adede74ed2773181898fd0354a2f74852e49a6f90d878265297d7ea3bb547b101c7be73649acc68956695d1c7c45eb2ce SHA512 54abe833c0490458dc65a74c7911bd14fa2824aabb72bc124459ba6b6f078a3db529f830340ca744d8e1af94b80e9de81e3900cdb90782b3ad57e419fa0bfd6a
--- /dev/null
+#!/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
+}
--- /dev/null
+<?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>
--- /dev/null
+# 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
+}
+
--- /dev/null
+# 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
+}
+