mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +00:00
aedi: move expat to tier 3
This commit is contained in:
parent
958c86fc6a
commit
faa99158f1
3 changed files with 19 additions and 19 deletions
|
@ -71,7 +71,6 @@ def targets():
|
|||
# Libraries needed for other targets
|
||||
BrotliTarget(),
|
||||
DumbTarget(),
|
||||
ExpatTarget(),
|
||||
FmtTarget(),
|
||||
FreeTypeTarget(),
|
||||
GlewTarget(),
|
||||
|
@ -100,6 +99,7 @@ def targets():
|
|||
ZstdTarget(),
|
||||
|
||||
# Obsolete libraries without binaries
|
||||
ExpatTarget(),
|
||||
FreeImageTarget(),
|
||||
FtglTarget(),
|
||||
WxWidgetsTarget(),
|
||||
|
|
|
@ -72,24 +72,6 @@ class DumbTarget(CMakeStaticDependencyTarget):
|
|||
return 'Libs: -L${libdir} -ldumb\n' if line.startswith('Libs:') else line
|
||||
|
||||
|
||||
class ExpatTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='expat'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.xz',
|
||||
'cf032d0dba9b928636548e32b327a2d66b1aab63c4f4a13dd132c2d1d2f2fb6a')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
opts['EXPAT_BUILD_EXAMPLES'] = 'NO'
|
||||
opts['EXPAT_BUILD_TESTS'] = 'NO'
|
||||
opts['EXPAT_BUILD_TOOLS'] = 'NO'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
|
||||
class FmtTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='fmt'):
|
||||
super().__init__(name)
|
||||
|
|
|
@ -19,6 +19,24 @@
|
|||
from .base import *
|
||||
|
||||
|
||||
class ExpatTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='expat'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.xz',
|
||||
'cf032d0dba9b928636548e32b327a2d66b1aab63c4f4a13dd132c2d1d2f2fb6a')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
opts['EXPAT_BUILD_EXAMPLES'] = 'NO'
|
||||
opts['EXPAT_BUILD_TESTS'] = 'NO'
|
||||
opts['EXPAT_BUILD_TOOLS'] = 'NO'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
|
||||
class FreeImageTarget(MakeTarget):
|
||||
def __init__(self, name='freeimage'):
|
||||
super().__init__(name)
|
||||
|
|
Loading…
Reference in a new issue