void-packages/srcpkgs/libwaylandpp/template
Nathan Owens 523cbc5f2d libwaylandpp: mark broken on aarch64-musl
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-02 20:00:29 +01:00

58 lines
1.5 KiB
Bash

# Template file for 'libwaylandpp'
pkgname=libwaylandpp
version=0.2.7
revision=1
wrksrc="waylandpp-${version}"
build_style=cmake
configure_args="-DBUILD_SCANNER=TRUE -DBUILD_LIBRARIES=TRUE
-DBUILD_DOCUMENTATION=TRUE -DBUILD_EXAMPLES=TRUE
-DWAYLAND_SCANNERPP=/usr/bin/wayland-scanner++"
hostmakedepends="pkg-config doxygen graphviz"
makedepends="wayland-devel MesaLib-devel pugixml-devel"
short_desc="Wayland C++ bindings"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/NilsBrause/waylandpp"
distfiles="https://github.com/NilsBrause/waylandpp/archive/${version}.tar.gz"
checksum=fa31b659a6bb93b322e1068831c9a0135a4687d8ef9ceb2e7660c909ce10bfa6
subpackages="libwaylandpp-doc wayland-scanner++ libwaylandpp-devel"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" wayland-scanner++"
fi
case "$XBPS_TARGET_MACHINE" in
aarch64-musl) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/23340/steps/shell_3/logs/stdio"
;;
esac
post_install() {
vlicense LICENSE
}
libwaylandpp-doc_package() {
archs=noarch
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc
}
}
wayland-scanner++_package() {
short_desc="Tool to generate C++ proxy methods"
pkg_install() {
vmove usr/bin/wayland-scanner++
vmove usr/lib/pkgconfig/wayland-scanner++.pc
}
}
libwaylandpp-devel_package() {
depends="libwaylandpp>=${version}_${revision} wayland-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}