community/audacity to 2.4.1-4

This commit is contained in:
Kevin Mihelich 2020-05-28 00:35:47 +00:00
parent eb6d982e5f
commit 9c9abff3da

View file

@ -7,7 +7,7 @@
pkgname=audacity
pkgver=2.4.1
pkgrel=3
pkgrel=4
epoch=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('x86_64')
@ -22,12 +22,16 @@ makedepends=('alsa-lib' 'cmake' 'ffmpeg' 'flac' 'glib2' 'gtk3' 'jack' 'lame'
'libid3tag' 'libogg' 'libsndfile' 'libvorbis' 'lilv' 'lv2' 'portsmf' 'suil'
'twolame' 'vamp-plugin-sdk')
optdepends=('ffmpeg: additional import/export capabilities')
source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz")
sha512sums=('2f0a3f7e24dce91ae520e285dbb05778b68e0fe37b8ded55ac568b5f8135069951b3986764adc5d0791c165b283a3c19596f1d6f51ba17028e0eb04558c63f25')
source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz"
"${pkgname}-2.4.1-resize_crash.patch::https://github.com/dvzrv/audacity/commit/d7e769040b508aaf15ce7b51cc1a565d41cdb079.patch")
sha512sums=('2f0a3f7e24dce91ae520e285dbb05778b68e0fe37b8ded55ac568b5f8135069951b3986764adc5d0791c165b283a3c19596f1d6f51ba17028e0eb04558c63f25'
'9c111b6d74ff0cd76f5f2db0ce513bf1c5400c41497220c87ea694f5b2b75c1e6bc1a817dd1fb2e81ed5ddcf2c610bb334a091c2cd8f7bae1111a911f47cab4b')
prepare() {
mv -v "${pkgname}-Audacity-${pkgver}" "${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
# fix crash on resize: https://bugs.archlinux.org/task/66771
patch -Np1 -i "../${pkgname}-2.4.1-resize_crash.patch"
autoreconf -vfi
}