# Template file for 'arcan-wayland'
# needs to be synced with the arcan package
pkgname=arcan-wayland
version=0.5.5
revision=1
build_style=cmake
wrksrc=arcan-${version}
build_wrksrc=src/tools/waybridge
hostmakedepends="pkg-config"
makedepends="MesaLib-devel arcan-devel libseccomp-devel libxkbcommon-devel
 wayland-devel wayland-protocols"
short_desc="Wayland protocol service for Arcan"
maintainer="Piraty <piraty1@inbox.ru>"
license="BSD-3-Clause"
homepage="https://arcan-fe.com/"
distfiles="https://github.com/letoram/arcan/archive/${version}.tar.gz"
checksum=578ed860a99a02cf1cf963efac830eb8af08093e4322832b2be6554d8c922ff2

if [ "$CROSS_BUILD" ];then
	hostmakedepends+=" wayland-devel"
fi

post_install() {
	vlicense ../../../COPYING
}
