mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 04:41:37 +00:00
aedi: move jpeg-turbo target to tier 3
This commit is contained in:
parent
7cedc27f0e
commit
84beb8033c
3 changed files with 18 additions and 18 deletions
|
@ -80,7 +80,6 @@ def targets():
|
|||
FluidSynthTarget(),
|
||||
FmtTarget(),
|
||||
InstPatchTarget(),
|
||||
JpegTurboTarget(),
|
||||
MadTarget(),
|
||||
MikmodTarget(),
|
||||
ModPlugTarget(),
|
||||
|
@ -106,6 +105,7 @@ def targets():
|
|||
GlewTarget(),
|
||||
HarfBuzzTarget(),
|
||||
HighwayTarget(),
|
||||
JpegTurboTarget(),
|
||||
LuaTarget(),
|
||||
LzmaTarget(),
|
||||
Sdl2TtfTarget(),
|
||||
|
|
|
@ -114,23 +114,6 @@ class InstPatchTarget(base.CMakeStaticDependencyTarget):
|
|||
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):
|
||||
def __init__(self, name='mad'):
|
||||
super().__init__(name)
|
||||
|
|
|
@ -250,6 +250,23 @@ class HighwayTarget(base.CMakeStaticDependencyTarget):
|
|||
super().configure(state)
|
||||
|
||||
|
||||
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 LuaTarget(base.MakeTarget):
|
||||
def __init__(self, name='lua'):
|
||||
super().__init__(name)
|
||||
|
|
Loading…
Reference in a new issue