mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 21:01:59 +00:00
aedi: remove obsolete target's initialize method
This commit is contained in:
parent
582d6fe497
commit
0a447b3077
3 changed files with 5 additions and 17 deletions
|
@ -76,8 +76,6 @@ class Builder(object):
|
|||
state.jobs = arguments.jobs and arguments.jobs or \
|
||||
subprocess.check_output(['sysctl', '-n', 'hw.ncpu']).decode('ascii').strip()
|
||||
|
||||
self._target.initialize(state)
|
||||
|
||||
def _populate_platforms(self, arguments):
|
||||
state = self._state
|
||||
|
||||
|
|
|
@ -43,9 +43,6 @@ class Target:
|
|||
def prepare_source(self, state: BuildState):
|
||||
pass
|
||||
|
||||
def initialize(self, state: BuildState):
|
||||
pass
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return False
|
||||
|
||||
|
@ -296,10 +293,6 @@ class ConfigureMakeTarget(BuildTarget):
|
|||
super().__init__(name)
|
||||
self.make = MakeTarget(name)
|
||||
|
||||
def initialize(self, state: BuildState):
|
||||
super().initialize(state)
|
||||
self.make.initialize(state)
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
super().configure(state)
|
||||
self.make.configure(state)
|
||||
|
|
|
@ -140,20 +140,17 @@ class LZDoom3Target(ZDoomBaseTarget):
|
|||
super().__init__(name)
|
||||
self.unsupported_architectures = ('arm64',)
|
||||
|
||||
opts = self.options
|
||||
opts['DYN_FLUIDSYNTH'] = 'NO'
|
||||
opts['DYN_MPG123'] = 'NO'
|
||||
opts['DYN_SNDFILE'] = 'NO'
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.checkout_git('https://github.com/drfrag666/gzdoom.git', branch='g3.3mgw')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return os.path.exists(state.source + 'ico_lzdoom.png') and os.path.exists(state.source + 'libraries/zmusic')
|
||||
|
||||
def initialize(self, state: BuildState):
|
||||
super().initialize(state)
|
||||
|
||||
opts = self.options
|
||||
opts['DYN_FLUIDSYNTH'] = 'NO'
|
||||
opts['DYN_MPG123'] = 'NO'
|
||||
opts['DYN_SNDFILE'] = 'NO'
|
||||
|
||||
|
||||
class RazeTarget(ZDoomVulkanBaseTarget):
|
||||
def __init__(self, name='raze'):
|
||||
|
|
Loading…
Reference in a new issue