mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
aedi: move lua to tier 3
This commit is contained in:
parent
24c8a6e10d
commit
71d7072c6d
3 changed files with 18 additions and 18 deletions
|
@ -74,7 +74,6 @@ def targets():
|
|||
FmtTarget(),
|
||||
FreeTypeTarget(),
|
||||
HarfBuzzTarget(),
|
||||
LuaTarget(),
|
||||
LzmaTarget(),
|
||||
MadTarget(),
|
||||
MikmodTarget(),
|
||||
|
@ -102,6 +101,7 @@ def targets():
|
|||
FreeImageTarget(),
|
||||
FtglTarget(),
|
||||
GlewTarget(),
|
||||
LuaTarget(),
|
||||
WxWidgetsTarget(),
|
||||
|
||||
# Tools
|
||||
|
|
|
@ -150,23 +150,6 @@ class HarfBuzzTarget(CMakeStaticDependencyTarget):
|
|||
libs_private='-lc++ -framework CoreFoundation -framework CoreGraphics -framework CoreText')
|
||||
|
||||
|
||||
class LuaTarget(MakeTarget):
|
||||
def __init__(self, name='lua'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://www.lua.org/ftp/lua-5.4.3.tar.gz',
|
||||
'f8612276169e3bfcbcfb8f226195bfc6e466fe13042f1076cbde92b7ec96bbfb')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('src/lua.h')
|
||||
|
||||
def post_build(self, state: BuildState):
|
||||
state.options['INSTALL_TOP'] = state.install_path
|
||||
self.install(state, state.options)
|
||||
|
||||
|
||||
class LzmaTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='lzma'):
|
||||
super().__init__(name)
|
||||
|
|
|
@ -138,6 +138,23 @@ class GlewTarget(CMakeStaticDependencyTarget):
|
|||
return line
|
||||
|
||||
|
||||
class LuaTarget(MakeTarget):
|
||||
def __init__(self, name='lua'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://www.lua.org/ftp/lua-5.4.3.tar.gz',
|
||||
'f8612276169e3bfcbcfb8f226195bfc6e466fe13042f1076cbde92b7ec96bbfb')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('src/lua.h')
|
||||
|
||||
def post_build(self, state: BuildState):
|
||||
state.options['INSTALL_TOP'] = state.install_path
|
||||
self.install(state, state.options)
|
||||
|
||||
|
||||
class WxWidgetsTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='wxwidgets'):
|
||||
super().__init__(name)
|
||||
|
|
Loading…
Reference in a new issue