[arch-commits] Commit in audacity/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Dec 18 08:21:37 UTC 2017


    Date: Monday, December 18, 2017 @ 08:21:36
  Author: dvzrv
Revision: 274712

upgpkg: audacity 2.2.1-2

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.

Modified:
  audacity/trunk/PKGBUILD

----------+
 PKGBUILD |   43 ++++++++++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-18 08:21:32 UTC (rev 274711)
+++ PKGBUILD	2017-12-18 08:21:36 UTC (rev 274712)
@@ -1,26 +1,47 @@
 # $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Eric Bélanger <eric at 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
 }



More information about the arch-commits mailing list