Date: Saturday, November 30, 2019 @ 15:54:49
  Author: dvzrv
Revision: 370179

upgpkg: fluidsynth 2.1.0-1

Upgrading to 2.1.0. Adding sdl2 to depends. Removing unnecessary optdepends. 
Simplifying cmake build. Minor cleanups.

Modified:
  fluidsynth/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-11-30 15:50:15 UTC (rev 370178)
+++ PKGBUILD    2019-11-30 15:54:49 UTC (rev 370179)
@@ -3,7 +3,7 @@
 # Contributor: damir <da...@archlinux.org>
 
 pkgname=fluidsynth
-pkgver=2.0.9
+pkgver=2.1.0
 pkgrel=1
 pkgdesc="A real-time software synthesizer based on the SoundFont 2 
specifications"
 arch=('x86_64')
@@ -11,19 +11,13 @@
 license=('LGPL2.1')
 groups=('pro-audio')
 depends=('alsa-lib' 'glibc' 'glib2' 'libjack.so' 'libportaudio.so' 'libpulse'
-'libreadline.so' 'libsndfile' 'libsystemd.so')
+'libreadline.so' 'libsndfile' 'libsystemd.so' 'sdl2')
 makedepends=('cmake' 'ladspa' 'doxygen')
-optdepends=('pulseaudio: PulseAudio sound support')
 provides=('libfluidsynth.so' 'soundfont-synthesizer')
 backup=("etc/conf.d/$pkgname")
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v$pkgver.tar.gz";)
-sha512sums=('3cc88ed3e83b15d5b3f397f3d93bf85a03dda122b570b8b09e83e9a5d00be7fc0592b2f1088151a1284c6c9125c309efd030f0fb8cb160051863e1a2fea53467')
+sha512sums=('d7af4047ebde49ef48098ae9dbab5d90422a4536acf28a2de32d8da67a50ebbbcf30e06833b630bd54e441040be0e432b377e3b63bf666e63106e69cd408ea0d')
 
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  mkdir -v build
-}
-
 build() {
   cd "${pkgname}-${pkgver}"
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
@@ -31,7 +25,8 @@
         -Denable-ladspa=ON \
         -Denable-portaudio=ON \
         -DLIB_SUFFIX="" \
-        -B build
+        -B build \
+        .
   make -C build VERBOSE=1
 }
 
@@ -49,7 +44,6 @@
   # system-wide configuration file
   install -vDm 644 "build/${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}"
   # docs
-  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README.md,THANKS,TODO} \
+  install -vDm 644 {AUTHORS,ChangeLog,{CONTRIBUTING,README}.md,THANKS,TODO} \
     -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
-

Reply via email to