summaryrefslogtreecommitdiff
path: root/repo/orc
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/orc
parent9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff)
added java
Diffstat (limited to 'repo/orc')
-rw-r--r--repo/orc/orc-compiler.xibuild7
-rw-r--r--repo/orc/orc.xibuild26
2 files changed, 33 insertions, 0 deletions
diff --git a/repo/orc/orc-compiler.xibuild b/repo/orc/orc-compiler.xibuild
new file mode 100644
index 0000000..2278b35
--- /dev/null
+++ b/repo/orc/orc-compiler.xibuild
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+DESC="Orc compiler"
+
+package () {
+ add_from_main usr/bin
+}
diff --git a/repo/orc/orc.xibuild b/repo/orc/orc.xibuild
new file mode 100644
index 0000000..1e23e44
--- /dev/null
+++ b/repo/orc/orc.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="orc"
+DESC="The Oil Run-time Compiler"
+
+MAKEDEPS="linux-headers meson"
+
+PKG_VER=0.4.32
+SOURCE="https://gstreamer.freedesktop.org/src/orc/orc-$PKG_VER.tar.xz"
+
+build() {
+ meson --prefix=/usr \
+ -Dorc-test=disabled \
+ . 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
+}
+
+