mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +00:00
aedi: move ftgl to tier 3
This commit is contained in:
parent
0846f5d4d9
commit
c4880071d3
3 changed files with 22 additions and 22 deletions
|
@ -74,7 +74,6 @@ def targets():
|
|||
ExpatTarget(),
|
||||
FmtTarget(),
|
||||
FreeTypeTarget(),
|
||||
FtglTarget(),
|
||||
GlewTarget(),
|
||||
HarfBuzzTarget(),
|
||||
LuaTarget(),
|
||||
|
@ -102,6 +101,7 @@ def targets():
|
|||
|
||||
# Obsolete libraries without binaries
|
||||
FreeImageTarget(),
|
||||
FtglTarget(),
|
||||
WxWidgetsTarget(),
|
||||
|
||||
# Tools
|
||||
|
|
|
@ -134,27 +134,6 @@ class FreeTypeTarget(CMakeStaticDependencyTarget):
|
|||
self.update_text_file(cmake_module, update_linker_flags)
|
||||
|
||||
|
||||
class FtglTarget(ConfigureMakeStaticDependencyTarget):
|
||||
def __init__(self, name='ftgl'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://downloads.sourceforge.net/project/ftgl/FTGL%20Source/2.1.3~rc5/ftgl-2.1.3-rc5.tar.gz',
|
||||
'5458d62122454869572d39f8aa85745fc05d5518001bcefa63bd6cbb8d26565b',
|
||||
patches='ftgl-support-arm64')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('ftgl.pc.in')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
opts['--with-glut-inc'] = '/dev/null'
|
||||
opts['--with-glut-lib'] = '/dev/null'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
|
||||
class GlewTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='glew'):
|
||||
super().__init__(name)
|
||||
|
|
|
@ -59,6 +59,27 @@ class FreeImageTarget(MakeTarget):
|
|||
self.write_pc_file(state, version='3.18.0', libs='-lfreeimage -lc++')
|
||||
|
||||
|
||||
class FtglTarget(ConfigureMakeStaticDependencyTarget):
|
||||
def __init__(self, name='ftgl'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://downloads.sourceforge.net/project/ftgl/FTGL%20Source/2.1.3~rc5/ftgl-2.1.3-rc5.tar.gz',
|
||||
'5458d62122454869572d39f8aa85745fc05d5518001bcefa63bd6cbb8d26565b',
|
||||
patches='ftgl-support-arm64')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('ftgl.pc.in')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
opts['--with-glut-inc'] = '/dev/null'
|
||||
opts['--with-glut-lib'] = '/dev/null'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
|
||||
class WxWidgetsTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='wxwidgets'):
|
||||
super().__init__(name)
|
||||
|
|
Loading…
Reference in a new issue