mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
libwaylandpp: update to 0.2.3.
This commit is contained in:
parent
e226d079a3
commit
8d1e0d030a
2 changed files with 20 additions and 13 deletions
|
@ -1,27 +1,25 @@
|
||||||
# Template file for 'libwaylandpp'
|
# 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
|
pkgname=libwaylandpp
|
||||||
version=0.2.2
|
version=0.2.3
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="waylandpp-${version}"
|
wrksrc="waylandpp-${version}"
|
||||||
configure_args="
|
configure_args="-DBUILD_SCANNER=TRUE -DBUILD_LIBRARIES=TRUE
|
||||||
-DBUILD_SCANNER=FALSE
|
-DBUILD_DOCUMENTATION=TRUE -DBUILD_EXAMPLES=TRUE
|
||||||
-DBUILD_LIBRARIES=TRUE
|
|
||||||
-DBUILD_DOCUMENTATION=TRUE
|
|
||||||
-DBUILD_EXAMPLES=TRUE
|
|
||||||
-DWAYLAND_SCANNERPP=/usr/bin/wayland-scanner++"
|
-DWAYLAND_SCANNERPP=/usr/bin/wayland-scanner++"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config doxygen graphviz wayland-scanner++"
|
hostmakedepends="pkg-config doxygen graphviz"
|
||||||
makedepends="wayland-devel MesaLib-devel"
|
makedepends="wayland-devel MesaLib-devel"
|
||||||
short_desc="Wayland C++ bindings"
|
short_desc="Wayland C++ bindings"
|
||||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/NilsBrause/waylandpp"
|
homepage="https://github.com/NilsBrause/waylandpp"
|
||||||
distfiles="https://github.com/NilsBrause/waylandpp/archive/${version}.tar.gz"
|
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() {
|
post_install() {
|
||||||
vlicense LICENSE
|
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() {
|
libwaylandpp-devel_package() {
|
||||||
depends="libwaylandpp>=${version}_${revision}"
|
depends="libwaylandpp>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
@ -42,6 +48,6 @@ libwaylandpp-devel_package() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove "usr/share/man/man3/*.3"
|
vmove usr/share/man/man3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1
srcpkgs/wayland-scanner++
Symbolic link
1
srcpkgs/wayland-scanner++
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libwaylandpp
|
Loading…
Add table
Reference in a new issue