void-packages/srcpkgs/river/template

24 lines
739 B
Bash

# Template file for 'river'
pkgname=river
version=0.1.0
revision=1
build_style=zig-build
configure_args="$(vopt_if xwayland -Dxwayland)"
hostmakedepends="zig pkg-config wayland-devel scdoc git"
makedepends="wlroots-devel"
depends="$(vopt_if xwayland xorg-server-xwayland)"
short_desc="Dynamic tiling Wayland compositor"
maintainer="Isaac Freund <mail@isaacfreund.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/riverwm/river"
distfiles="${homepage}/releases/download/v${version}/river-${version}.tar.gz"
checksum=4153a5511a1008e87a2251fc4510a43d6f6085f41b040222506355ff6d4bd10f
build_options="xwayland"
build_options_default="xwayland"
desc_option_xwayland="Enable Xwayland support"
post_install() {
vsconf example/init
}