summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2025-03-21 03:42:43 -0400
committerJason E. Hale <jhale@FreeBSD.org>2025-03-21 04:56:50 -0400
commit31670a219f255531f369c9e66ecaf57b45714beb (patch)
treea0d624f693ab1ce6209193c83b909c43cb92ac57
parentlang/erlang-runtime28: import RC2 from upstream (diff)
audio/fluidsynth: Update to 2.4.4
Support SDL 3.x and group SDL options into a RADIO options group. Note: This is temporary. SDL 2.x support has been deprecated in this release and will be removed in fluidsynth 2.5.x. Add INSTPATCH option. Boy howdy! This has not been re-evaluated in quite a while. Remove unnecessary pthread hack from Makefile. Remove overly paranoid CMake arguments added in c4d5a141aa97. Upstream ships a rather compentent configure process and there is no need to supply unnecessary arguments. https://github.com/FluidSynth/fluidsynth/releases/tag/v2.4.4
-rw-r--r--audio/fluidsynth/Makefile43
-rw-r--r--audio/fluidsynth/distinfo6
-rw-r--r--audio/fluidsynth/pkg-plist2
3 files changed, 23 insertions, 28 deletions
diff --git a/audio/fluidsynth/Makefile b/audio/fluidsynth/Makefile
index 8016f7ebcba0..39df62bf53f6 100644
--- a/audio/fluidsynth/Makefile
+++ b/audio/fluidsynth/Makefile
@@ -1,7 +1,6 @@
PORTNAME= fluidsynth
DISTVERSIONPREFIX= v
-DISTVERSION= 2.4.3
-PORTREVISION= 1
+DISTVERSION= 2.4.4
CATEGORIES= audio
MAINTAINER= multimedia@FreeBSD.org
@@ -17,34 +16,31 @@ GH_ACCOUNT= FluidSynth
USE_GNOME= glib20
USE_LDCONFIG= yes
-LDFLAGS+= -lpthread
-
-# would require unreleased libinstpatch >= 1.1.0
-CMAKE_OFF= enable-dsound \
- enable-libinstpatch \
- enable-midishare \
- enable-waveout \
- enable-winmidi
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Doxygen \
CMAKE_DISABLE_FIND_PACKAGE_Git
-OPTIONS_DEFINE= ALSA DBUS JACK LADSPA PIPEWIRE PORTAUDIO \
- PULSEAUDIO READLINE SDL SNDFILE
+OPTIONS_DEFINE= ALSA DBUS INSTPATCH JACK LADSPA PIPEWIRE PORTAUDIO \
+ PULSEAUDIO READLINE SNDFILE
OPTIONS_DEFAULT= JACK READLINE
+OPTIONS_RADIO= SDL
+OPTIONS_RADIO_SDL= SDL2 SDL3
-SNDFILE_DESC= Support for SF3 files via libsndfile
+INSTPATCH_DESC= Digital sample-based MIDI instrument files support
+SDL2_DESC= Simple Direct Media Layer 2 support
+SDL3_DESC= Simple Direct Media Layer 3 support
+SNDFILE_DESC= Support for SF3 files via libsndfil1e
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CMAKE_BOOL= enable-alsa
-ALSA_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_ALSA:BOOL=True
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
DBUS_CMAKE_BOOL= enable-dbus
-DBUS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_DBus1:BOOL=True
+
+INSTPATCH_LIB_DEPENDS= libinstpatch-1.0.so:audio/libinstpatch
+INSTPATCH_CMAKE_BOOL= enable-libinstpatch
JACK_LIB_DEPENDS= libjack.so:audio/jack
JACK_CMAKE_BOOL= enable-jack
-JACK_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Jack:BOOL=True
LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
LADSPA_RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
@@ -53,24 +49,23 @@ LADSPA_CMAKE_BOOL= enable-ladspa
PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire
PIPEWIRE_CMAKE_BOOL= enable-pipewire
-PIPEWIRE_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PipeWire:BOOL=True
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
PORTAUDIO_CMAKE_BOOL= enable-portaudio
-PORTAUDIO_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:BOOL=True
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CMAKE_BOOL= enable-pulseaudio
-PULSEAUDIO_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:BOOL=True
READLINE_USES= readline
READLINE_CMAKE_BOOL= enable-readline
-READLINE_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Readline:BOOL=True
-SDL_USES= sdl
-SDL_USE= SDL=sdl2
-SDL_CMAKE_BOOL= enable-sdl2
-SDL_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_SDL2:BOOL=True
+SDL2_USES= sdl
+SDL2_USE= SDL=sdl2
+SDL2_CMAKE_BOOL= enable-sdl2
+
+SDL3_USES= sdl
+SDL3_USE= SDL=sdl3
+SDL3_CMAKE_BOOL= enable-sdl3
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
SNDFILE_CMAKE_BOOL= enable-libsndfile
diff --git a/audio/fluidsynth/distinfo b/audio/fluidsynth/distinfo
index 4ed6c660e685..b934935e3073 100644
--- a/audio/fluidsynth/distinfo
+++ b/audio/fluidsynth/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738481027
-SHA256 (FluidSynth-fluidsynth-v2.4.3_GH0.tar.gz) = a92aa83d2ff09a1a6d6186e81d8182bd2958947dffca77a6490ffd41b3ec9dc7
-SIZE (FluidSynth-fluidsynth-v2.4.3_GH0.tar.gz) = 1788637
+TIMESTAMP = 1742534363
+SHA256 (FluidSynth-fluidsynth-v2.4.4_GH0.tar.gz) = fc492a255f453e65ac5b99a25e6ffbe0fbd64d6a4fe824bacd68de16fe8af7ba
+SIZE (FluidSynth-fluidsynth-v2.4.4_GH0.tar.gz) = 1792908
diff --git a/audio/fluidsynth/pkg-plist b/audio/fluidsynth/pkg-plist
index f3ff79d5e174..1c0ef40108a3 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.3.3
+lib/libfluidsynth.so.3.3.4
libdata/pkgconfig/fluidsynth.pc
share/man/man1/fluidsynth.1.gz