summaryrefslogtreecommitdiff
path: root/repo/gst-plugins-base/gst-plugins-base.xibuild
blob: 8675b16e668c169658d8754f409166e3f90719d1 (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.1
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
}