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=('cvs' 'python' 'pkgconfig' 'zip' 'soundtouch')
14 options=('!makeflags')
15 conflicts=('audacity')
18 md5sums=('4b3e5e14e309a93473da5559a2ffbdc9')
20 _cvsroot=":pserver:anonymous:@audacity.cvs.sourceforge.net:/cvsroot/audacity"
26 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
27 if [ -d $_cvsmod/CVS ]; then
31 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
35 msg "CVS checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_cvsmod-build"
39 cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
40 cd "$srcdir/$_cvsmod-build"
42 # patch -p0 -d src/ -i "$srcdir/ffmpeg.patch" || return 1
44 WX_CONFIG=/usr/bin/wx-config ./configure --prefix=/usr --with-portmixer=no --with-libsamplerate=system --without-libresample --with-libmad=system --with-id3tag=system --with-flac=system --with-vorbis=system --with-libexpat=system --with-libsndfile=system --with-soundtouch --enable-unicode --without-taglib --without-ffmpeg
50 cd "$srcdir/$_cvsmod-build"
51 make DESTDIR="$pkgdir/" install || return 1