PKGBUILDs/extra/audacity/PKGBUILD

37 lines
1 KiB
Bash
Raw Normal View History

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
2013-10-24 01:03:45 +00:00
pkgver=2.0.5
2014-01-11 21:46:39 +00:00
pkgrel=2
2013-03-22 22:06:20 +00:00
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('i686' 'x86_64')
url="http://audacity.sourceforge.net/"
license=('GPL')
2014-01-11 21:46:39 +00:00
depends=('libmad' 'libid3tag' 'wxgtk2.8' 'lame' 'hicolor-icon-theme'
2013-03-22 22:06:20 +00:00
'desktop-file-utils' 'jack' 'soundtouch' 'ffmpeg-compat')
makedepends=('cmake')
options=('!makeflags')
install=audacity.install
source=(http://audacity.googlecode.com/files/${pkgname}-minsrc-${pkgver}.tar.xz)
2013-10-24 01:03:45 +00:00
sha1sums=('f63cafb81f29e7f3813dc9f80fb1dfdbcfe46b33')
2013-03-22 22:06:20 +00:00
build() {
2013-09-08 20:04:54 +00:00
cd ${pkgname}-src-${pkgver}
2013-10-24 02:35:41 +00:00
[[ $CARCH == 'arm' ]] && CONFIG="--without-soundtouch"
2014-01-11 21:46:39 +00:00
WX_CONFIG=/usr/bin/wx-config-2.8 PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" \
2013-10-24 02:35:41 +00:00
./configure --prefix=/usr --disable-sse $CONFIG
2013-03-22 22:06:20 +00:00
make
}
package() {
2013-09-08 20:04:54 +00:00
cd ${pkgname}-src-${pkgver}
2013-03-22 22:06:20 +00:00
make DESTDIR="${pkgdir}" install
}