mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-16 16:41:42 +00:00
aedi: update fluidsynth to 2.2.2
This commit is contained in:
parent
da5340e6de
commit
a620563ee3
1 changed files with 2 additions and 13 deletions
|
@ -115,8 +115,8 @@ class FluidSynthTarget(CMakeStaticDependencyTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.2.1.tar.gz',
|
||||
'1c56660f23f6c406b36646cc619fc2d2a5265d1d3290e79bcef4505bcd985fdd')
|
||||
'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.2.2.tar.gz',
|
||||
'695aedbfd53160fef7a9a1f66cd6d5cc8a5da0fd472eee458d82b848b6065f9a')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return os.path.exists(state.source + 'fluidsynth.pc.in')
|
||||
|
@ -126,17 +126,6 @@ class FluidSynthTarget(CMakeStaticDependencyTarget):
|
|||
self.options['CMAKE_EXE_LINKER_FLAGS'] = state.run_pkg_config('--libs', 'glib-2.0')
|
||||
super().configure(state)
|
||||
|
||||
@staticmethod
|
||||
def _process_pkg_config(pcfile: str, line: str) -> str:
|
||||
if line.startswith('Version:'):
|
||||
# Add instpatch as private dependency which pulls all necessary libraries
|
||||
return line + 'Requires.private: libinstpatch-1.0' + os.linesep
|
||||
elif line.startswith('Libs:'):
|
||||
# Add missing system frameworks to link with
|
||||
return line + 'Libs.private: -framework AudioUnit -framework CoreAudio -framework CoreMIDI' + os.linesep
|
||||
|
||||
return line
|
||||
|
||||
|
||||
class GettextTarget(ConfigureMakeStaticDependencyTarget):
|
||||
def __init__(self, name='gettext'):
|
||||
|
|
Loading…
Reference in a new issue