mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 21:01:59 +00:00
aedi: move highway target to tier 3
This commit is contained in:
parent
97f7b194d3
commit
8b7cf20552
3 changed files with 19 additions and 19 deletions
|
@ -58,7 +58,6 @@ def targets():
|
|||
FfiTarget(),
|
||||
FlacTarget(),
|
||||
GlibTarget(),
|
||||
HighwayTarget(),
|
||||
IconvTarget(),
|
||||
IntlTarget(),
|
||||
JpegTurboTarget(),
|
||||
|
@ -105,6 +104,7 @@ def targets():
|
|||
FtglTarget(),
|
||||
GlewTarget(),
|
||||
HarfBuzzTarget(),
|
||||
HighwayTarget(),
|
||||
LuaTarget(),
|
||||
LzmaTarget(),
|
||||
Sdl2TtfTarget(),
|
||||
|
|
|
@ -175,24 +175,6 @@ class GlibTarget(base.MesonTarget):
|
|||
return 'exec_prefix=${prefix}\n' + line if line.startswith('libdir=') else line
|
||||
|
||||
|
||||
class HighwayTarget(base.CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='highway'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/google/highway/archive/refs/tags/1.0.6.tar.gz',
|
||||
'd89664a045a41d822146e787bceeefbf648cc228ce354f347b18f2b419e57207')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
opts['HWY_ENABLE_CONTRIB'] = 'NO'
|
||||
opts['HWY_ENABLE_EXAMPLES'] = 'NO'
|
||||
opts['HWY_ENABLE_TESTS'] = 'NO'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
|
||||
class IconvTarget(base.ConfigureMakeStaticDependencyTarget):
|
||||
def __init__(self, name='iconv'):
|
||||
super().__init__(name)
|
||||
|
|
|
@ -204,6 +204,24 @@ class HarfBuzzTarget(base.CMakeStaticDependencyTarget):
|
|||
libs_private='-lc++ -framework CoreFoundation -framework CoreGraphics -framework CoreText')
|
||||
|
||||
|
||||
class HighwayTarget(base.CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='highway'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/google/highway/archive/refs/tags/1.0.6.tar.gz',
|
||||
'd89664a045a41d822146e787bceeefbf648cc228ce354f347b18f2b419e57207')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
opts['HWY_ENABLE_CONTRIB'] = 'NO'
|
||||
opts['HWY_ENABLE_EXAMPLES'] = 'NO'
|
||||
opts['HWY_ENABLE_TESTS'] = 'NO'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
|
||||
class LuaTarget(base.MakeTarget):
|
||||
def __init__(self, name='lua'):
|
||||
super().__init__(name)
|
||||
|
|
Loading…
Reference in a new issue