summaryrefslogtreecommitdiff
path: root/repo/gstreamer/gstreamer.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/gstreamer/gstreamer.xibuild')
-rw-r--r--repo/gstreamer/gstreamer.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/gstreamer/gstreamer.xibuild b/repo/gstreamer/gstreamer.xibuild
new file mode 100644
index 0000000..d8b3f46
--- /dev/null
+++ b/repo/gstreamer/gstreamer.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+NAME="gstreamer"
+DESC="GStreamer streaming media framework"
+
+MAKEDEPS="libxml2 bison flex glib gobject-introspection libcap meson perl"
+
+PKG_VER=1.20.1
+SOURCE="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$PKG_VER.tar.xz"
+
+build() {
+ meson --prefix=/usr \
+ -Dintrospection=enabled \
+ -Dbash-completion=disabled \
+ -Dptp-helper-permissions=capabilities \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+package() {
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
+}