summaryrefslogtreecommitdiff
path: root/repo/graphene/graphene.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
committerdavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
commitccc722b7ed330198d82a3cf28ead76d6d107a70a (patch)
tree7611b3cc4f3ca681524fa28b174a0253eb802e0e /repo/graphene/graphene.xibuild
parent9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff)
added java
Diffstat (limited to 'repo/graphene/graphene.xibuild')
-rw-r--r--repo/graphene/graphene.xibuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/repo/graphene/graphene.xibuild b/repo/graphene/graphene.xibuild
new file mode 100644
index 0000000..edc040e
--- /dev/null
+++ b/repo/graphene/graphene.xibuild
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+NAME="graphene"
+DESC="A thin layer of graphic data types"
+
+MAKEDEPS="meson glib gobject-introspection"
+
+PKG_VER=1.10.8
+SOURCE="https://github.com/ebassi/graphene/archive/$PKG_VER/graphene-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+0001-meson-don-t-install-introspection-file-with-installe.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ meson --prefix=/usr \
+ -Darm_neon=true \
+ -Dinstalled_tests=false \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+check() {
+ meson test --no-rebuild -v -C output
+}
+
+package() {
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
+}
+