mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 12:01:27 +00:00
aedi: rearrange tools targets in alphabetical order
This commit is contained in:
parent
1528a03c29
commit
41e69979d9
1 changed files with 13 additions and 13 deletions
|
@ -207,19 +207,6 @@ class PkgConfigTarget(ConfigureMakeDependencyTarget):
|
|||
self.copy_to_bin(state, new_filename=self.name + '.exe')
|
||||
|
||||
|
||||
class YasmTarget(ConfigureMakeDependencyTarget):
|
||||
def __init__(self, name='yasm'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz',
|
||||
'3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('libyasm.h')
|
||||
|
||||
|
||||
class UnrarTarget(MakeTarget):
|
||||
def __init__(self, name='unrar'):
|
||||
super().__init__(name)
|
||||
|
@ -236,6 +223,19 @@ class UnrarTarget(MakeTarget):
|
|||
return state.has_source_file('rar.hpp')
|
||||
|
||||
|
||||
class YasmTarget(ConfigureMakeDependencyTarget):
|
||||
def __init__(self, name='yasm'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz',
|
||||
'3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('libyasm.h')
|
||||
|
||||
|
||||
class ZipTarget(MakeTarget):
|
||||
def __init__(self, name='zip'):
|
||||
super().__init__(name)
|
||||
|
|
Loading…
Reference in a new issue