summaryrefslogtreecommitdiff
path: root/repo/ardour/ardour.xibuild
blob: 88beac7c13790eb5a788c138135f101be033075f (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
35
36
37
38
39
40
41
#!/bin/sh

NAME="ardour"
DESC="professional-grade digital audio workstation"

MAKEDEPS="alsa-lib atkmm aubio boost fftw gtk2 gtkmm itstool jack libarchive libexecinfo liblo libpng libsamplerate libsigc++ libsndfile lilv lrdf lv2 pulseaudio python readline redland rubberband serd sratom taglib vamp-sdk fluidsynth hidapi"

PKG_VER=6.9.0
SOURCE="https://community.ardour.org/src/Ardour-$PKG_VER.tar.bz2"

ADDITIONAL="
always-link-execinfo.patch
disable-backtrace.patch
"

prepare () {
    apply_patches
}

build() {
	python3 waf configure \
		--prefix=/usr \
		--cxx11 \
		--keepflags \
		--optimize \
		--freedesktop \
		--no-phone-home \
		--with-backends=pulseaudio,jack,alsa,dummy
		#FIXME: add missing dependencies
		# --use-external-libs
	python3 waf build
}

check() {
	python3 waf test
}

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