aedi: update fluidsynth to 2.4.2

This commit is contained in:
alexey.lysiuk 2024-12-31 16:38:15 +02:00
parent 829f4b5997
commit 565766e986
2 changed files with 14 additions and 2 deletions

View file

@ -54,8 +54,9 @@ class FluidSynthTarget(base.CMakeStaticDependencyTarget):
def prepare_source(self, state: BuildState): def prepare_source(self, state: BuildState):
state.download_source( state.download_source(
'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.4.1.tar.gz', 'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.4.2.tar.gz',
'd1e64155ac902116ed3d4dea512719d8c04ab3877db2e8fb160284379f570a2f') '22797942575e10347dab52ec43ebb9d3ace1d9b8569b271f434e2e1b1a4fe897',
patches='fluidsynth-sf3-support')
def configure(self, state: BuildState): def configure(self, state: BuildState):
opts = state.options opts = state.options

View file

@ -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()