new package: libwaylandpp-0.2.2.

Closes: #11444 [via git-merge-pr]
This commit is contained in:
maxice8 2018-02-07 09:29:01 -02:00 committed by Jürgen Buchmüller
parent 8d29732c38
commit 2b0e64bc64
4 changed files with 53 additions and 0 deletions

View File

@ -3105,3 +3105,7 @@ libgnuradio-noaa-3.7.12git.so.0.0.0 gnuradio-3.7.12git_1
libflann_cpp.so.1.9 flann-1.9.1_1
libflann.so.1.9 flann-1.9.1_1
libvolume_key.so.1 volume_key-0.3.9_1
libwayland-egl++.so.0.2 libwaylandpp-2.2.0_1
libwayland-client++.so.0.2 libwaylandpp-2.2.0_1
libwayland-cursor++.so.0.2 libwaylandpp-2.2.0_1
libwayland-client-extra++.so.0.2 libwaylandpp-2.2.0_1

1
srcpkgs/libwaylandpp-devel Symbolic link
View File

@ -0,0 +1 @@
libwaylandpp

1
srcpkgs/libwaylandpp-doc Symbolic link
View File

@ -0,0 +1 @@
libwaylandpp

View File

@ -0,0 +1,47 @@
# 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
revision=1
wrksrc="waylandpp-${version}"
configure_args="
-DBUILD_SCANNER=FALSE
-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++"
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
post_install() {
vlicense LICENSE
}
libwaylandpp-doc_package() {
noarch=yes
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc
}
}
libwaylandpp-devel_package() {
depends="libwaylandpp>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/share/man/man3/*.3"
}
}