void-packages/srcpkgs/river/template
2025-01-04 20:50:51 +01:00

26 lines
930 B
Bash

# Template file for 'river'
pkgname=river
version=0.3.7
revision=1
archs="~i686* ~armv6l* ~armv7l*"
build_style=zig-build
configure_args="$(vopt_if xwayland -Dxwayland) -Dpie"
hostmakedepends="pkg-config wayland-devel scdoc"
makedepends="wlroots0.18-devel libevdev-devel pixman-devel
wayland-protocols libxkbcommon-devel wayland-devel"
depends="$(vopt_if xwayland xorg-server-xwayland)"
short_desc="Dynamic tiling Wayland compositor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
homepage="https://codeberg.org/river/river"
distfiles="https://codeberg.org/river/river/releases/download/v${version}/river-${version}.tar.gz"
checksum=a6007ff0ad1cd46b2229661c28e4602aa6fe160872293f0749c17fa95b78a873
build_options="xwayland"
build_options_default="xwayland"
desc_option_xwayland="Enable Xwayland support"
post_install() {
vinstall contrib/river.desktop 644 usr/share/wayland-sessions
vsconf example/init
}