blob: fc91e0526ef372e6eeba6af0b03fe6a54c0e9260 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $Id: PKGBUILD 165559 2012-08-24 02:38:00Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=audacity
pkgver=2.0.2
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('i686' 'x86_64' 'mips64el')
url="http://audacity.sourceforge.net/"
license=('GPL')
depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'hicolor-icon-theme'
'desktop-file-utils' 'jack' 'soundtouch' 'ffmpeg-compat')
options=('!makeflags')
install=audacity.install
source=(http://audacity.googlecode.com/files/${pkgname}-minsrc-${pkgver}.tar.bz2)
sha1sums=('c5e4058346c96713a0d39fcd6b33f27137589b06')
build() {
cd "${srcdir}/${pkgname}-src-${pkgver}"
[ "$CARCH" = "mips64el" ] && extra="--disable-sse"
WX_CONFIG=/usr/bin/wx-config PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" \
./configure --prefix=/usr \
--with-portaudio --with-libsamplerate \
--without-libresample --with-libmad \
--with-ffmpeg --with-id3tag --with-libflac \
--with-vorbis --with-libexpat \
--with-libsndfile --with-soundtouch \
--enable-unicode --without-taglib $extra
make
}
package() {
cd "${srcdir}/${pkgname}-src-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|