2017-03-18 16:00:11 +00:00
|
|
|
# $Id$
|
2017-12-24 16:10:21 +00:00
|
|
|
# Maintainer: David Runge <dave@sleepmap.de>
|
|
|
|
# Contributor: Eric Bélanger <eric@archlinux.org>
|
2017-03-18 16:00:11 +00:00
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - configure with --disable-sse
|
|
|
|
|
|
|
|
pkgname=audacity
|
2018-03-06 13:31:11 +00:00
|
|
|
pkgver=2.2.2
|
|
|
|
pkgrel=1
|
2017-03-18 16:00:11 +00:00
|
|
|
pkgdesc="A program that lets you manipulate digital audio waveforms"
|
2017-12-10 22:36:37 +00:00
|
|
|
arch=('x86_64')
|
2017-12-24 16:10:21 +00:00
|
|
|
url="https://audacityteam.org"
|
|
|
|
license=('GPL2' 'CCPL')
|
2017-11-04 12:39:22 +00:00
|
|
|
depends=('libmad' 'libid3tag' 'wxgtk3' 'lame' 'soundtouch'
|
2017-12-24 16:10:21 +00:00
|
|
|
'ffmpeg' 'vamp-plugin-sdk' 'portsmf' 'twolame' 'suil' 'lilv') # sbsms - needs unreleased version
|
|
|
|
makedepends=('cmake')
|
|
|
|
source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz")
|
2018-03-06 13:31:11 +00:00
|
|
|
sha512sums=('311a5f3413e7faf40dc5639b2b9f8b0d03d1a410c50d894ca7abf3fe5733a29b710ccf7e3215d97dd9142e93c0ab5e13955dfd13146b03f927f74465459a6457')
|
2017-12-24 16:10:21 +00:00
|
|
|
|
|
|
|
prepare() {
|
2018-03-06 13:31:11 +00:00
|
|
|
mv -v "${pkgname}-Audacity-${pkgver}" "${pkgname}-${pkgver}"
|
|
|
|
cd "${pkgname}-${pkgver}"
|
2017-12-24 16:10:21 +00:00
|
|
|
autoreconf -vi
|
|
|
|
}
|
2017-03-18 16:00:11 +00:00
|
|
|
|
|
|
|
build() {
|
2018-03-06 13:31:11 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
2017-12-24 16:10:21 +00:00
|
|
|
WX_CONFIG=wx-config-gtk3 ./configure --prefix="/usr" \
|
|
|
|
--with-libsndfile="system" \
|
|
|
|
--with-ffmpeg="system" \
|
|
|
|
--with-expat="system" \
|
|
|
|
--with-lame="system" \
|
|
|
|
--with-libsoxr="system" \
|
|
|
|
--with-libclac \
|
|
|
|
--with-libid3tag \
|
|
|
|
--with-libsamplerate \
|
|
|
|
--with-sbsms \
|
|
|
|
--with-soundtouch \
|
|
|
|
--with-libtwolame \
|
|
|
|
--with-libvorbis \
|
|
|
|
--with-lv2 \
|
|
|
|
--with-portaudio \
|
|
|
|
--with-portmidi \
|
|
|
|
--disable-sse
|
2017-03-18 16:00:11 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-03-06 13:31:11 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
2017-03-18 16:00:11 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|