diff --git a/srcpkgs/wayland-scanner++/template b/srcpkgs/wayland-scanner++/template new file mode 100644 index 00000000000..2872b87fbf6 --- /dev/null +++ b/srcpkgs/wayland-scanner++/template @@ -0,0 +1,27 @@ +# Template file for 'wayland-scanner++' +# +# keep this package version in sync with libwaylandpp, we need to separate +# wayland-scanner++ from the rest of the package because it is required +# by the package itself to cross-compile +pkgname=wayland-scanner++ +version=0.2.2 +revision=1 +wrksrc="waylandpp-${version}" +configure_args=" + -DBUILD_SCANNER=TRUE + -DBUILD_LIBRARIES=FALSE + -DBUILD_DOCUMENTATION=FALSE + -DBUILD_EXAMPLES=FALSE" +build_style=cmake +hostmakedepends="pkg-config" +makedepends="wayland-devel MesaLib-devel" +short_desc="Wayland C++ protocol scanner" +maintainer="maxice8 " +license="MIT" +homepage="https://github.com/NilsBrause/waylandpp" +distfiles="https://github.com/NilsBrause/waylandpp/archive/${version}.tar.gz" +checksum=e0c9012f3a5fb69922d5ecabdfbef739f1e0db3e68048b3f63537468ad5c4acd + +post_install() { + vlicense LICENSE +}