author | David Runge
<dvzrv@archlinux.org> 2020-05-27 21:46:33 UTC |
committer | David Runge
<dvzrv@archlinux.org> 2020-05-27 21:46:33 UTC |
parent | 659d16fb3aa528c5ff03bf7699e1c396ffe9a567 |
PKGBUILD | +7 | -3 |
diff --git a/PKGBUILD b/PKGBUILD index 4903524..157b517 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,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') @@ -18,12 +18,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 }