mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-29 07:02:27 +00:00
aedi: move zstd to tier 3
This commit is contained in:
parent
4beefaec2a
commit
22d6948f3d
3 changed files with 19 additions and 19 deletions
|
@ -88,7 +88,6 @@ def targets():
|
||||||
VulkanLoaderTarget(),
|
VulkanLoaderTarget(),
|
||||||
WebpTarget(),
|
WebpTarget(),
|
||||||
XmpTarget(),
|
XmpTarget(),
|
||||||
ZstdTarget(),
|
|
||||||
|
|
||||||
# Obsolete libraries without binaries
|
# Obsolete libraries without binaries
|
||||||
BrotliTarget(),
|
BrotliTarget(),
|
||||||
|
@ -103,6 +102,7 @@ def targets():
|
||||||
SfmlTarget(),
|
SfmlTarget(),
|
||||||
TiffTarget(),
|
TiffTarget(),
|
||||||
WxWidgetsTarget(),
|
WxWidgetsTarget(),
|
||||||
|
ZstdTarget(),
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
BuildCMakeTarget(),
|
BuildCMakeTarget(),
|
||||||
|
|
|
@ -427,21 +427,3 @@ class XmpTarget(ConfigureMakeStaticDependencyTarget):
|
||||||
def configure(self, state: BuildState):
|
def configure(self, state: BuildState):
|
||||||
state.options['--enable-static'] = None
|
state.options['--enable-static'] = None
|
||||||
super().configure(state)
|
super().configure(state)
|
||||||
|
|
||||||
|
|
||||||
class ZstdTarget(CMakeStaticDependencyTarget):
|
|
||||||
def __init__(self, name='zstd'):
|
|
||||||
super().__init__(name)
|
|
||||||
self.src_root = 'build/cmake'
|
|
||||||
|
|
||||||
def prepare_source(self, state: BuildState):
|
|
||||||
state.download_source(
|
|
||||||
'https://github.com/facebook/zstd/releases/download/v1.5.0/zstd-1.5.0.tar.gz',
|
|
||||||
'5194fbfa781fcf45b98c5e849651aa7b3b0a008c6b72d4a0db760f3002291e94')
|
|
||||||
|
|
||||||
def configure(self, state: BuildState):
|
|
||||||
opts = state.options
|
|
||||||
opts['ZSTD_BUILD_PROGRAMS'] = 'NO'
|
|
||||||
opts['ZSTD_BUILD_SHARED'] = 'NO'
|
|
||||||
|
|
||||||
super().configure(state)
|
|
||||||
|
|
|
@ -387,3 +387,21 @@ class WxWidgetsTarget(CMakeStaticDependencyTarget):
|
||||||
|
|
||||||
wx_config_path = state.install_path / 'bin/wx-config'
|
wx_config_path = state.install_path / 'bin/wx-config'
|
||||||
self.update_text_file(wx_config_path, patch_wx_config)
|
self.update_text_file(wx_config_path, patch_wx_config)
|
||||||
|
|
||||||
|
|
||||||
|
class ZstdTarget(CMakeStaticDependencyTarget):
|
||||||
|
def __init__(self, name='zstd'):
|
||||||
|
super().__init__(name)
|
||||||
|
self.src_root = 'build/cmake'
|
||||||
|
|
||||||
|
def prepare_source(self, state: BuildState):
|
||||||
|
state.download_source(
|
||||||
|
'https://github.com/facebook/zstd/releases/download/v1.5.0/zstd-1.5.0.tar.gz',
|
||||||
|
'5194fbfa781fcf45b98c5e849651aa7b3b0a008c6b72d4a0db760f3002291e94')
|
||||||
|
|
||||||
|
def configure(self, state: BuildState):
|
||||||
|
opts = state.options
|
||||||
|
opts['ZSTD_BUILD_PROGRAMS'] = 'NO'
|
||||||
|
opts['ZSTD_BUILD_SHARED'] = 'NO'
|
||||||
|
|
||||||
|
super().configure(state)
|
||||||
|
|
Loading…
Reference in a new issue