2013-03-22 22:06:20 +00:00
|
|
|
# $Id: PKGBUILD 176352 2013-01-30 20:25:49Z eric $
|
|
|
|
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - added --disable-sse to configure
|
2013-10-24 02:35:41 +00:00
|
|
|
# - disable soundtouch on v5
|
2013-03-22 22:06:20 +00:00
|
|
|
|
|
|
|
pkgname=audacity
|
2015-11-24 03:02:40 +00:00
|
|
|
pkgver=2.1.1
|
2014-09-30 01:19:30 +00:00
|
|
|
pkgrel=1
|
2013-03-22 22:06:20 +00:00
|
|
|
pkgdesc="A program that lets you manipulate digital audio waveforms"
|
|
|
|
arch=('i686' 'x86_64')
|
2015-11-24 03:02:40 +00:00
|
|
|
url="http://audacityteam.org"
|
2013-03-22 22:06:20 +00:00
|
|
|
license=('GPL')
|
2015-04-12 21:15:31 +00:00
|
|
|
depends=('libmad' 'libid3tag' 'wxgtk2.8' 'lame' 'lilv' 'soundtouch'
|
|
|
|
'ffmpeg' 'vamp-plugin-sdk' 'sbsms' 'portsmf' 'desktop-file-utils')
|
2014-09-30 01:19:30 +00:00
|
|
|
makedepends=('cmake' 'python2')
|
2013-03-22 22:06:20 +00:00
|
|
|
options=('!makeflags')
|
|
|
|
install=audacity.install
|
2015-11-24 03:02:40 +00:00
|
|
|
source=(https://github.com/audacity/audacity/archive/Audacity-${pkgver}.zip
|
2014-09-30 01:19:30 +00:00
|
|
|
audacity-ffmpeg.patch)
|
2015-11-24 03:02:40 +00:00
|
|
|
sha1sums=('3ff019e02a8ef9d712166dd1b466c494102a859a'
|
2015-04-12 21:15:31 +00:00
|
|
|
'5f1733a3802bcec7d9b54cb3ec8d7d81fc38fc61')
|
2013-03-22 22:06:20 +00:00
|
|
|
|
2014-09-30 01:19:30 +00:00
|
|
|
prepare() {
|
2015-11-24 03:02:40 +00:00
|
|
|
cd audacity-Audacity-${pkgver}
|
2014-09-30 01:19:30 +00:00
|
|
|
patch -p1 -i "${srcdir}/audacity-ffmpeg.patch"
|
|
|
|
}
|
|
|
|
|
2013-03-22 22:06:20 +00:00
|
|
|
build() {
|
2015-11-24 03:02:40 +00:00
|
|
|
cd audacity-Audacity-${pkgver}
|
2013-10-24 02:35:41 +00:00
|
|
|
|
|
|
|
[[ $CARCH == 'arm' ]] && CONFIG="--without-soundtouch"
|
|
|
|
|
2015-11-24 03:02:40 +00:00
|
|
|
WX_CONFIG=/usr/bin/wx-config-2.8 ./configure --prefix=/usr --with-libsamplerate
|
2014-09-30 01:19:30 +00:00
|
|
|
|
2013-03-22 22:06:20 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-11-24 03:02:40 +00:00
|
|
|
cd audacity-Audacity-${pkgver}
|
2013-03-22 22:06:20 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|