mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
gui-wm/river: add 0.4.3
Signed-off-by: Niklaus 'vimja' Hofer <gentoo-bugzilla@vimja.email>
This commit is contained in:
@@ -3,6 +3,7 @@ DIST river-0.3.11.tar.gz 174745 BLAKE2B 6ab4906475d21d6eb1572d2eed53003deb33da5c
|
||||
DIST river-0.3.12.tar.gz 174928 BLAKE2B 0f5b4658da4584a5b24fabe441425389a7cf17d0215efa4a08304c5c5249fc6a3b883aa6a596d8765622c571533e0d6b9b8776488c64bb344d4b93d41c373d5b SHA512 d72abaa42b5ef812aa3928a3d900027022fb5b8f7341aac1414e780941ae18508071149d0bb506eaa360adbdfe0a2b568e08d647d07813f4f0f81141012f1471
|
||||
DIST river-0.4.1.tar.gz 162232 BLAKE2B c27901ded4d242ef57c2c38cb9ee5abb319ddcbefa5a3a00217f59b8394c3254a0ca3fd8f9add324cf4c8202493da4dd2fed647e3db45195f8e9c9043f328d36 SHA512 532d7aadd96b8169cf2df500f197a3d2d4cfd2e8ca5e079a35f8f1037cb4eeb2e7d461f66c643e1ed35ba6b6d1a6a6a02a59b93cee5355855e8cf2d1fa9d7f83
|
||||
DIST river-0.4.2.tar.gz 163548 BLAKE2B be824523791b58cd6afddb65f01e77c60014f2c81854cee5549e5caf4440b9dbdccab4264bd613156d2725cac83d4c6e2cfcd4512e268c20351b27e5be3e734e SHA512 689f433a8c2da139adeef8b378e10b31fa6d13c3fc8d6701c43765b41b0f48cfe2b0aed8042f774c271949f3225972ea1003df1529ffcd57c8e602c0bcd8830e
|
||||
DIST river-0.4.3.tar.gz 164735 BLAKE2B 969e5eb612b2155e99e0b58ff28439021f3353642d1568b0e3b12533a3d689c859fd6e88c9afd5fd975ff510bed479c9d97750f76b87608a96cc56d10c20009e SHA512 799a4951f8b4fe30ae4c6a3eefc133f74cc55ab9eaf947bd43160b275392cc7ea4692467ba18bf09bdf61a01964059695e9719f32c15563af94414262ea4b7fd
|
||||
DIST river-classic-0.3.14.tar.gz 175514 BLAKE2B 99560ba151e65967918311b549a2f1942608c1bf6658e02089b82118af9563afc8de7c6dff06479551fbb60c6be3d7b1a45897b35f7fa10488a6db56a6333088 SHA512 3d228a26edb75111e0aff51825bb64ee482c03e1a975fa2b1ad45c9cfb0b19b6f1c937c033b4fa2568689b78d5d3d4d979830f0088db547ce881a310e120e173
|
||||
DIST river-classic-0.3.15.tar.gz 178643 BLAKE2B 80ce56d3f0d255ce2ffbd46c8140eb9bf4fbe307d05473e68bd12dac71988c9cac2cf51b4ecc56bdd39ba1ef0c67dfe9483adb7c73842fd1f4b13dc20fa97156 SHA512 3b6fbe0868f27728767e637df5551acdc34fe856d78cd8510a0fa2978fdf5db8e72137eea928a76599d2abced5026326a4f53605ea53f611b152281aaa5efdc6
|
||||
DIST wayland-0.3.0-lQa1kjPIAQDmhGYpY-zxiRzQJFHQ2VqhJkQLbKKdt5wl.tar.gz 74934 BLAKE2B 8dda2bae62c65068825068dbe91e701ad4a71685d2209bb703d0e8b71b75f1546690b83fc66e9b81de59e26c9e5a9d8d5cfa3f2098cd16a3f13ada7f38fb94ce SHA512 436c7104c41bb3c26bedc3491d887293fa0a40c11a14bc0973a1fa873c5161a05c9681a857f6cf89c9b34106e2b9e92b4f67eebabaf16836cb99a459ad11d20e
|
||||
|
||||
100
gui-wm/river/river-0.4.3.ebuild
Normal file
100
gui-wm/river/river-0.4.3.ebuild
Normal file
@@ -0,0 +1,100 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="A dynamic tiling Wayland compositor"
|
||||
HOMEPAGE="https://isaacfreund.com/software/river/ https://codeberg.org/river/river"
|
||||
|
||||
#cf. build.zig.zon
|
||||
declare -g -r -A ZBS_DEPENDENCIES=(
|
||||
[pixman-0.3.0-LClMnz2VAAAs7QSCGwLimV5VUYx0JFnX5xWU6HwtMuDX.tar.gz]='https://codeberg.org/ifreund/zig-pixman/archive/v0.3.0.tar.gz'
|
||||
[wayland-0.5.0-lQa1knz8AQCh08NA8BeQrwJB9U3CfqcVAdHZYGRKIGuu.tar.gz]='https://codeberg.org/ifreund/zig-wayland/archive/v0.5.0.tar.gz'
|
||||
[wlroots-0.20.0-jmOlcmtCBADS6eoJ6mkeiSNZkibrhD-c5Qwn-LiM86r1.tar.gz]='https://codeberg.org/ifreund/zig-wlroots/archive/v0.20.0.tar.gz'
|
||||
[xkbcommon-0.4.0-VDqIe0i2AgDRsok2GpMFYJ8SVhQS10_PI2M_CnHXsJJZ.tar.gz]='https://codeberg.org/ifreund/zig-xkbcommon/archive/v0.4.0.tar.gz'
|
||||
)
|
||||
|
||||
ZIG_SLOT="0.15"
|
||||
inherit eapi9-ver zig
|
||||
|
||||
if [[ "${PV}" = "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://codeberg.org/river/river.git"
|
||||
else
|
||||
# TODO verify-sig support
|
||||
SRC_URI="
|
||||
https://codeberg.org/river/river/releases/download/v${PV}/${P}.tar.gz
|
||||
${ZBS_DEPENDENCIES_SRC_URI}
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
# river: GPL-3-or-later
|
||||
# zig-pixman, zig-wayland, zig-wlroots, zig-xkbcommon: MIT
|
||||
LICENSE="GPL-3+ MIT"
|
||||
SLOT="0"
|
||||
IUSE="X +llvm man"
|
||||
|
||||
BDEPEND="
|
||||
dev-libs/wayland-protocols
|
||||
dev-util/wayland-scanner
|
||||
man? ( app-text/scdoc )
|
||||
|| (
|
||||
dev-lang/zig:${ZIG_SLOT}[llvm(+)?]
|
||||
dev-lang/zig-bin:${ZIG_SLOT}
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
dev-libs/libevdev
|
||||
dev-libs/libinput:=
|
||||
dev-libs/wayland
|
||||
gui-libs/wlroots:0.20[X?]
|
||||
x11-libs/libxkbcommon[wayland,X?]
|
||||
x11-libs/pixman
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( "README.md" )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/river-0.4.1-fix-scdoc-path.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" = "9999" ]]; then
|
||||
git-r3_src_unpack
|
||||
zig_live_fetch
|
||||
else
|
||||
zig_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local my_zbs_args=(
|
||||
-Dstrip=false # Let Portage control this
|
||||
-Dpie=true
|
||||
-Dman-pages=$(usex man true false)
|
||||
-Dxwayland=$(usex X true false)
|
||||
)
|
||||
|
||||
zig_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
zig_src_install
|
||||
|
||||
insinto /usr/share/wayland-sessions/
|
||||
doins contrib/river.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ver_replacing -lt 0.4; then
|
||||
ewarn "River 0.4.x is a significant rework of the compositor's architecture,"
|
||||
ewarn "and requires significant manual migration. If you would like to stay on"
|
||||
ewarn "river 0.3.x, simply add '>=gui-wm/river-0.4' to your package.mask to"
|
||||
ewarn "use river-classic continuation of the 0.3.x branch."
|
||||
fi
|
||||
|
||||
einfo "River requires an separate window manager in addition to the main"
|
||||
einfo "compositor. For some options, see gui-wm/canoe and gui-wm/kwm."
|
||||
}
|
||||
Reference in New Issue
Block a user