# Template file for 'wayfire'
pkgname=wayfire
version=0.4.0
revision=1
build_style=meson
hostmakedepends="pkg-config wayland-devel"
makedepends="xcb-util-wm-devel xcb-util-errors-devel glm cairo-devel wf-config-devel"
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/${version}.tar.gz"
checksum=9c009c01bccce97149d0695b5429cf44787fdc1423c58425ba8e8de601019e97

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
	makedepends+=" libexecinfo-devel"
fi

post_install() {
	vlicense LICENSE
	vsconf wayfire.ini
}
