mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 13:21:05 +00:00
aedi: reorder fmt and freetype targets
This commit is contained in:
parent
77ee4965ea
commit
20963f40ec
1 changed files with 13 additions and 13 deletions
|
@ -48,19 +48,6 @@ class DumbTarget(CMakeStaticDependencyTarget):
|
|||
return line
|
||||
|
||||
|
||||
class FreeTypeTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='freetype'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://downloads.sourceforge.net/project/freetype/freetype2/2.10.4/freetype-2.10.4.tar.xz',
|
||||
'86a854d8905b19698bbc8f23b860bc104246ce4854dcea8e3b0fb21284f75784')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return os.path.exists(state.source + 'include/freetype/freetype.h')
|
||||
|
||||
|
||||
class FmtTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='fmt'):
|
||||
super().__init__(name)
|
||||
|
@ -78,6 +65,19 @@ class FmtTarget(CMakeStaticDependencyTarget):
|
|||
return os.path.exists(state.source + 'include/fmt/format.h')
|
||||
|
||||
|
||||
class FreeTypeTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='freetype'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://downloads.sourceforge.net/project/freetype/freetype2/2.10.4/freetype-2.10.4.tar.xz',
|
||||
'86a854d8905b19698bbc8f23b860bc104246ce4854dcea8e3b0fb21284f75784')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return os.path.exists(state.source + 'include/freetype/freetype.h')
|
||||
|
||||
|
||||
class MadTarget(ConfigureMakeStaticDependencyTarget):
|
||||
def __init__(self, name='mad'):
|
||||
super().__init__(name)
|
||||
|
|
Loading…
Reference in a new issue