summaryrefslogtreecommitdiff
path: root/repo/orc/orc.xibuild
blob: 1e23e4485cf6c10825710aac51bfbeb365c0bcd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}