2 # Maintainer: Arch Linux Pro Audio <dev@archaudio.org>
3 # Contributor: Bernardo Barros <bernardobarros@gmail.com>
9 pkgdesc="Professional-grade Digital Audio Workstation"
10 arch=('i686' 'x86_64')
12 url="http://ardour.org/"
13 provides=('ardour' 'ardour2')
14 conflicts=('ardour' 'ardour2')
15 depends=('liblrdf>=0.4.0' 'liblrdf<0.4.1'
16 'libgnomecanvasmm' 'liblo' 'libusb' 'aubio' 'flac'
18 optdepends=('cwiid: Wiimote support')
19 makedepends=('subversion' 'ladspa' 'scons' 'boost' 'cwiid')
20 install=ardour2.install
21 source=(ardour2.desktop)
22 md5sums=('9d26a2d0c776c56824ae084a2bbbb0b5')
25 _svntrunk=http://subversion.ardour.org/svn/ardour2/branches/2.0-ongoing
32 rm -rf "${_svnmod}-build"
34 if [ -d $_svnmod ] ; then
35 (cd $_svnmod && svn update)
36 msg "The local files are updated."
38 svn co ${_svntrunk} ${_svnmod}
41 msg "Download complete or server timeout"
42 msg "Starting build process..."
44 cp -rf ${_svnmod} ${_svnmod}-build
47 sed -i '/-O3/d' SConstruct
60 PROGRAM_NAME="Ardour2" \
66 scons PREFIX="/usr" DESTDIR="$pkgdir" install
68 # freedesktop.org compatibility
69 install -Dm644 ${srcdir}/ardour2.desktop $pkgdir/usr/share/applications/$pkgname.desktop