similarity index 59%
rename from meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.7.bb
rename to meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.6.2.bb
@@ -1,8 +1,13 @@
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=4bf661c1e3793e55c8d1051bc5e0ae21"
+LICENSE = "LGPL-2.1-only AND Apache-2.0 AND MIT AND 0BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4bf661c1e3793e55c8d1051bc5e0ae21 \
+ file://gcem/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \
+ file://signalsmith-audio-basics/LICENSE.txt;md5=24bc379a8a5433981804371861282220 \
+ file://signalsmith-deps/linear/LICENSE.txt;md5=4c639037b59931f4da681810a23d6afd \
+ file://signalsmith-deps/dsp/LICENSE.txt;md5=10f34296480e9e3fa42e9dd2acfff6a5 \
+ file://signalsmith-deps/hilbert/LICENSE.txt;md5=5ded873b823122eb4fd596677999bbfd"
DEPENDS = "glib-2.0"
@@ -10,16 +15,25 @@ SRC_URI = " \
git://github.com/FluidSynth/fluidsynth.git;name=fluidsynth;nobranch=1;protocol=https;tag=v${PV} \
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 \
+ git://github.com/Signalsmith-Audio/linear.git;name=signalsmith-linear;subdir=${S}/signalsmith-deps/linear;protocol=https;nobranch=1 \
+ git://github.com/Signalsmith-Audio/dsp.git;name=signalsmith-dsp;subdir=${S}/signalsmith-deps/dsp;protocol=https;nobranch=1 \
+ git://github.com/Signalsmith-Audio/hilbert-iir.git;name=signalsmith-hilbert;subdir=${S}/signalsmith-deps/hilbert;protocol=https;nobranch=1 \
file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \
"
SRCREV_FORMAT = "fluidsynth"
-SRCREV_fluidsynth = "3ede3f7c8ffc5d16e5d28f416cbfd71f3ad2b814"
+SRCREV_fluidsynth = "c3b244ddfd094489a5490beee013c621a504adf2"
SRCREV_gcem = "012ae73c6d0a2cb09ffe86475f5c6fba3926e200"
SRCREV_signalsmith-audio-basics = "012d2be17b0eb6839628f8c73687c4ccccc1bb01"
+SRCREV_signalsmith-linear = "5668673560146a9cfe38c25315071e3fd68c8317"
+SRCREV_signalsmith-dsp = "2d20161915e733f117545c6be8cd3275a739a1e3"
+SRCREV_signalsmith-hilbert = "9e42e09714c8215d51eaa1b52a3d54ae8dd2a3a3"
inherit cmake pkgconfig lib_package
-EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} -DGCEM_INCLUDE_DIR=${S}/gcem/include"
+EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} -DGCEM_INCLUDE_DIR=${S}/gcem/include \
+ -DFETCHCONTENT_SOURCE_DIR_SIGNALSMITH-LINEAR=${S}/signalsmith-deps/linear \
+ -DFETCHCONTENT_SOURCE_DIR_SIGNALSMITH-DSP=${S}/signalsmith-deps/dsp \
+ -DFETCHCONTENT_SOURCE_DIR_SIGNALSMITH-HILBERT=${S}/signalsmith-deps/hilbert"
do_install:append() {
sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/pkgconfig/fluidsynth.pc
The bundled signalsmith-basics now uses CMake FetchContent to get the signalsmith linear, dsp and hilbert-iir header libraries, which is not possible in an offline build. Fetch them with the bitbake fetcher and point FETCHCONTENT_SOURCE_DIR_* at them. List the licenses of the bundled header libraries (gcem: Apache-2.0, signalsmith: MIT and 0BSD) in LICENSE. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- ...luidsynth_2.5.7.bb => fluidsynth_2.6.2.bb} | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) rename meta-multimedia/recipes-multimedia/fluidsynth/{fluidsynth_2.5.7.bb => fluidsynth_2.6.2.bb} (59%)