blob: 7bafcaa103b84f0ad0cedb557cbead0586356645 (
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
|
# Contributor: Simon Zeni <simon@bl4ckb0ne.ca>
# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
pkgname="waffle"
pkgver="1.6.0"
pkgrel=0
pkgdesc="A C library for selecting an OpenGL API and window system at runtime"
url="https://gitlab.freedesktop.org/mesa/waffle"
arch="all"
license="BSD-2-Clause"
makedepends="eudev-dev mesa-dev mesa-gbm mesa-egl wayland-dev meson cmocka-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/mesa/waffle/-/archive/v$pkgver/waffle-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # tests are platform dependant (x11/wayland)
subpackages="$pkgname-doc"
prepare() {
meson build \
--buildtype=release \
--prefix=/usr \
-Dbuild-examples=false
}
build() {
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="c2e0fb1874061316ecbf44781d7f568c53ef5a6125d0b2f5e79668cbaa1bfe5706a163a3cf4eaf6f1666ad06be4f74e8e796bc7ce424eaad1b56ba08639306ee waffle-1.6.0.tar.gz"
|