diff mbox series

[meta-multimedia,1/2] fluidsynth: update 2.4.8 -> 2.5.3

Message ID 20260321185219.1746245-1-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-multimedia,1/2] fluidsynth: update 2.4.8 -> 2.5.3 | expand

Commit Message

Markus Volk March 21, 2026, 6:52 p.m. UTC
- update dependency: libsdl2 -> libsdl3
- fetch code for gcem and signalsmith-audio-basics at do_fetch
- update license file checksum [https://github.com/FluidSynth/fluidsynth/commit/db42fa333baf1cb7c60556ab75ad1e592c850f68]

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 ...fluidsynth_2.4.8.bb => fluidsynth_2.5.3.bb} | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
 rename meta-multimedia/recipes-multimedia/fluidsynth/{fluidsynth_2.4.8.bb => fluidsynth_2.5.3.bb} (64%)
diff mbox series

Patch

diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.4.8.bb b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.3.bb
similarity index 64%
rename from meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.4.8.bb
rename to meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.3.bb
index 9d76546641..4dbf4d1fc7 100644
--- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.4.8.bb
+++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.3.bb
@@ -2,24 +2,28 @@  SUMMARY = "Fluidsynth is a software synthesizer"
 HOMEPAGE = "http://www.fluidsynth.org/"
 SECTION = "libs/multimedia"
 LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
 
 DEPENDS = "glib-2.0"
 
 SRC_URI = " \
-    git://github.com/FluidSynth/fluidsynth.git;branch=master;protocol=https \
+    git://github.com/FluidSynth/fluidsynth.git;name=fluidsynth;branch=master;protocol=https \
+    git://github.com/kthohr/gcem.git;name=gcem;subdir=${S}/gcem;protocol=https;nobranch=1 \
+    git://github.com/Signalsmith-Audio/basics.git;name=signalsmith-audio-basics;subdir=${S}/signalsmith-audio-basics;protocol=https;nobranch=1 \
     file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \
 "
-SRCREV = "70a10b365c707c73bd340e28970601d52d425d8c"
-
+SRCREV_FORMAT = "fluidsynth"
+SRCREV_fluidsynth = "6b8fabbd60f0df3b6e2f5b5df8478a1b43315acd"
+SRCREV_gcem = "012ae73c6d0a2cb09ffe86475f5c6fba3926e200"
+SRCREV_signalsmith-audio-basics = "012d2be17b0eb6839628f8c73687c4ccccc1bb01"
 
 inherit cmake pkgconfig lib_package
 
-EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
+EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} -DGCEM_INCLUDE_DIR=${S}/gcem/include"
 
 do_install:append() {
     sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/pkgconfig/fluidsynth.pc
-    sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/cmake/fluidsynth/FluidSynthTargets.cmake
+    sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/cmake/fluidsynth/FluidSynth-shared-targets.cmake
 }
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio pipewire systemd alsa dbus', d)}"
@@ -32,7 +36,7 @@  PACKAGECONFIG[portaudio] = "-Denable-portaudio=ON,-Denable-portaudio=OFF,portaud
 PACKAGECONFIG[profiling] = "-Denable-profiling=ON,-Denable-profiling=OFF"
 PACKAGECONFIG[pulseaudio] = "-Denable-pulseaudio=ON,-Denable-pulseaudio=OFF,pulseaudio"
 PACKAGECONFIG[readline] = "-Denable-readline=ON,-Denable-readline=OFF,readline"
-PACKAGECONFIG[sdl] = "-Denable-sdl2=ON,-Denable-sdl2=OFF,virtual/libsdl2"
+PACKAGECONFIG[sdl] = "-Denable-sdl3=ON,-Denable-sdl3=OFF,libsdl3"
 PACKAGECONFIG[sndfile] = "-Denable-libsndfile=ON,-Denable-libsndfile=OFF,libsndfile1"
 PACKAGECONFIG[systemd] = "-Denable-systemd=ON,-Denable-systemd=OFF,systemd"