summaryrefslogtreecommitdiff
path: root/repo/orc/orc.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/orc/orc.xibuild')
-rw-r--r--repo/orc/orc.xibuild26
1 files changed, 26 insertions, 0 deletions
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
+}
+
+