summaryrefslogtreecommitdiff
path: root/repo/jack/jack.xibuild
blob: 9f6ec8c811e30ceb2b7f98f4689c6cfbbd112e52 (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.21
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
}