1 # Contributor: Bernardo Barros <bernardobarros@gmail.com>
2 # Contributor: nightfrost <khashayar_naderehvandi@yahoo.co.uk>
3 # Contributor: Patrick McCarty <pnorcks at gmail dot com>
8 pkgdesc="A program that lets you manipulate digital audio waveforms -- development snapshot"
10 url="http://audacity.sourceforge.net/"
12 depends=('libvorbis' 'libmad' 'libid3tag' 'wxgtk' 'libsamplerate' 'lame' 'shared-mime-info' 'desktop-file-utils' 'redland' 'jack')
13 makedepends=('svn' 'python2' 'pkgconfig' 'zip' 'soundtouch')
14 options=('!makeflags')
15 conflicts=('audacity')
18 _svntrunk=http://audacity.googlecode.com/svn/audacity-src/trunk
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
31 msg "SVN checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_svnmod-build"
35 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
36 cd "$srcdir/$_svnmod-build"
38 WX_CONFIG=/usr/bin/wx-config ./configure --prefix=/usr \
39 --with-portmixer=no --with-libsamplerate=system --without-libresample \
40 --with-libmad=system --with-id3tag=system --with-flac=system \
41 --with-vorbis=system --with-libexpat=system --with-libsndfile=system \
42 --with-soundtouch --enable-unicode --without-taglib --without-ffmpeg
48 cd "$srcdir/$_svnmod-build"
49 make DESTDIR="$pkgdir/" install