void-packages/srcpkgs/wayland-scanner++/template

28 lines
863 B
Bash

# 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 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/NilsBrause/waylandpp"
distfiles="https://github.com/NilsBrause/waylandpp/archive/${version}.tar.gz"
checksum=e0c9012f3a5fb69922d5ecabdfbef739f1e0db3e68048b3f63537468ad5c4acd
post_install() {
vlicense LICENSE
}