aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-09-14 17:40:03 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-09-14 20:46:13 +0000
commit1e761ebba7146cc95d9e67257ab32a47ce763d58 (patch)
tree2d98ef7b50f57a09b9b204228155e8184a6f721b
parentc86b566ec68d98b46f2f65e0b9c80502e6f0fb4c (diff)
downloadaports-1e761ebba7146cc95d9e67257ab32a47ce763d58.tar.gz
aports-1e761ebba7146cc95d9e67257ab32a47ce763d58.tar.bz2
aports-1e761ebba7146cc95d9e67257ab32a47ce763d58.tar.xz
testing/gulkan: new aport
-rw-r--r--testing/gulkan/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/gulkan/APKBUILD b/testing/gulkan/APKBUILD
new file mode 100644
index 0000000000..80fc66c388
--- /dev/null
+++ b/testing/gulkan/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=gulkan
+pkgver=0.15.1
+pkgrel=0
+pkgdesc="GLib library for Vulkan abstraction"
+url="https://gitlab.freedesktop.org/xrdesktop/gulkan"
+arch="all"
+license="MIT AND CC-BY-SA-4.0"
+depends_dev="
+ gdk-pixbuf-dev
+ gobject-introspection-dev
+ graphene-dev
+ vulkan-loader-dev
+ "
+makedepends="$depends_dev
+ cmd:glslangValidator
+ cmd:gtkdoc-scan
+ meson
+ "
+source="https://gitlab.freedesktop.org/xrdesktop/gulkan/-/archive/$pkgver/gulkan-$pkgver.tar.gz"
+subpackages="$pkgname-dev"
+options="!check" # Requires a working Vulkan driver
+
+build() {
+ abuild-meson \
+ -Dapi_doc=true \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+check() {
+ meson test --no-rebuild -v -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
+}
+
+sha512sums="b3ce7f5aff3341cdf7ddb6ed897ebf0164111ead3b8b0a92fc699fc8420fbffb0bd9b88f1304f1c2fcd8c2e5a639934607c69a27f47db96408d5b974a076e7b1 gulkan-0.15.1.tar.gz"