mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
aedi: patch fluidsynth sf3 support
detection of sndfile vorbis/mpeg support is a bit broken right now * native target doesn't detect it because of missing flac symbols, can be fixes with `-lFLAC` linker option * cross-compiled target doesn't detect it even with the given linker option
This commit is contained in:
parent
987517e7ff
commit
e7336c4e8c
2 changed files with 13 additions and 1 deletions
|
@ -55,7 +55,8 @@ class FluidSynthTarget(base.CMakeStaticDependencyTarget):
|
|||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.3.5.tar.gz',
|
||||
'f89e8e983ecfb4a5b4f5d8c2b9157ed18d15ed2e36246fa782f18abaea550e0d')
|
||||
'f89e8e983ecfb4a5b4f5d8c2b9157ed18d15ed2e36246fa782f18abaea550e0d',
|
||||
patches='fluidsynth-sf3-support')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
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/FindSndFile.cmake
|
||||
+++ b/cmake_admin/FindSndFile.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