# $Id$ # Maintainer: David Runge # Contributor: Eric BĂ©langer # ALARM: Kevin Mihelich # - configure with --disable-sse pkgname=audacity pkgver=2.2.2 pkgrel=3 pkgdesc="A program that lets you manipulate digital audio waveforms" arch=('x86_64') url="https://audacityteam.org" license=('GPL2' 'CCPL') groups=('pro-audio') depends=('libmad' 'libid3tag' 'wxgtk3' 'soundtouch' 'ffmpeg' 'vamp-plugin-sdk' 'portsmf' 'twolame' 'suil' 'lilv') makedepends=('cmake') source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz") sha512sums=('311a5f3413e7faf40dc5639b2b9f8b0d03d1a410c50d894ca7abf3fe5733a29b710ccf7e3215d97dd9142e93c0ab5e13955dfd13146b03f927f74465459a6457') prepare() { mv -v "${pkgname}-Audacity-${pkgver}" "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}" autoreconf -vi } build() { cd "${pkgname}-${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-libflac \ --with-libid3tag \ --with-libsamplerate \ --with-sbsms \ --with-soundtouch \ --with-libtwolame \ --with-libvorbis \ --with-lv2 \ --with-portaudio \ --with-portmidi \ --disable-sse make } package() { cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }