summaryrefslogtreecommitdiff
path: root/extra/audacity/PKGBUILD
blob: 7dea07e27d258a6503a623916532ba4ed3668b9b (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
# $Id: PKGBUILD 143650 2011-11-28 02:34:27Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=audacity
pkgver=1.3.13
pkgrel=2
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=(mips64el)
url="http://audacity.sourceforge.net/"
license=('GPL')
depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'hicolor-icon-theme'
	 'desktop-file-utils' 'jack' 'soundtouch' 'ffmpeg')
options=('!makeflags')
install=audacity.install
source=(http://audacity.googlecode.com/files/${pkgname}-minsrc-${pkgver}-beta.tar.bz2 \
        audacity-1.3.13-ffmpeg.patch)
sha1sums=('47a1340699958c8e1804f374209835be865d7027'
          '26c2ad8e611705b2762a318e66312169f59cc218')

build() {
  cd "${srcdir}/${pkgname}-src-${pkgver}-beta"
  patch -p1 -i "${srcdir}/audacity-1.3.13-ffmpeg.patch"
  WX_CONFIG=/usr/bin/wx-config ./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
  make
}

package() {
  cd "${srcdir}/${pkgname}-src-${pkgver}-beta"
  make DESTDIR="${pkgdir}" install
}