gtk/audacity/PKGBUILD

35 lines
919 B
Bash
Raw Normal View History

2013-04-30 01:18:38 +08:00
pkgname=audacity
2017-02-12 12:46:46 +08:00
pkgver=2.1.2
pkgrel=2
2013-04-30 01:18:38 +08:00
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('x86_64')
url="http://audacity.sourceforge.net/"
license=('GPL')
2017-02-12 12:46:46 +08:00
depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'lilv' 'soundtouch' 'libsamplerate'
'ffmpeg' 'vamp-plugin-sdk' 'sbsms' 'portsmf' 'desktop-file-utils' 'jack')
makedepends=('python2' 'cmake' 'portaudio')
2013-04-30 01:18:38 +08:00
options=('!makeflags')
install="${pkgname}.install"
2017-02-12 12:46:46 +08:00
source=($pkgname::git+https://github.com/audacity/audacity.git#commit=cf68891
2015-04-13 07:52:05 +08:00
audacity-ffmpeg.patch)
2017-02-12 12:46:46 +08:00
sha256sums=('SKIP'
2015-04-13 07:52:05 +08:00
'ee5ddddee23cd292167d319e0dc61a96fb1477380ffbb225d4103472f7aa69b4')
prepare() {
2017-02-12 12:46:46 +08:00
cd ${pkgname}
2015-04-13 07:52:05 +08:00
patch -p1 -i "${srcdir}/audacity-ffmpeg.patch"
}
2013-04-30 01:18:38 +08:00
build() {
2017-02-12 12:46:46 +08:00
cd ${pkgname}
./configure --prefix=/usr \
--with-libsamplerate \
--enable-shared
2013-04-30 01:18:38 +08:00
make
}
package() {
2017-02-12 12:46:46 +08:00
cd ${pkgname}
2013-04-30 01:18:38 +08:00
make DESTDIR="${pkgdir}" install
}