summaryrefslogtreecommitdiff
path: root/libre/audacity-libre/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-07-01 13:53:29 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-07-01 13:53:29 -0300
commit130b76cb5eee4d83fac1c19752263d4f1ff7f37f (patch)
tree1082d6349ee702584a6615b6e9ac7b3b857f79e7 /libre/audacity-libre/PKGBUILD
parent373a734912a21284f621f62cc09b7128512e1dc4 (diff)
downloadabslibre-130b76cb5eee4d83fac1c19752263d4f1ff7f37f.tar.gz
abslibre-130b76cb5eee4d83fac1c19752263d4f1ff7f37f.tar.bz2
abslibre-130b76cb5eee4d83fac1c19752263d4f1ff7f37f.zip
libre/audacity-libre-1.3.13
thanks to jyaworski!
Diffstat (limited to 'libre/audacity-libre/PKGBUILD')
-rw-r--r--libre/audacity-libre/PKGBUILD58
1 files changed, 58 insertions, 0 deletions
diff --git a/libre/audacity-libre/PKGBUILD b/libre/audacity-libre/PKGBUILD
new file mode 100644
index 000000000..a0c1b154d
--- /dev/null
+++ b/libre/audacity-libre/PKGBUILD
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Joseph Yaworski <jy@dervormund.info>
+
+pkgname=audacity-libre
+pkgver=1.3.13
+pkgrel=1
+pkgdesc="A program that lets you manipulate digital audio waveforms, libre"
+arch=('i686' 'x86_64')
+url="http://audacity.sourceforge.net/"
+license=('GPL')
+depends=('libvorbis' 'libmad' 'libid3tag' 'wxgtk' 'libsamplerate' 'lame' 'hicolor-icon-theme'
+ 'shared-mime-info' 'desktop-file-utils' 'redland' 'jack' 'soundtouch')
+makedepends=('zip')
+options=('!makeflags')
+install=audacity-libre.install
+source=(http://repo.parabolagnulinux.org/other/${pkgname}-minsrc-${pkgver}-beta.tar.bz2
+ remove-unfree-nyquist.patch
+ audacity-libre.install)
+provides=("audacity=$pkgver")
+replaces=('audacity')
+conflicts=('audacity')
+
+# source PKGBUILD; mksource
+mksource() {
+ wget http://audacity.googlecode.com/files/audacity-minsrc-${pkgver}-beta.tar.bz2 -O - | \
+ tar -jxvf -
+
+ pushd audacity-src-${pkgver}-beta/
+ rm -rfv {,lib-src/lib}nyquist
+ find -iname '*nyquist*' -print0 | xargs -0 \
+ rm -rfv
+ patch -Np0 -i ../remove-unfree-nyquist.patch || return 1
+ popd
+
+ mv audacity-src-${pkgver}-beta/ ${pkgname}-src-${pkgver}-beta/
+ tar -cjf ${pkgname}-minsrc-${pkgver}-beta.tar.bz2 ${pkgname}-src-${pkgver}-beta/
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-src-${pkgver}-beta"
+ WX_CONFIG=/usr/bin/wx-config ./configure --prefix=/usr \
+ --with-portaudio --with-libsamplerate \
+ --without-libresample --with-libmad \
+ --with-id3tag --with-libflac \
+ --with-vorbis --with-libexpat \
+ --with-libsndfile --with-soundtouch \
+ --enable-unicode --without-taglib \
+ --disable-nyquist #unfree
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-src-${pkgver}-beta"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('0dca3e9b337ff1357b0580bd6de4e3b1'
+ '7c49dbe048d1f0f1706fd84bbea2fee4'
+ 'd1942ad63ff1ef27cae2531ee914d5c8')