blob: c1ab91ff6a2ce57c9eb5de06d85d3159e1c2fd64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=waylandpp
pkgver=0.2.6
pkgrel=0
arch="all"
url="https://github.com/NilsBrause/waylandpp"
options="!check" # No tests are run
pkgdesc="Wayland C++ bindings"
license="MIT AND GPL-3.0-or-later"
depends_dev="pugixml-dev wayland-dev mesa-dev"
makedepends="$depends_dev cmake doxygen graphviz"
source="$pkgname-$pkgver.tar.gz::https://github.com/nilsbrause/waylandpp/archive/$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="b2d2f22864db830ec6a78282552a3e677f109c49381f21e80efec3cc65cad1820b1e10ad76d960e9d470f84060bb7f3edf0dcdd94025ae80a4a93ffcecfb8c5f waylandpp-0.2.6.tar.gz"
|