Simon Zeni: 1 testing/waffle: new aport 2 files changed, 61 insertions(+), 0 deletions(-)
Copy & paste the following snippet into your terminal to import this patchset into git:
curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3232/mbox | git am -3Learn more about email & git
https://gitlab.freedesktop.org/mesa/waffle A C library for selecting an OpenGL API and window system at runtime --- ...-URL-for-wraps-instead-of-completely.patch | 26 ++++++++++++++ testing/waffle/APKBUILD | 35 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 testing/waffle/0001-meson-use-github-URL-for-wraps-instead-of-completely.patch create mode 100644 testing/waffle/APKBUILD diff --git a/testing/waffle/0001-meson-use-github-URL-for-wraps-instead-of-completely.patch b/testing/waffle/0001-meson-use-github-URL-for-wraps-instead-of-completely.patch new file mode 100644 index 0000000000..01cdc271fe --- /dev/null +++ b/testing/waffle/0001-meson-use-github-URL-for-wraps-instead-of-completely.patch @@ -0,0 +1,26 @@ +From 60302f62d7fbf0670b215309ad9d1916162c7a24 Mon Sep 17 00:00:00 2001 +From: Eric Engestrom <eric@engestrom.ch> +Date: Tue, 14 Jan 2020 16:06:21 +0000 +Subject: [PATCH] meson: use github URL for wraps instead of completely + unreliable wrapdb + +Signed-off-by: Eric Engestrom <eric@engestrom.ch> +--- + subprojects/cmocka.wrap | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/subprojects/cmocka.wrap b/subprojects/cmocka.wrap +index f6db997..4e6f1ef 100644 +--- a/subprojects/cmocka.wrap ++++ b/subprojects/cmocka.wrap +@@ -5,6 +5,6 @@ source_url = https://cmocka.org/files/1.1/cmocka-1.1.2.tar.xz + source_filename = cmocka-1.1.2.tar.xz + source_hash = d11cd1e129827ff240a501c1c43557e808de89e8fcd8ab9e963c8db419332bdd + +-patch_url = https://wrapdb.mesonbuild.com/v1/projects/cmocka/1.1.2/1/get_zip ++patch_url = https://github.com/mesonbuild/cmocka/releases/download/1.1.2-1/cmocka.zip + patch_filename = cmocka-1.1.2-1-wrap.zip + patch_hash = 0f70de53e55298f0eea270d86d887ee78f98c8b20cc837c801f8ce7b89018d99 +-- +2.25.0 + diff --git a/testing/waffle/APKBUILD b/testing/waffle/APKBUILD new file mode 100644 index 0000000000..4bedbfe721 --- /dev/null +++ b/testing/waffle/APKBUILD @@ -0,0 +1,35 @@ +# 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" +depends="libx11 libxcb wayland" +makedepends="eudev-dev mesa-dev mesa-gbm mesa-egl wayland-dev meson" +#checkdepends="xvfb-run mesa-dri-swrast" +source="$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/mesa/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz + 0001-meson-use-github-URL-for-wraps-instead-of-completely.patch + " +builddir="$srcdir/$pkgname-v$pkgver" +options="!check net" # tests are platform dependant (x11/wayland) + +prepare() { + meson build \ + --buildtype=release \ + -Dbuild-examples=false \ + --prefix="$pkgdir" +} + +build() { + ninja -C build +} + +package() { + ninja -C build install +} + +sha512sums="c2e0fb1874061316ecbf44781d7f568c53ef5a6125d0b2f5e79668cbaa1bfe5706a163a3cf4eaf6f1666ad06be4f74e8e796bc7ce424eaad1b56ba08639306ee waffle-1.6.0.tar.gz +dbdad84ae6a077c50b4fe5ee26c99f1da8b25f3668d619d023104d93979b6bcf817ef7370e96deea361ba869e7c9715aa6545bf1c34b4b484e177c9b378dc9a6 0001-meson-use-github-URL-for-wraps-instead-of-completely.patch" -- 2.25.0