summaryrefslogtreecommitdiff
path: root/repo/jack/jack.xibuild
blob: 04ad8c0c514ce4c827d853edbc936acdb451dda5 (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
27
28
29
30
31
32
33
34
#!/bin/sh

NAME="jack"
DESC="The Jack Audio Connection Kit"

MAKEDEPS="alsa-lib dbus expat libsamplerate libsndfile ncurses readline python linux-headers"

PKG_VER=1.9.20
SOURCE="https://github.com/jackaudio/jack2/archive/v$PKG_VER/jack2-v$PKG_VER.tar.gz"

ADDITIONAL="
fix-execinfo.patch
increase-api-version.patch
"
prepare () {
    apply_patches
}

build() {
	./waf configure \
		--prefix=/usr \
		--mandir=/usr/share/man/man1 \
		--libdir=/usr/lib \
		--dbus \
		--alsa \
		--classic

	./waf build -v
}

package() {
	./waf --destdir="$PKG_DEST" install
}