mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 05:11:49 +00:00
aedi: move instpatch target to tier 2
zmusic since version 1.1.11 uses own version of fluidsynth with instpatch disabled
This commit is contained in:
parent
85cef98d27
commit
b5cdda3a49
3 changed files with 27 additions and 27 deletions
|
@ -58,7 +58,6 @@ def targets():
|
||||||
FlacTarget(),
|
FlacTarget(),
|
||||||
GlibTarget(),
|
GlibTarget(),
|
||||||
IconvTarget(),
|
IconvTarget(),
|
||||||
InstPatchTarget(),
|
|
||||||
IntlTarget(),
|
IntlTarget(),
|
||||||
JpegTurboTarget(),
|
JpegTurboTarget(),
|
||||||
LameTarget(),
|
LameTarget(),
|
||||||
|
@ -79,6 +78,7 @@ def targets():
|
||||||
DumbTarget(),
|
DumbTarget(),
|
||||||
FluidSynthTarget(),
|
FluidSynthTarget(),
|
||||||
FmtTarget(),
|
FmtTarget(),
|
||||||
|
InstPatchTarget(),
|
||||||
MadTarget(),
|
MadTarget(),
|
||||||
MikmodTarget(),
|
MikmodTarget(),
|
||||||
ModPlugTarget(),
|
ModPlugTarget(),
|
||||||
|
|
|
@ -164,32 +164,6 @@ class IconvTarget(base.ConfigureMakeStaticDependencyTarget):
|
||||||
super().configure(state)
|
super().configure(state)
|
||||||
|
|
||||||
|
|
||||||
class InstPatchTarget(base.CMakeStaticDependencyTarget):
|
|
||||||
def __init__(self, name='instpatch'):
|
|
||||||
super().__init__(name)
|
|
||||||
|
|
||||||
def prepare_source(self, state: BuildState):
|
|
||||||
state.download_source(
|
|
||||||
'https://github.com/swami/libinstpatch/archive/v1.1.6.tar.gz',
|
|
||||||
'8e9861b04ede275d712242664dab6ffa9166c7940fea3b017638681d25e10299')
|
|
||||||
|
|
||||||
def configure(self, state: BuildState):
|
|
||||||
state.options['LIB_SUFFIX'] = None
|
|
||||||
|
|
||||||
# Workaround for missing frameworks in dependencies, no clue what's wrong at the moment
|
|
||||||
state.environment['LDFLAGS'] = '-framework CoreFoundation -framework Foundation'
|
|
||||||
|
|
||||||
super().configure(state)
|
|
||||||
|
|
||||||
def post_build(self, state: BuildState):
|
|
||||||
super().post_build(state)
|
|
||||||
|
|
||||||
# Remove extra directory from include path
|
|
||||||
include_path = state.install_path / 'include'
|
|
||||||
include_subpath = include_path / 'libinstpatch-2/libinstpatch'
|
|
||||||
shutil.move(str(include_subpath), include_path)
|
|
||||||
|
|
||||||
|
|
||||||
class IntlTarget(GettextTarget):
|
class IntlTarget(GettextTarget):
|
||||||
def __init__(self, name='intl'):
|
def __init__(self, name='intl'):
|
||||||
super().__init__(name)
|
super().__init__(name)
|
||||||
|
|
|
@ -88,6 +88,32 @@ class FmtTarget(base.CMakeStaticDependencyTarget):
|
||||||
super().configure(state)
|
super().configure(state)
|
||||||
|
|
||||||
|
|
||||||
|
class InstPatchTarget(base.CMakeStaticDependencyTarget):
|
||||||
|
def __init__(self, name='instpatch'):
|
||||||
|
super().__init__(name)
|
||||||
|
|
||||||
|
def prepare_source(self, state: BuildState):
|
||||||
|
state.download_source(
|
||||||
|
'https://github.com/swami/libinstpatch/archive/v1.1.6.tar.gz',
|
||||||
|
'8e9861b04ede275d712242664dab6ffa9166c7940fea3b017638681d25e10299')
|
||||||
|
|
||||||
|
def configure(self, state: BuildState):
|
||||||
|
state.options['LIB_SUFFIX'] = None
|
||||||
|
|
||||||
|
# Workaround for missing frameworks in dependencies, no clue what's wrong at the moment
|
||||||
|
state.environment['LDFLAGS'] = '-framework CoreFoundation -framework Foundation'
|
||||||
|
|
||||||
|
super().configure(state)
|
||||||
|
|
||||||
|
def post_build(self, state: BuildState):
|
||||||
|
super().post_build(state)
|
||||||
|
|
||||||
|
# Remove extra directory from include path
|
||||||
|
include_path = state.install_path / 'include'
|
||||||
|
include_subpath = include_path / 'libinstpatch-2/libinstpatch'
|
||||||
|
shutil.move(str(include_subpath), include_path)
|
||||||
|
|
||||||
|
|
||||||
class MadTarget(base.ConfigureMakeStaticDependencyTarget):
|
class MadTarget(base.ConfigureMakeStaticDependencyTarget):
|
||||||
def __init__(self, name='mad'):
|
def __init__(self, name='mad'):
|
||||||
super().__init__(name)
|
super().__init__(name)
|
||||||
|
|
Loading…
Reference in a new issue