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

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


    Date: Tuesday, May 26, 2020 @ 19:21:36
  Author: dvzrv
Revision: 635225

upgpkg: lib32-fluidsynth 2.1.3-1: Upgrading to 2.1.3.

Pinning the required fluidsynth version.
Applying latest cmake packaging guidelines.

Modified:
  lib32-fluidsynth/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-26 19:21:29 UTC (rev 635224)
+++ PKGBUILD	2020-05-26 19:21:36 UTC (rev 635225)
@@ -7,7 +7,7 @@
 
 pkgname=lib32-fluidsynth
 _name=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')
@@ -14,7 +14,7 @@
 url="https://www.fluidsynth.org/"
 license=('LGPL2.1')
 depends=(
-  fluidsynth
+  fluidsynth=${pkgver}
   lib32-glibc
   lib32-libpulse
   lib32-readline
@@ -33,21 +33,23 @@
 )
 optdepends=('pulseaudio: PulseAudio sound support')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/${_name}/${_name}/archive/v${pkgver}.tar.gz")
-sha256sums=('9206d83b8d2f7e1ec259ee01e943071de67e419aabe142b51312f8edb39c5503')
+sha256sums=('645fbfd7c04543c6d3bf415eab8250527813b8dc8e6d6972dbcc8cb525e1d409')
 
 build() {
   cd "${_name}-${pkgver}"
-
+  export CFLAGS+=" ${CPPFLAGS}"
+  export CXXFLAGS+=" ${CPPFLAGS}"
   export CC='gcc -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-  cmake -DCMAKE_BUILD_TYPE=Release \
-        -DCMAKE_INSTALL_PREFIX=/usr \
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
         -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \
+        -DCMAKE_BUILD_TYPE='None' \
         -DLIB_SUFFIX=32 \
         -Denable-ladspa=ON \
         -Denable-portaudio=ON \
-        -B build
+        -Wno-dev \
+        -B build \
+        -S .
   make -C build VERBOSE=1
 }
 



More information about the arch-commits mailing list