From 376321eddc09898cb021292d3ec8b5ab47cb6b2c Mon Sep 17 00:00:00 2001 From: Sivecano Date: Mon, 28 Sep 2026 13:01:49 +0200 Subject: [PATCH] gui-wm/rhine: new package, add 0.4.1, 9999 Signed-off-by: Sivecano Part-of: https://codeberg.org/gentoo/guru/pulls/89 Merges: https://codeberg.org/gentoo/guru/pulls/89 Signed-off-by: Emi --- gui-wm/rhine/Manifest | 4 +++ gui-wm/rhine/metadata.xml | 11 ++++++ gui-wm/rhine/rhine-0.4.1.ebuild | 50 ++++++++++++++++++++++++++ gui-wm/rhine/rhine-9999.ebuild | 63 +++++++++++++++++++++++++++++++++ 4 files changed, 128 insertions(+) create mode 100644 gui-wm/rhine/Manifest create mode 100644 gui-wm/rhine/metadata.xml create mode 100644 gui-wm/rhine/rhine-0.4.1.ebuild create mode 100644 gui-wm/rhine/rhine-9999.ebuild diff --git a/gui-wm/rhine/Manifest b/gui-wm/rhine/Manifest new file mode 100644 index 0000000000..86c6f15760 --- /dev/null +++ b/gui-wm/rhine/Manifest @@ -0,0 +1,4 @@ +DIST mr_tween-0.1.0-WbH78YcBAQD3RF4QfCYFF6EJCYzAzdIU4BHCj0pFI5yq.tar.gz 14054 BLAKE2B 57f7d9b6edd4628c8e3e5a1376b1d00a0b2b4c7cb6b54eb49c0520dbfcd19f22a9b07ffb251ca42bf45ff256f80f303347e4763c2d113ea304e767ff3dd1d07c SHA512 104675211e4272f05d9c18802468bd590ea5dd242535ed5fe2b73dfb9c60e27d5b67357b58d2da2075aaf71c3589ce47587e0eb39d5afbc337c0fb3a1dcab794 +DIST rhine-0.4.1.tar.gz 46035205 BLAKE2B 99ec5d0208742d861c4a57e9d4d623173db1b57532ed04abcdcb13d872ab832a25c0a892d63d74cb61812ce9a9d861d261efa2e408d6c0d326b78be05b6eea5a SHA512 6b8d44ab858cd9352acca869f95f5e1e83a88e2950b8f636ed1a105eb76b2f7ca244fd9adcb06a8402b9dcfe8b2bbca31d9a56e9ccad7a6215993eb4f87898a1 +DIST tributary-0.4.1-tqCfWzbUAACWcbClrEM-xQIfPNogwri6nGNyWrt123vK.tar.gz 26108 BLAKE2B ced9a9780b50bf332d6135d1d81115d553303aa1fda3cf553630cd05062076fa0a3cf1865c77327231e549fca5f60ef241da93c2d222799d2e9010dd40eb1d9e SHA512 acab416dd7194d306171ae8aa92d66c5a6be08eaa0b3ff215faeae37e6bc177538d8e2ee7827fd8932b4f320931220b94bfe0ce6cbb12ba55b81642168a5da73 +DIST wayland-0.6.0-lQa1kqz8AQADQmdNJsNhLoNHcnEGEUjrOaPV-dtEnEmX.tar.gz 150022 BLAKE2B 7907311b3b54a1a15ff454906b379a4ce084be58295cd70c691277dfac9306365960dd97048de59bef5cfe48b8495ea1b381469a9ec2e021a17d78d29354ab3d SHA512 ef495b505e2b390cd49b774b69c63a8e98e0c172122728e00bba6d25b5bd03344961e1704491b5265a5f3d6ad15f78c280ddb34f96599ed82965726ad1dadbdf diff --git a/gui-wm/rhine/metadata.xml b/gui-wm/rhine/metadata.xml new file mode 100644 index 0000000000..0009f5048e --- /dev/null +++ b/gui-wm/rhine/metadata.xml @@ -0,0 +1,11 @@ + + + + + Sivecano@gmail.com + Sivecano + + + Sivecano/rhine + + diff --git a/gui-wm/rhine/rhine-0.4.1.ebuild b/gui-wm/rhine/rhine-0.4.1.ebuild new file mode 100644 index 0000000000..3d624034df --- /dev/null +++ b/gui-wm/rhine/rhine-0.4.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +DESCRIPTION="A powerful tiling window manager for river implementing multiple layout options" +HOMEPAGE="https://codeberg.org/Sivecano/rhine" + +declare -g -r -A ZBS_DEPENDENCIES=( + [mr_tween-0.1.0-WbH78YcBAQD3RF4QfCYFF6EJCYzAzdIU4BHCj0pFI5yq.tar.gz]='https://codeberg.org/Games-by-Mason/mr_tween/archive/v0.1.0.tar.gz' + [tributary-0.4.1-tqCfWzbUAACWcbClrEM-xQIfPNogwri6nGNyWrt123vK.tar.gz]='https://codeberg.org/Sivecano/libtributary/archive/0.5.0.tar.gz' + [wayland-0.6.0-lQa1kqz8AQADQmdNJsNhLoNHcnEGEUjrOaPV-dtEnEmX.tar.gz]='https://codeberg.org/ifreund/zig-wayland/archive/v0.6.0.tar.gz' +) + +ZIG_SLOT="0.16" +inherit zig + +SRC_URI=" + https://codeberg.org/Sivecano/rhine/archive/${PV}.tar.gz -> ${P}.tar.gz + ${ZBS_DEPENDENCIES_SRC_URI} +" + +S="${WORKDIR}/${PN}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+dbus" + +DEPEND=" + dev-libs/wayland + dbus? ( sys-apps/dbus ) +" + +BDEPEND=" + >=gui-wm/river-0.4.0 + dev-libs/wayland-protocols + x11-libs/libxkbcommon +" + +RDEPEND="${DEPEND}" + +src_configure() { + local my_zbs_args=( + -Dnotify=$(usex dbus true false) + -Dstrip=false # portage handles this + -Dpie=true + ) + + zig_src_configure +} diff --git a/gui-wm/rhine/rhine-9999.ebuild b/gui-wm/rhine/rhine-9999.ebuild new file mode 100644 index 0000000000..05099944b2 --- /dev/null +++ b/gui-wm/rhine/rhine-9999.ebuild @@ -0,0 +1,63 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +DESCRIPTION="A powerful tiling window manager for river implementing multiple layout options" +HOMEPAGE="https://codeberg.org/Sivecano/rhine" + +declare -g -r -A ZBS_DEPENDENCIES=( + [mr_tween-0.1.0-WbH78YcBAQD3RF4QfCYFF6EJCYzAzdIU4BHCj0pFI5yq.tar.gz]='https://codeberg.org/Games-by-Mason/mr_tween/archive/v0.1.0.tar.gz' + [tributary-0.4.0-tqCfW5fFAAC_PBxqMMwGJRlbwU8XThn9b2zIieRvQgDX.tar.gz]='https://codeberg.org/Sivecano/libtributary/archive/ad5ee12ecae34c6aac55c55eeffce50f85cb3856.tar.gz' + [wayland-0.6.0-lQa1kqz8AQADQmdNJsNhLoNHcnEGEUjrOaPV-dtEnEmX.tar.gz]='https://codeberg.org/ifreund/zig-wayland/archive/v0.6.0.tar.gz' +) + +ZIG_SLOT="0.16" +inherit zig + +if [[ "${PV}" = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/Sivecano/rhine.git" +else + SRC_URI=" + https://codeberg.org/Sivecano/rhine/archive/${PV}.tar.gz -> ${P}.tar.gz + ${ZBS_DEPENDENCIES_SRC_URI} + " + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" +fi + +LICENSE="AGPL-3" +SLOT="0" +IUSE="+dbus" + +DEPEND=" + dev-libs/wayland + dbus? ( sys-apps/dbus ) +" + +BDEPEND=" + >=gui-wm/river-0.4.0 + dev-libs/wayland-protocols + x11-libs/libxkbcommon +" + +RDEPEND="${DEPEND}" + +src_unpack() { + if [[ "${PV}" = "9999" ]]; then + git-r3_src_unpack + zig_live_src_unpack + else + zig_src_unpack + fi +} + +src_configure() { + local my_zbs_args=( + -Dnotify=$(usex dbus true false) + -Dstrip=false # portage handles this + -Dpie=true + ) + + zig_src_configure +}