# Template file for 'arcan-wayland'
# needs to be synced with the arcan package
pkgname=arcan-wayland
version=0.5.5.2
revision=1
wrksrc=arcan-${version}
build_wrksrc=src/tools/waybridge
build_style=cmake
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=a5f775789e22f6a4f16742ae9375bb5b7999aab83398adeab2bdc3f70c321cc0

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

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