summaryrefslogtreecommitdiff
path: root/repo/orc
diff options
context:
space:
mode:
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
+}
+
+