community/audacity to 2.2.1-2

This commit is contained in:
Kevin Mihelich 2017-12-24 16:10:21 +00:00
parent 0b16a6da24
commit 910e11b84c

View file

@ -1,29 +1,51 @@
# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Maintainer: David Runge <dave@sleepmap.de>
# Contributor: Eric Bélanger <eric@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - configure with --disable-sse
pkgname=audacity
pkgver=2.2.1
pkgrel=1
pkgrel=2
pkgdesc="A program that lets you manipulate digital audio waveforms"
arch=('x86_64')
url="http://audacityteam.org"
license=('GPL')
url="https://audacityteam.org"
license=('GPL2' 'CCPL')
depends=('libmad' 'libid3tag' 'wxgtk3' 'lame' 'soundtouch'
'ffmpeg' 'vamp-plugin-sdk' 'portsmf' 'twolame' 'lv2' 'suil' 'lilv') # sbsms - needs unreleased version
makedepends=('cmake' 'python2')
source=(https://github.com/audacity/audacity/archive/Audacity-${pkgver}.zip)
sha256sums=('48dfff3d9319aa1a1a9e0e791846ca697b40079d05d652c900613415eede4db7')
'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")
sha512sums=('5f3e17aa5f39210f1440f49e19835bc6f2b6ab1bb58cee989dd2aa46cbcaf82eaa01037a8ee9e3a419741a34ae00c0325da33f017d83be531654032797ac7edd')
prepare() {
cd "${pkgname}-Audacity-${pkgver}"
autoreconf -vi
}
build() {
cd audacity-Audacity-${pkgver}
WX_CONFIG=wx-config-gtk3 ./configure --prefix=/usr --with-libsamplerate --disable-sse
cd "${pkgname}-Audacity-${pkgver}"
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
make
}
package() {
cd audacity-Audacity-${pkgver}
cd "${pkgname}-Audacity-${pkgver}"
make DESTDIR="${pkgdir}" install
}