~alpine/aports

testing/waffle: new aport v2 APPLIED

Simon Zeni: 1
 testing/waffle: new aport

 1 files changed, 30 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3243/mbox | git am -3
Learn more about email & git

[PATCH v2] testing/waffle: new aport Export this patch

https://gitlab.freedesktop.org/mesa/waffle
A C library for selecting an OpenGL API and window system at runtime
---
 testing/waffle/APKBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 testing/waffle/APKBUILD

diff --git a/testing/waffle/APKBUILD b/testing/waffle/APKBUILD
new file mode 100644
index 0000000000..74c23598f6
--- /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/$pkgname/-/archive/v$pkgver/$pkgname-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"
-- 
2.25.0