gtk/audacity/PKGBUILD

37 lines
1.1 KiB
Bash
Raw Normal View History

2013-04-30 01:18:38 +08:00
pkgname=audacity
2015-08-03 22:04:10 +08:00
pkgver=2.1.1
2014-10-02 03:45:40 +08:00
pkgrel=1
2013-04-30 01:18:38 +08:00
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('x86_64')
url="http://audacity.sourceforge.net/"
license=('GPL')
depends=('libvorbis' 'libmad' 'libid3tag' 'wxgtk2.8' 'libsamplerate' 'lame'
'hicolor-icon-theme' 'shared-mime-info' 'desktop-file-utils' 'redland'
2014-10-02 03:45:40 +08:00
'jack' 'soundtouch' 'ffmpeg')
2015-08-03 22:04:10 +08:00
makedepends=('zip' 'python' 'pkgconfig' 'cmake')
2013-04-30 01:18:38 +08:00
options=('!makeflags')
install="${pkgname}.install"
2015-08-03 22:04:10 +08:00
source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz"
2015-04-13 07:52:05 +08:00
audacity-ffmpeg.patch)
2015-08-03 22:04:10 +08:00
sha256sums=('15c5ff7ac1c0b19b08f4bdcb0f4988743da2f9ed3fab41d6f07600e67cb9ddb6'
2015-04-13 07:52:05 +08:00
'ee5ddddee23cd292167d319e0dc61a96fb1477380ffbb225d4103472f7aa69b4')
prepare() {
2015-08-03 22:04:10 +08:00
cd ${pkgname}-Audacity-${pkgver}
2015-04-13 07:52:05 +08:00
patch -p1 -i "${srcdir}/audacity-ffmpeg.patch"
}
2013-04-30 01:18:38 +08:00
build() {
2015-08-03 22:04:10 +08:00
cd ${pkgname}-Audacity-${pkgver}
WX_CONFIG=/usr/bin/wx-config-2.8 \
2014-10-02 03:45:40 +08:00
./configure --prefix=/usr \
2015-04-13 07:52:05 +08:00
--enable-unicode \
--with-libsamplerate
2013-04-30 01:18:38 +08:00
make
}
package() {
2015-08-03 22:04:10 +08:00
cd ${pkgname}-Audacity-${pkgver}
2013-04-30 01:18:38 +08:00
make DESTDIR="${pkgdir}" install
}