Commit 568b376c authored by Jeff Huang's avatar Jeff Huang

Update audacity to 2.1.0.

parent 6421de53
pkgname=audacity
pkgver=2.0.6
pkgver=2.1.0
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('x86_64')
......@@ -11,18 +11,26 @@ depends=('libvorbis' 'libmad' 'libid3tag' 'wxgtk2.8' 'libsamplerate' 'lame'
makedepends=('zip' 'python' 'pkgconfig')
options=('!makeflags')
install="${pkgname}.install"
source=("http://downloads.sourceforge.net/project/audacity/audacity/${pkgver}/${pkgname}-minsrc-${pkgver}.tar.xz")
sha256sums=('3080c190e678e0d682961a36c6e990c572dacd6b5ce499e5cec7362e9fa37d7b')
source=("http://downloads.sourceforge.net/project/audacity/audacity/${pkgver}/${pkgname}-minsrc-${pkgver}.tar.xz"
audacity-ffmpeg.patch)
sha256sums=('b0d98d89b38be233e88af81e1add649732484b6f8feec95dc5977accdde042b3'
'ee5ddddee23cd292167d319e0dc61a96fb1477380ffbb225d4103472f7aa69b4')
prepare() {
cd ${pkgname}-minsrc-${pkgver}
patch -p1 -i "${srcdir}/audacity-ffmpeg.patch"
}
build() {
cd ${pkgname}-src-${pkgver}
cd ${pkgname}-minsrc-${pkgver}
WX_CONFIG=/usr/bin/wx-config-2.8 \
./configure --prefix=/usr \
--enable-unicode
--enable-unicode \
--with-libsamplerate
make
}
package() {
cd ${pkgname}-src-${pkgver}
cd ${pkgname}-minsrc-${pkgver}
make DESTDIR="${pkgdir}" install
}
diff -Naur audacity-src-2.0.6-orig/src/FFmpeg.h audacity-src-2.0.6/src/FFmpeg.h
--- audacity-src-2.0.6-orig/src/FFmpeg.h 2014-09-28 21:54:55.159636208 -0400
+++ audacity-src-2.0.6/src/FFmpeg.h 2014-09-28 21:55:11.246276766 -0400
@@ -688,7 +688,7 @@
FFMPEG_FUNCTION_WITH_RETURN(
AVOutputFormat*,
av_oformat_next,
- (AVOutputFormat *f),
+ (const AVOutputFormat *f),
(f)
);
FFMPEG_FUNCTION_WITH_RETURN(
@@ -755,7 +755,7 @@
FFMPEG_FUNCTION_WITH_RETURN(
int,
av_fifo_size,
- (AVFifoBuffer *f),
+ (const AVFifoBuffer *f),
(f)
);
FFMPEG_FUNCTION_WITH_RETURN(
@@ -801,7 +801,7 @@
FFMPEG_FUNCTION_WITH_RETURN(
AVDictionaryEntry *,
av_dict_get,
- (AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags),
+ (const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags),
(m, key, prev, flags)
);
FFMPEG_FUNCTION_WITH_RETURN(
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment