Date: Monday, March 25, 2019 @ 20:52:32 Author: arojas Revision: 443487
archrelease: copy trunk to community-staging-x86_64 Added: audacity/repos/community-staging-x86_64/ audacity/repos/community-staging-x86_64/PKGBUILD (from rev 443486, audacity/trunk/PKGBUILD) ----------+ PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) Copied: audacity/repos/community-staging-x86_64/PKGBUILD (from rev 443486, audacity/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-03-25 20:52:32 UTC (rev 443487) @@ -0,0 +1,53 @@ +# Maintainer: David Runge <d...@sleepmap.de> +# Contributor: Eric BĂ©langer <e...@archlinux.org> + +pkgname=audacity +pkgver=2.3.1 +pkgrel=2 +epoch=1 +pkgdesc="A program that lets you manipulate digital audio waveforms" +arch=('x86_64') +url="https://audacityteam.org" +license=('GPL2' 'CCPL') +groups=('pro-audio') +# upstream enquired via mail about: +# vendors/requires older version of portaudio +# vendors/doesn't detect system version of portmidi +depends=('libid3tag' 'libmad' 'libsoxr' 'lilv' 'portsmf' 'soundtouch' 'suil' +'twolame' 'vamp-plugin-sdk' 'wxgtk3') +makedepends=('cmake' 'ffmpeg') +optdepends=('ffmpeg: additional import/export capabilities') +source=("https://github.com/${pkgname}/${pkgname}/archive/Audacity-${pkgver}.tar.gz") +sha512sums=('066f57bd90d2baea6969f0cbfb63e41a42ed6dac955d87dc7b601c7a270888363e414c57e36393618801ea31b1068b7b22003f52897bf9a44fbc355aaf23cbaa') + +prepare() { + mv -v "${pkgname}-Audacity-${pkgver}" "${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}" + autoreconf -vfi +} + +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-portaudio \ + --with-portmidi \ + --with-libflac \ + --with-libid3tag \ + --with-libsamplerate \ + --with-sbsms \ + --with-soundtouch \ + --with-libtwolame \ + --with-libvorbis \ + --with-lv2 + make +} + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +}