summaryrefslogtreecommitdiff
path: root/repo/portaudio/portaudio.xibuild
blob: 2c9b2efedf31aa71239fb36334b02013145374dd (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
#!/bin/sh

NAME="portaudio"
DESC="A cross-platform, open-source C language library for real-time audio input and output"

MAKEDEPS=" alsa-lib autoconf automake jack libtool linux-headers"

PKG_VER=19.7.0
SOURCE="https://github.com/PortAudio/portaudio/archive/v$PKG_VER/portaudio-v$PKG_VER.tar.gz"

ADDITIONAL="
portaudio-audacity.patch
portaudio-pkgconfig-alsa.patch
"

prepare() {
    apply_patches
}

build() {
	./configure \
		--prefix=/usr \
		--disable-static \
		--with-jack \
		--with-alsa \
		--enable-cxx
	make -j1
}

package() {
	make -j1 DESTDIR="$PKG_DEST" install
}