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

David Runge dvzrv at archlinux.org
Tue May 26 19:01:26 UTC 2020


    Date: Tuesday, May 26, 2020 @ 19:01:25
  Author: dvzrv
Revision: 387607

upgpkg: fluidsynth 2.1.3-1: Upgrading to 2.1.3.

Adding all available sodeps in package() and adding their respective packages to makedepends.
Applying latest cmake packaging guidelines.

Modified:
  fluidsynth/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-26 18:51:03 UTC (rev 387606)
+++ PKGBUILD	2020-05-26 19:01:25 UTC (rev 387607)
@@ -3,7 +3,7 @@
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=fluidsynth
-pkgver=2.1.2
+pkgver=2.1.3
 pkgrel=1
 pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
 arch=('x86_64')
@@ -10,23 +10,27 @@
 url="http://www.fluidsynth.org/"
 license=('LGPL2.1')
 groups=('pro-audio')
-depends=('glibc' 'glib2' 'sdl2')
-makedepends=('alsa-lib' 'cmake' 'dbus' 'doxygen' 'jack' 'ladspa' 'libinstpatch'
-'libpulse' 'libsndfile' 'portaudio' 'readline' 'systemd-libs')
+depends=('glibc' 'sdl2')
+makedepends=('alsa-lib' 'cmake' 'dbus' 'doxygen' 'glib2' 'jack' 'ladspa'
+'libinstpatch' 'libpulse' 'libsndfile' 'portaudio' 'readline' 'systemd-libs')
 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=('ece3328ee94731f347a03f555fd39ead0a50cb24fef5d90dbff22e74db8344c9a68bfaccb76b873bd18a8ac68ee1d7802571e51c938bbf98e424267376f47eb8')
+sha512sums=('cc956a3d8926a5d5368c4d36472a9706e5da1597bab76f1b59132e6253a888f422d9f74723c74f801963a90d9e0f6b36267114cd168977c47b1b935ea3dc8927')
 
 build() {
   cd "${pkgname}-${pkgver}"
+  export CFLAGS+=" ${CPPFLAGS}"
+  export CXXFLAGS+=" ${CPPFLAGS}"
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
         -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \
+        -DCMAKE_BUILD_TYPE='None' \
         -Denable-ladspa=ON \
         -Denable-portaudio=ON \
         -DLIB_SUFFIX="" \
+        -Wno-dev \
         -B build \
-        .
+        -S .
   make -C build VERBOSE=1
 }
 
@@ -36,9 +40,9 @@
 }
 
 package() {
-  depends+=('libasound.so' 'libdbus-1.so' 'libinstpatch-1.0.so' 'libjack.so'
-  'libportaudio.so' 'libpulse-simple.so' 'libreadline.so' 'libsndfile.so'
-  'libsystemd.so')
+  depends+=('libasound.so' 'libdbus-1.so' 'libglib-2.0.so' 'libgmodule-2.0.so'
+  'libgobject-2.0.so' 'libinstpatch-1.0.so' 'libjack.so' 'libportaudio.so'
+  'libpulse-simple.so' 'libreadline.so' 'libsndfile.so' 'libsystemd.so')
   cd "${pkgname}-${pkgver}"
   make -C build DESTDIR="$pkgdir" install
   # systemd user unit



More information about the arch-commits mailing list