mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
aedi: move jpeg-turbo target to tier 2
gzdoom and raze no longer depend on it
This commit is contained in:
parent
b92061aacb
commit
1244e6e3e6
3 changed files with 18 additions and 18 deletions
|
@ -60,7 +60,6 @@ def targets():
|
||||||
GlibTarget(),
|
GlibTarget(),
|
||||||
IconvTarget(),
|
IconvTarget(),
|
||||||
IntlTarget(),
|
IntlTarget(),
|
||||||
JpegTurboTarget(),
|
|
||||||
LameTarget(),
|
LameTarget(),
|
||||||
MoltenVKTarget(),
|
MoltenVKTarget(),
|
||||||
Mpg123Target(),
|
Mpg123Target(),
|
||||||
|
@ -81,6 +80,7 @@ def targets():
|
||||||
FluidSynthTarget(),
|
FluidSynthTarget(),
|
||||||
FmtTarget(),
|
FmtTarget(),
|
||||||
InstPatchTarget(),
|
InstPatchTarget(),
|
||||||
|
JpegTurboTarget(),
|
||||||
MadTarget(),
|
MadTarget(),
|
||||||
MikmodTarget(),
|
MikmodTarget(),
|
||||||
ModPlugTarget(),
|
ModPlugTarget(),
|
||||||
|
|
|
@ -190,23 +190,6 @@ class IntlTarget(GettextTarget):
|
||||||
self.install(state, state.options)
|
self.install(state, state.options)
|
||||||
|
|
||||||
|
|
||||||
class JpegTurboTarget(base.CMakeStaticDependencyTarget):
|
|
||||||
def __init__(self, name='jpeg-turbo'):
|
|
||||||
super().__init__(name)
|
|
||||||
|
|
||||||
def prepare_source(self, state: BuildState):
|
|
||||||
state.download_source(
|
|
||||||
'https://downloads.sourceforge.net/project/libjpeg-turbo/3.0.0/libjpeg-turbo-3.0.0.tar.gz',
|
|
||||||
'c77c65fcce3d33417b2e90432e7a0eb05f59a7fff884022a9d931775d583bfaa')
|
|
||||||
|
|
||||||
def configure(self, state: BuildState):
|
|
||||||
opts = state.options
|
|
||||||
opts['ENABLE_SHARED'] = 'NO'
|
|
||||||
opts['WITH_TURBOJPEG'] = 'NO'
|
|
||||||
|
|
||||||
super().configure(state)
|
|
||||||
|
|
||||||
|
|
||||||
class LameTarget(base.ConfigureMakeStaticDependencyTarget):
|
class LameTarget(base.ConfigureMakeStaticDependencyTarget):
|
||||||
def __init__(self, name='lame'):
|
def __init__(self, name='lame'):
|
||||||
super().__init__(name)
|
super().__init__(name)
|
||||||
|
|
|
@ -114,6 +114,23 @@ class InstPatchTarget(base.CMakeStaticDependencyTarget):
|
||||||
shutil.move(str(include_subpath), include_path)
|
shutil.move(str(include_subpath), include_path)
|
||||||
|
|
||||||
|
|
||||||
|
class JpegTurboTarget(base.CMakeStaticDependencyTarget):
|
||||||
|
def __init__(self, name='jpeg-turbo'):
|
||||||
|
super().__init__(name)
|
||||||
|
|
||||||
|
def prepare_source(self, state: BuildState):
|
||||||
|
state.download_source(
|
||||||
|
'https://downloads.sourceforge.net/project/libjpeg-turbo/3.0.0/libjpeg-turbo-3.0.0.tar.gz',
|
||||||
|
'c77c65fcce3d33417b2e90432e7a0eb05f59a7fff884022a9d931775d583bfaa')
|
||||||
|
|
||||||
|
def configure(self, state: BuildState):
|
||||||
|
opts = state.options
|
||||||
|
opts['ENABLE_SHARED'] = 'NO'
|
||||||
|
opts['WITH_TURBOJPEG'] = 'NO'
|
||||||
|
|
||||||
|
super().configure(state)
|
||||||
|
|
||||||
|
|
||||||
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