diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/audacity |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/audacity')
-rw-r--r-- | extra/audacity/ChangeLog | 45 | ||||
-rw-r--r-- | extra/audacity/PKGBUILD | 44 | ||||
-rw-r--r-- | extra/audacity/audacity-ffmpeg.patch | 31 | ||||
-rw-r--r-- | extra/audacity/audacity.install | 12 |
4 files changed, 132 insertions, 0 deletions
diff --git a/extra/audacity/ChangeLog b/extra/audacity/ChangeLog new file mode 100644 index 000000000..3482dda5b --- /dev/null +++ b/extra/audacity/ChangeLog @@ -0,0 +1,45 @@ +2010-04-10 Andrea Scarpino <andrea@archlinux.org> + + * audacity 1.3.12-2 + * fixed soundtouch dependence + +2010-04-10 Andrea Scarpino <andrea@archlinux.org> + + * audacity 1.3.12-1 + * Upstream update + +2010-01-23 Eric Belanger <eric@archlinux.org> + + * audacity 1.3.11-1 + * Upstream update + +2009-12-03 Eric Belanger <eric@archlinux.org> + + * audacity 1.3.10-1 + * Upstream update + +2009-09-02 Eric Belanger <eric@archlinux.org> + + * audacity 1.3.9-1 + * Upstream update + * Fixed icon location + +2009-07-17 Eric Belanger <eric@archlinux.org> + + * audacity 1.3.8-1 + * Upstream update + * Updated source url + * Improved description + +2009-01-30 Eric Belanger <eric@archlinux.org> + + * audacity 1.3.7-1 + * Upstream update + * Updated source url + +2008-12-07 Eric Belanger <eric@archlinux.org> + + * audacity 1.3.6-2 + * Added install scriptlet to update mime database (close FS#11398) + * Added soundtouch support (close FS#9056) + * Added ChangeLog diff --git a/extra/audacity/PKGBUILD b/extra/audacity/PKGBUILD new file mode 100644 index 000000000..b91871346 --- /dev/null +++ b/extra/audacity/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 77505 2010-04-15 00:21:38Z dgriffiths $ +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Contributor: dorphell <dorphell@archlinux.org> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=audacity +pkgver=1.3.12 +pkgrel=3 +pkgdesc="A program that lets you manipulate digital audio waveforms" +arch=('i686' 'x86_64') +url="http://audacity.sourceforge.net/" +license=('GPL') +depends=('libvorbis' 'libmad' 'libid3tag' 'wxgtk' 'libsamplerate' 'lame' + 'shared-mime-info' 'desktop-file-utils' 'redland' 'jack' 'soundtouch') +makedepends=('zip' 'python' 'pkgconfig') +options=('!makeflags') +install=${pkgname}.install +source=(http://audacity.googlecode.com/files/${pkgname}-minsrc-${pkgver}-beta.tar.bz2 + audacity-ffmpeg.patch) +md5sums=('76996fec67181ca82ba191e012518b57' + '52cd58c39078d78a96e972df4c3c41f6') + +build() { + cd ${srcdir}/${pkgname}-src-${pkgver}-beta + + patch -p0 < ${srcdir}/audacity-ffmpeg.patch || return 1 + + WX_CONFIG=/usr/bin/wx-config \ + ./configure --prefix=/usr \ + --with-portaudio=v19 --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 || return 1 + make || return 1 +} + +package() { + cd ${srcdir}/${pkgname}-src-${pkgver}-beta + + make DESTDIR=${pkgdir} install || return 1 +} diff --git a/extra/audacity/audacity-ffmpeg.patch b/extra/audacity/audacity-ffmpeg.patch new file mode 100644 index 000000000..cf0103c61 --- /dev/null +++ b/extra/audacity/audacity-ffmpeg.patch @@ -0,0 +1,31 @@ +--- src/FFmpeg.cpp.original 2010-04-14 14:59:48.000000000 +0200 ++++ src/FFmpeg.cpp 2010-04-14 15:25:52.136755669 +0200 +@@ -341,7 +341,7 @@ + } + // Otherwize, resort to extension matching if available + else if (fmt1->extensions) { +- if (FFmpegLibsInst->match_ext(filename, fmt1->extensions)) { ++ if (FFmpegLibsInst->av_match_ext(filename, fmt1->extensions)) { + score = 50; + } + } +@@ -814,7 +814,7 @@ + INITDYN(avformat,av_open_input_file); + INITDYN(avformat,av_open_input_stream); + INITDYN(avformat,get_buffer); +- INITDYN(avformat,match_ext); ++ INITDYN(avformat,av_match_ext); + + #if FFMPEG_STABLE + INITDYN(avformat,av_init_packet); +--- src/FFmpeg.h.original 2010-04-14 14:59:48.000000000 +0200 ++++ src/FFmpeg.h 2010-04-14 15:26:39.932590241 +0200 +@@ -222,7 +222,7 @@ + AVStream* (*av_new_stream) (AVFormatContext *s, int id); + AVFormatContext* (*av_alloc_format_context) (void); + AVOutputFormat* (*guess_format) (const char *short_name, const char *filename, const char *mime_type); +- int (*match_ext) (const char *filename, const char *extensions); ++ int (*av_match_ext) (const char *filename, const char *extensions); + int (*av_write_trailer) (AVFormatContext *s); + int (*av_interleaved_write_frame) (AVFormatContext *s, AVPacket *pkt); + int (*av_write_frame) (AVFormatContext *s, AVPacket *pkt); diff --git a/extra/audacity/audacity.install b/extra/audacity/audacity.install new file mode 100644 index 000000000..41f09f887 --- /dev/null +++ b/extra/audacity/audacity.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |