mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-03-06 17:01:39 +00:00
aedi: update fluidsynth to 2.4.2
This commit is contained in:
parent
829f4b5997
commit
565766e986
2 changed files with 14 additions and 2 deletions
|
@ -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
|
||||||
|
|
11
patch/fluidsynth-sf3-support.diff
Normal file
11
patch/fluidsynth-sf3-support.diff
Normal 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()
|
Loading…
Reference in a new issue