summaryrefslogtreecommitdiff
path: root/repo/gst-plugins-base/gst-plugins-base.xibuild
blob: 89e5f83cb8426188a6ff7e952e4c59b98457f89b (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="gst-plugins-base"
DESC="GStreamer streaming media framework base plug-ins"

MAKEDEPS="alsa-lib cdparanoia expat glib gobject-introspection graphene gstreamer gtk3 libice libogg libsm libtheora libvorbis libxv mesa meson opus orc-compiler orc perl"

PKG_VER=1.20.3
SOURCE="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$PKG_VER.tar.xz"

build() {
	meson --prefix=/usr \
		-Dalsa=enabled \
		-Dintrospection=enabled \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
}