git: 7c2f46c8e62b - main - audio/fluidsynth: Update to upstream relese 2.3.2

From: Thomas Zander <riggs_at_FreeBSD.org>
Date: Mon, 17 Apr 2023 06:05:42 UTC
The branch main has been updated by riggs:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7c2f46c8e62bc4fec12e086143bdd0e38f787de4

commit 7c2f46c8e62bc4fec12e086143bdd0e38f787de4
Author:     Thomas Zander <riggs@FreeBSD.org>
AuthorDate: 2023-04-17 06:03:40 +0000
Commit:     Thomas Zander <riggs@FreeBSD.org>
CommitDate: 2023-04-17 06:05:40 +0000

    audio/fluidsynth: Update to upstream relese 2.3.2
    
    MFH:            2023Q2
---
 audio/fluidsynth/Makefile                       |  2 +-
 audio/fluidsynth/distinfo                       |  6 +++---
 audio/fluidsynth/files/patch-src_CMakeLists.txt | 14 +++++++-------
 audio/fluidsynth/pkg-plist                      |  2 +-
 4 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/audio/fluidsynth/Makefile b/audio/fluidsynth/Makefile
index 06bd4adbc0a8..e9bdb2d4939d 100644
--- a/audio/fluidsynth/Makefile
+++ b/audio/fluidsynth/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fluidsynth
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3.1
+DISTVERSION=	2.3.2
 CATEGORIES=	audio
 
 MAINTAINER=	multimedia@FreeBSD.org
diff --git a/audio/fluidsynth/distinfo b/audio/fluidsynth/distinfo
index 87d0738a0804..199bc9b87e2e 100644
--- a/audio/fluidsynth/distinfo
+++ b/audio/fluidsynth/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1672385297
-SHA256 (FluidSynth-fluidsynth-v2.3.1_GH0.tar.gz) = d734e4cf488be763cf123e5976f3154f0094815093eecdf71e0e9ae148431883
-SIZE (FluidSynth-fluidsynth-v2.3.1_GH0.tar.gz) = 1758632
+TIMESTAMP = 1681659827
+SHA256 (FluidSynth-fluidsynth-v2.3.2_GH0.tar.gz) = cd610810f30566e28fb98c36501f00446a06fa6bae3dc562c8cd3868fe1c0fc7
+SIZE (FluidSynth-fluidsynth-v2.3.2_GH0.tar.gz) = 1773755
diff --git a/audio/fluidsynth/files/patch-src_CMakeLists.txt b/audio/fluidsynth/files/patch-src_CMakeLists.txt
index c1de696660a8..86b7a19d9a72 100644
--- a/audio/fluidsynth/files/patch-src_CMakeLists.txt
+++ b/audio/fluidsynth/files/patch-src_CMakeLists.txt
@@ -1,4 +1,4 @@
---- src/CMakeLists.txt.orig	2022-12-28 11:43:59 UTC
+--- src/CMakeLists.txt.orig	2023-04-02 15:54:17 UTC
 +++ src/CMakeLists.txt
 @@ -25,6 +25,11 @@ if ( PULSE_SUPPORT )
    set ( fluid_pulse_SOURCES drivers/fluid_pulse.c )
@@ -12,7 +12,7 @@
  if ( ALSA_SUPPORT )
    set ( fluid_alsa_SOURCES drivers/fluid_alsa.c )
  endif ( ALSA_SUPPORT )
-@@ -245,6 +250,7 @@ add_library ( libfluidsynth-OBJ OBJECT
+@@ -244,6 +249,7 @@ add_library ( libfluidsynth-OBJ OBJECT
      ${fluid_oss_SOURCES}
      ${fluid_portaudio_SOURCES}
      ${fluid_pulse_SOURCES}
@@ -20,14 +20,14 @@
      ${fluid_dsound_SOURCES}
      ${fluid_wasapi_SOURCES}
      ${fluid_waveout_SOURCES}
-@@ -360,6 +366,10 @@ endif()
- 
- if ( TARGET PkgConfig::PULSE AND PULSE_SUPPORT )
-     target_link_libraries ( libfluidsynth-OBJ PUBLIC PkgConfig::PULSE )
+@@ -362,6 +368,10 @@ endif()
+ if ( PULSE_SUPPORT )
+     target_include_directories( libfluidsynth-OBJ PRIVATE ${PULSEAUDIO_INCLUDE_DIRS} )
+     target_link_libraries ( libfluidsynth-OBJ PUBLIC ${PULSEAUDIO_LIBRARIES} )
 +endif()
 +
 +if ( SNDIO_SUPPORT)
 +    target_link_libraries ( libfluidsynth-OBJ PUBLIC ${SNDIO_LIBRARIES} )
  endif()
  
- if ( ALSA_SUPPORT )
+ if ( TARGET ALSA::ALSA AND ALSA_SUPPORT )
diff --git a/audio/fluidsynth/pkg-plist b/audio/fluidsynth/pkg-plist
index 55c988f54edd..4b684cf7ac8a 100644
--- a/audio/fluidsynth/pkg-plist
+++ b/audio/fluidsynth/pkg-plist
@@ -23,6 +23,6 @@ lib/cmake/fluidsynth/FluidSynthTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/fluidsynth/FluidSynthTargets.cmake
 lib/libfluidsynth.so
 lib/libfluidsynth.so.3
-lib/libfluidsynth.so.3.1.4
+lib/libfluidsynth.so.3.2.0
 libdata/pkgconfig/fluidsynth.pc
 share/man/man1/fluidsynth.1.gz