summaryrefslogtreecommitdiff
path: root/libre/audacity-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/audacity-libre/PKGBUILD')
-rw-r--r--libre/audacity-libre/PKGBUILD40
1 files changed, 16 insertions, 24 deletions
diff --git a/libre/audacity-libre/PKGBUILD b/libre/audacity-libre/PKGBUILD
index a0c1b154d..6d6f287b3 100644
--- a/libre/audacity-libre/PKGBUILD
+++ b/libre/audacity-libre/PKGBUILD
@@ -1,47 +1,42 @@
-# $Id$
-# Maintainer: Joseph Yaworski <jy@dervormund.info>
+# $Id: PKGBUILD 153455 2012-03-14 17:15:15Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>
+_pkgname=audacity
pkgname=audacity-libre
-pkgver=1.3.13
+pkgver=2.0.0
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')
+depends=('libmad' 'libid3tag' 'wxgtk' 'lame-libre' 'hicolor-icon-theme'
+ 'desktop-file-utils' 'jack' 'soundtouch' 'ffmpeg')
options=('!makeflags')
install=audacity-libre.install
-source=(http://repo.parabolagnulinux.org/other/${pkgname}-minsrc-${pkgver}-beta.tar.bz2
+source=(http://audacity.googlecode.com/files/${_pkgname}-minsrc-${pkgver}.tar.bz2
remove-unfree-nyquist.patch
audacity-libre.install)
+sha1sums=('0175474e63c51aaa97df9b45574f7f307f1d3bc8'
+ 'cda4587458aecf15c41102f86c3b466f80acd0f3'
+ '59e511af919f62b07dd62bab251c56bef6344d70')
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 -
+build() {
+ cd "${srcdir}/${_pkgname}-src-${pkgver}"
- pushd audacity-src-${pkgver}-beta/
+# Removing nyquist
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-ffmpeg --with-id3tag --with-libflac \
--with-vorbis --with-libexpat \
--with-libsndfile --with-soundtouch \
--enable-unicode --without-taglib \
@@ -50,9 +45,6 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-src-${pkgver}-beta"
+ cd "${srcdir}/${_pkgname}-src-${pkgver}"
make DESTDIR="${pkgdir}" install
}
-md5sums=('0dca3e9b337ff1357b0580bd6de4e3b1'
- '7c49dbe048d1f0f1706fd84bbea2fee4'
- 'd1942ad63ff1ef27cae2531ee914d5c8')