aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ardour/APKBUILD
blob: d2e9f8ab631a06dc3775a84c60f2c3094dc87419 (plain) (blame)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=ardour
pkgver=6.5.0
pkgrel=3
pkgdesc="professional-grade digital audio workstation"
url="https://ardour.org/"
arch="all !ppc64le !mips64" # Does not build on ppc64le or mips64.
arch="" # Source is volatile (upstream deletes old distfiles)
license="GPL-2.0-or-later"
makedepends="
	alsa-lib-dev
	atkmm-dev
	aubio-dev
	boost-dev
	fftw-dev
	gtk+2.0-dev
	gtkmm-dev
	itstool
	jack-dev
	libarchive-dev
	libexecinfo-dev
	liblo-dev
	libpng-dev
	libsamplerate-dev
	libsigc++-dev
	libsndfile-dev
	lilv-dev
	lrdf-dev
	lv2-dev
	pulseaudio-dev
	python3
	readline-dev
	redland-dev
	rubberband-dev
	serd-dev
	sratom-dev
	taglib-dev
	vamp-sdk-dev
	fluidsynth-dev
	hidapi-dev
	"
source="https://community.ardour.org/src/Ardour-$pkgver.tar.bz2
	fix-platform-detection.patch
	disable-backtrace.patch
	always-link-execinfo.patch"
builddir="$srcdir/Ardour-$pkgver"

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="$pkgdir"
}

sha512sums="28bb0939c12b687e136de7a8b1ce28f1065d4040bdc171e228c648586bd5d3bd25ab00c677aa55f835e060cc8cbd0a1d1c283c018e4ab0d72d8bde0eb0a26f2a  Ardour-6.5.0.tar.bz2
3edb9c7a05ca4a9a0bf66f763e8e516d9d9528bc929fdd86d627fb5b46db7d211fddc3ec5e048ca77f4715fcac411cd4bd422aa51e95d2901cee868b6a9802b0  fix-platform-detection.patch
6f41e58e94f39831493467571f75566f02b31ef1bbdf7e65bd100ee846c9d2bb56ce8b6ce653d0ed362571935f333e3d276f047c471548c6f85453d2f5af80db  disable-backtrace.patch
ac93e7761aac490ed0675d24ac544cacc7ba4579490baf5f7da6c2cdf218f929d0bada39a3689a62affcf759d070359cdcc1a5b919aa225fcf6cde3b419e7e7b  always-link-execinfo.patch"