aedi: move lua to tier 3

This commit is contained in:
alexey.lysiuk 2022-06-19 09:58:15 +03:00
parent 24c8a6e10d
commit 71d7072c6d
3 changed files with 18 additions and 18 deletions

View file

@ -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

View file

@ -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)

View file

@ -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)