# Template file for 'cagebreak'
pkgname=cagebreak
version=2.3.1
revision=1
build_style=meson
configure_args="--buildtype=release -Dman-pages=true $(vopt_bool xwayland xwayland)"
conf_files="/etc/xdg/cagebreak/config"
hostmakedepends="pkg-config wayland-devel scdoc"
makedepends="wlroots0.17-devel cairo-devel pango-devel libevdev-devel"
depends="$(vopt_if xwayland xorg-server-xwayland)"
short_desc="Tiling wayland compositor based on cage inspired by ratpoison"
maintainer="Jose G Perez Taveras <josegpt27@gmail.com>"
license="MIT"
homepage="https://github.com/project-repo/cagebreak"
changelog="https://raw.githubusercontent.com/project-repo/cagebreak/master/Changelog.md"
distfiles="https://github.com/project-repo/cagebreak/releases/download/${version}/release_${version}.tar.gz"
checksum=62515e3e157d2379c19e24ee7d2d8bebcfa849a81a7f95420a793dc7cdf97db7

build_options="xwayland"
build_options_default="xwayland"
desc_option_xwayland="Enable Xwayland support"

make_check=no # the tests are not really tests

post_install() {
	vsconf examples/config
	vlicense LICENSE
}
