Date: Monday, February 19, 2018 @ 12:46:09
  Author: dvzrv
Revision: 296367

upgpkg: snd 18.1-1

Upgrading to 18.1. Removing unneeded dependency gamin. Switching to gtk3.
Switching to https for url and source. Adding all makedepends that upstream 
lists. Adding ruby for scripting support.
Properly listing optdepends. Removing unneeded LDFLAGS. Adding pulseaudio 
backend.
Installing various docs. Minor fixes.

Modified:
  snd/trunk/PKGBUILD

----------+
 PKGBUILD |   49 ++++++++++++++++++++++++++++---------------------
 1 file changed, 28 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-19 12:28:03 UTC (rev 296366)
+++ PKGBUILD    2018-02-19 12:46:09 UTC (rev 296367)
@@ -1,44 +1,51 @@
 # $Id$
+# Maintainer: David Runge <d...@sleepmap.de>
 # Maintainer: Ray Rashif <sc...@archlinux.org>
 # Contributor: Juergen Hoetzel <juer...@archlinux.org>
 # Contributor: see .contrib
 
 pkgname=snd
-pkgver=17.9
+pkgver=18.1
 pkgrel=1
 pkgdesc="An advanced sound editor"
 arch=('x86_64')
-url="http://ccrma.stanford.edu/software/snd/";
+url="https://ccrma.stanford.edu/software/snd/";
 license=('custom:free')
-depends=('jack' 'gamin' 'gsl' 'fftw' 'gtk2' 'libmpc')
-makedepends=('ladspa' 'wavpack' 'flac' 'speex' 'gmp'
-             'timidity++' 'mpg123' 'vorbis-tools')
-optdepends=('wavpack' 'flac' 'speex' 'mpg123'
-            'timidity++' 'vorbis-tools')
-source=("ftp://ccrma-ftp.stanford.edu/pub/Lisp/${pkgname}-${pkgver}.tar.gz";)
-md5sums=('8e04c2eaa794c294a3a2d82a7ef20448')
+depends=('fftw' 'gsl' 'gtk3' 'jack' 'libmpc' 'ruby')
+makedepends=('flac' 'gmp' 'glu' 'ladspa' 'libpulse' 'libxpm' 'mpg123'
+'openmotif' 'speex' 'timidity++' 'vorbis-tools' 'wavpack')
+optdepends=('wavpack: For wav support'
+            'flac: For flac support'
+            'speex: For speex support'
+            'mpg123: For MPEG support'
+            'pulseaudio: For pulseaudio support'
+            'timidity++: For MIDI to WAVE support'
+            'vorbis-tools: For OGG support')
+source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('4843e64a34a531c3d95ad6f9ff65a15c5698631e028bae4aa193bb85f0039b740568d00fd23eea29e0dce1906113dc948f8751b7c443814bc5d51f88c8c182a2')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  LDFLAGS+=" -Wl,-z,noexecstack"
-
+  cd "${pkgname}-${pkgver}"
+#  LDFLAGS+=" -Wl,-z,noexecstack"
   ./configure --prefix=/usr \
               --with-alsa \
+              --with-gmp \
+              --with-gtk \
               --with-jack \
-              --with-gtk \
               --with-ladspa \
-              --with-gmp
+              --with-pulseaudio \
+              --with-ruby
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make prefix="$pkgdir/usr" install
-
-  install -Dm644 COPYING \
-    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  cd "${pkgname}-${pkgver}"
+  make prefix="${pkgdir}/usr" install
+  install -vDm644 COPYING \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -vDm644 HISTORY.Snd  "${pkgdir}/usr/share/doc/${pkgname}/HISTORY"
+  install -vDm644 NEWS "${pkgdir}/usr/share/doc/${pkgname}/NEWS"
+  install -vDm644 README.Snd  "${pkgdir}/usr/share/doc/${pkgname}/README"
 }
 
 # vim:set ts=2 sw=2 et:

Reply via email to