aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2020-01-24 23:58:14 -0500
committerKevin Daudt <kdaudt@alpinelinux.org>2020-01-25 15:49:09 +0000
commit5cfd02da41c0c6a413c83e2bceab2051ec3ea702 (patch)
tree2e26b4ec5d649a3cf452a48c7a4019b8a4ce7425
parentffdd182e8774ae3f8f07d0a8316cdbc91563a422 (diff)
downloadaports-5cfd02da41c0c6a413c83e2bceab2051ec3ea702.tar.bz2
aports-5cfd02da41c0c6a413c83e2bceab2051ec3ea702.tar.xz
testing/waffle: new aport
https://gitlab.freedesktop.org/mesa/waffle A C library for selecting an OpenGL API and window system at runtime
-rw-r--r--testing/waffle/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/waffle/APKBUILD b/testing/waffle/APKBUILD
new file mode 100644
index 0000000000..7bafcaa103
--- /dev/null
+++ b/testing/waffle/APKBUILD
@@ -0,0 +1,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"