1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A proof-of-concept libardour-based record/playback, song, and mixer engine daemon as part of a modular audio production system."
10 depends=('dbus-glib' 'gtkmm' 'taglib' 'slv2'
11 'liblo' 'liblrdf' 'aubio' 'libsmf')
12 source=("http://ayyi.org/files/$pkgname-$pkgver.tar.bz2")
13 md5sums=('a607503412df125c298dddb018272eed')
16 cd "$srcdir/$pkgname-$pkgver"
19 export PYTHON="python2"
21 # Architecture portability fix
22 sed -i "s|unsigned)sp|uintptr_t)sp|;s|0400|0600|" libs/ayyi/shm_seg.cc
24 # adding missing header in rubberband source
25 sed -i "22a#include <cstddef>" libs/rubberband/rubberband/RubberBandStretcher.h
27 # fix ARDOUR namespace
28 sed -i "s|.*\(namespace ARDOUR\).*|\1 {|;\$a}" libs/ardour/enums.cc
30 python2 waf configure --prefix=/usr \
43 cd "$srcdir/$pkgname-$pkgver"
45 python2 waf install --destdir="$pkgdir"