mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
# $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
|
|
# - disable soundtouch on v5
|
|
|
|
pkgname=audacity
|
|
pkgver=2.0.6
|
|
pkgrel=1
|
|
pkgdesc="A program that lets you manipulate digital audio waveforms"
|
|
arch=('i686' 'x86_64')
|
|
url="http://audacity.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('libmad' 'libid3tag' 'wxgtk2.8' 'lame' 'jack' 'soundtouch'
|
|
'ffmpeg' 'desktop-file-utils')
|
|
makedepends=('cmake' 'python2')
|
|
options=('!makeflags')
|
|
install=audacity.install
|
|
source=(http://downloads.sourceforge.net/project/audacity/audacity/${pkgver}/${pkgname}-minsrc-${pkgver}.tar.xz
|
|
audacity-ffmpeg.patch)
|
|
sha1sums=('9fd664a71684e7e07472a48fa716f89c87b1929d'
|
|
'3fa0a06501ae525515f3e46ef9d20aa1a9ea8921')
|
|
|
|
prepare() {
|
|
cd ${pkgname}-src-${pkgver}
|
|
patch -p1 -i "${srcdir}/audacity-ffmpeg.patch"
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-src-${pkgver}
|
|
|
|
[[ $CARCH == 'arm' ]] && CONFIG="--without-soundtouch"
|
|
|
|
WX_CONFIG=/usr/bin/wx-config-2.8 ./configure --prefix=/usr --disable-sse $CONFIG
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-src-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|