summaryrefslogtreecommitdiff
path: root/extra/audacity/PKGBUILD
blob: b91871346b211a7ddec55bed3f36deb110da7fe3 (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
38
39
40
41
42
43
44
# $Id: PKGBUILD 77505 2010-04-15 00:21:38Z dgriffiths $
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: dorphell <dorphell@archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=audacity
pkgver=1.3.12
pkgrel=3
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('i686' 'x86_64')
url="http://audacity.sourceforge.net/"
license=('GPL')
depends=('libvorbis' 'libmad' 'libid3tag' 'wxgtk' 'libsamplerate' 'lame'
	'shared-mime-info' 'desktop-file-utils' 'redland' 'jack' 'soundtouch')
makedepends=('zip' 'python' 'pkgconfig')
options=('!makeflags')
install=${pkgname}.install
source=(http://audacity.googlecode.com/files/${pkgname}-minsrc-${pkgver}-beta.tar.bz2
	audacity-ffmpeg.patch)
md5sums=('76996fec67181ca82ba191e012518b57'
	 '52cd58c39078d78a96e972df4c3c41f6')

build() {
	cd ${srcdir}/${pkgname}-src-${pkgver}-beta

	patch -p0 < ${srcdir}/audacity-ffmpeg.patch || return 1
	
	WX_CONFIG=/usr/bin/wx-config \
	./configure --prefix=/usr \
	     --with-portaudio=v19 --with-libsamplerate=system \
	     --without-libresample --with-libmad=system \
	     --with-id3tag=system --with-flac=system \
	     --with-vorbis=system --with-libexpat=system \
	     --with-libsndfile=system --with-soundtouch \
	     --enable-unicode --without-taglib || return 1
	make || return 1
}

package() {
	cd ${srcdir}/${pkgname}-src-${pkgver}-beta

	make DESTDIR=${pkgdir} install || return 1
}