summaryrefslogtreecommitdiff
path: root/repo/ardour/ardour.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
committerdavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
commit2e4eddedb755f0c0f88450b1fc1d8b0830132a71 (patch)
treeedb0ddeb32913bfbfb0a99c3c43e75f3a2f13d8d /repo/ardour/ardour.xibuild
parent66c326b6d65388e9f1003715ad9675505f01f9d2 (diff)
added ardour
Diffstat (limited to 'repo/ardour/ardour.xibuild')
-rw-r--r--repo/ardour/ardour.xibuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/repo/ardour/ardour.xibuild b/repo/ardour/ardour.xibuild
new file mode 100644
index 0000000..88beac7
--- /dev/null
+++ b/repo/ardour/ardour.xibuild
@@ -0,0 +1,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"
+}
+