From 565766e986a10bc39ebc6867599f0cb07ba1e116 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 31 Dec 2024 16:38:15 +0200 Subject: [PATCH] aedi: update fluidsynth to 2.4.2 --- aedi/target/library_tier2.py | 5 +++-- patch/fluidsynth-sf3-support.diff | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 patch/fluidsynth-sf3-support.diff diff --git a/aedi/target/library_tier2.py b/aedi/target/library_tier2.py index 3848160d..ba65d8d6 100644 --- a/aedi/target/library_tier2.py +++ b/aedi/target/library_tier2.py @@ -54,8 +54,9 @@ def __init__(self, name='fluidsynth'): def prepare_source(self, state: BuildState): state.download_source( - 'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.4.1.tar.gz', - 'd1e64155ac902116ed3d4dea512719d8c04ab3877db2e8fb160284379f570a2f') + 'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.4.2.tar.gz', + '22797942575e10347dab52ec43ebb9d3ace1d9b8569b271f434e2e1b1a4fe897', + patches='fluidsynth-sf3-support') def configure(self, state: BuildState): opts = state.options diff --git a/patch/fluidsynth-sf3-support.diff b/patch/fluidsynth-sf3-support.diff new file mode 100644 index 00000000..03eb4454 --- /dev/null +++ b/patch/fluidsynth-sf3-support.diff @@ -0,0 +1,11 @@ +--- a/cmake_admin/FindSndFileLegacy.cmake ++++ b/cmake_admin/FindSndFileLegacy.cmake +@@ -70,7 +70,7 @@ + + # Check the features SndFile was built with + # 2024-01-02: Recent versions of libsndfile don't seem to provide a pkgconfig file and older version who did are lacking private libraries like OGG. +-if(FALSE) #PC_SNDFILE_FOUND ++if(TRUE) #PC_SNDFILE_FOUND + if("vorbis" IN_LIST PC_SNDFILE_STATIC_LIBRARIES) + set(SndFile_WITH_EXTERNAL_LIBS TRUE) + endif()