git » audacity.git » commit 5cd549d

Updating maintainer. Switching to https for url.

author David Runge
2017-12-18 08:21:36 UTC
committer David Runge
2017-12-18 08:21:36 UTC
parent 907e5dc05d555d78fdc5059e8e2461b9824d6942

Updating maintainer. Switching to https for url.

Removing unneeded lv2 depends. Removing unneeded makedepends python2.
Adding CCPL license for documentation. Switching to sha512sums. Adding autoreconf in prepare().
Explicitely calling parameters in configure, (system includes are still somehow ignored).
Minor fixes.

PKGBUILD +32 -11

diff --git a/PKGBUILD b/PKGBUILD
index 5d0e4ee..fb4ee31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,46 @@
-# Maintainer: Eric Bélanger <eric@archlinux.org>
+# Maintainer: David Runge <dave@sleepmap.de>
+# Contributor: Eric Bélanger <eric@archlinux.org>
 
 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
+  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
   make
 }
 
 package() {
-  cd audacity-Audacity-${pkgver}
+  cd "${pkgname}-Audacity-${pkgver}"
   make DESTDIR="${pkgdir}" install
 }