summaryrefslogtreecommitdiff
path: root/repo/gstreamer/gstreamer.xibuild
blob: e9c7f0dc9e716e4617f5fded6527b5aab0de0718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

NAME="gstreamer"
DESC="GStreamer streaming media framework"

MAKEDEPS="libxml2 bison flex glib gobject-introspection libcap meson perl"

PKG_VER=1.20.3
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
}