[skip-ci] audacity: update to 2.3.0

This commit is contained in:
Jeff Huang 2018-10-04 02:41:25 +02:00
parent 64d4c00e9a
commit e624fa15a2
3 changed files with 7 additions and 52 deletions

View File

@ -1,17 +1,15 @@
pkgname=audacity
pkgver=2.2.2
pkgrel=3
pkgver=2.3.0
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('x86_64')
url="https://www.audacityteam.org/"
license=('GPL')
depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'lilv' 'soundtouch' 'libsamplerate' 'libnotify'
'ffmpeg' 'vamp-plugin-sdk' 'portsmf' 'desktop-file-utils' 'jack') # sbsms - needs unreleased version
makedepends=('python2' 'cmake' 'portaudio')
options=('!makeflags')
install="${pkgname}.install"
source=(https://github.com/audacity/audacity/archive/Audacity-${pkgver}.tar.gz)
md5sums=('0389b57584a41994d92951b2388dfbcd')
depends=('libid3tag' 'libmad' 'libsoxr' 'lilv' 'portsmf' 'soundtouch' 'suil' 'twolame' 'vamp-plugin-sdk' 'wxgtk')
makedepends=('cmake' 'ffmpeg')
optdepends=('ffmpeg: additional import/export capabilities')
source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz")
sha256sums=('37127f68dceeb5da08d008ec9373a65e2d5d0a9b937c808a5d7c3b88aa9e275e')
build() {
cd ${pkgname}-Audacity-${pkgver}

View File

@ -1,30 +0,0 @@
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(

View File

@ -1,13 +0,0 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-mime-database usr/share/mime &> /dev/null
/usr/bin/kbuildsycoca4 --global --noincremental &> /dev/null
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}