# Template file for 'wayfire'
pkgname=wayfire
version=0.1
revision=3
build_style=meson
hostmakedepends="pkg-config wayland-devel"
makedepends="wlroots-devel glm cairo-devel wf-config"
short_desc="3D wayland compositor"
maintainer="Young Jin Park <youngjinpark20@gmail.com>"
license="MIT"
homepage="https://wayfire.org"
distfiles="https://github.com/WayfireWM/wayfire/archive/v${version}.tar.gz"
checksum=ce6ed0ba62296992f4a0c05b92d05b33911d1d192346611df845414ffd9a18b8

case $XBPS_TARGET_MACHINE in
	*-musl) makedepends+=" libexecinfo-devel"
esac

post_install() {
	vlicense LICENSE
	vinstall wayfire.ini.default 755 /usr/share/wayfire
}
