forked from ports/contrib
30 lines
665 B
Plaintext
30 lines
665 B
Plaintext
# Description: A real-time, low latency audio daemon.
|
|
# URL: http://jackaudio.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Danny Rawlins, crux at romster dot me
|
|
# Depends on: libsamplerate python
|
|
|
|
name=jack
|
|
version=1.9.10
|
|
release=3
|
|
source=(https://github.com/jackaudio/jack2/archive/v1.9.10.tar.gz
|
|
gcc6.patch
|
|
jack1compat.patch)
|
|
|
|
build() {
|
|
cd ${name}2-$version
|
|
|
|
patch -p1 -i $SRC/gcc6.patch
|
|
patch -p1 -i $SRC/jack1compat.patch
|
|
|
|
local JOBS=-j$(awk 'BEGIN{RS="-j|--jobs="} NR==2 {print $1}' <<< $MAKEFLAGS)
|
|
[ $JOBS = '-j' ] && unset JOBS
|
|
|
|
./waf configure \
|
|
--prefix=/usr \
|
|
--alsa
|
|
|
|
./waf build $JOBS
|
|
./waf install --destdir=$PKG
|
|
}
|