Received: from out.migadu.com (out.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 22290781B6C for <~alpine/aports@lists.alpinelinux.org>; Thu, 23 Jan 2020 14:54:25 +0000 (UTC) Received: (Migadu outbound); Thu, 23 Jan 2020 14:54:24 +0000 Authentication-Results: out.migadu.com; auth=pass (plain) Received: from loki.my.domain (modemcable013.183-226-192.mc.videotron.ca [192.226.183.13]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id A4DF94CC-8FC3-4A25-AFD2-A21E6257D39B.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Thu, 23 Jan 2020 14:54:24 +0000 From: Simon Zeni To: ~alpine/aports@lists.alpinelinux.org Cc: Simon Zeni Subject: [PATCH] testing/waffle: new aport Date: Thu, 23 Jan 2020 09:53:51 -0500 Message-Id: <20200123145350.4285-1-simon@bl4ckb0ne.ca> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1;a=rsa-sha256;bh=vkb+lopmIwAighpfhhXaipJg7vA2nDJzhvbbjyLf05k=;c=relaxed/simple;d=bl4ckb0ne.ca;h=from:subject:date:to;s=default;b=bYUAEc/GyJRlvj7H+BzabbaUU+Gd3lh+qmSWsjnjtgEICmmCAjrm6tzx0BIhMtq96kkLmxS0nN0o33DIWQNxhxihkQM2zgUbFnUY/9Cky4YXo4i6PKa/RLUkiGwFiHmaxs6v6Qr2Hh8rwmGuvuAImYE4yk3gZU+UTcaXcc8M3EA= 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 +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 +--- + 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 +# Maintainer: Simon Zeni +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