libwaylandpp: update to 0.2.3.

This commit is contained in:
maxice8 2018-04-22 22:05:13 -03:00 committed by Enno Boland
parent e226d079a3
commit 8d1e0d030a
2 changed files with 20 additions and 13 deletions

View File

@ -1,27 +1,25 @@
# Template file for 'libwaylandpp'
#
# keep this package version in sync with wayland-scanner++, we need to separate
# wayland-scanner++ from the rest of the package because it is required
# by the package itself to cross-compile
pkgname=libwaylandpp
version=0.2.2
version=0.2.3
revision=1
wrksrc="waylandpp-${version}"
configure_args="
-DBUILD_SCANNER=FALSE
-DBUILD_LIBRARIES=TRUE
-DBUILD_DOCUMENTATION=TRUE
-DBUILD_EXAMPLES=TRUE
configure_args="-DBUILD_SCANNER=TRUE -DBUILD_LIBRARIES=TRUE
-DBUILD_DOCUMENTATION=TRUE -DBUILD_EXAMPLES=TRUE
-DWAYLAND_SCANNERPP=/usr/bin/wayland-scanner++"
build_style=cmake
hostmakedepends="pkg-config doxygen graphviz wayland-scanner++"
hostmakedepends="pkg-config doxygen graphviz"
makedepends="wayland-devel MesaLib-devel"
short_desc="Wayland C++ bindings"
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
checksum=ebd4a8447bb65f288cad0e04538f6ec704e155213fc2b9cc1a851534c70aacac
subpackages="libwaylandpp-doc wayland-scanner++ libwaylandpp"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" wayland-scanner++"
fi
post_install() {
vlicense LICENSE
@ -35,6 +33,14 @@ libwaylandpp-doc_package() {
}
}
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}"
short_desc+=" - development files"
@ -42,6 +48,6 @@ libwaylandpp-devel_package() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/share/man/man3/*.3"
vmove usr/share/man/man3
}
}

1
srcpkgs/wayland-scanner++ Symbolic link
View File

@ -0,0 +1 @@
libwaylandpp