mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +00:00
build script: move ogg target into proper location
This commit is contained in:
parent
2cf7d7956c
commit
f2f0711295
1 changed files with 13 additions and 13 deletions
26
build.py
26
build.py
|
@ -832,19 +832,6 @@ class NasmTarget(ConfigureMakeDependencyTarget):
|
|||
return os.path.exists(builder.source_path + 'nasm.txt')
|
||||
|
||||
|
||||
class OggTarget(ConfigureMakeStaticDependencyTarget):
|
||||
def __init__(self, name='ogg'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, builder: 'Builder'):
|
||||
builder.download_source(
|
||||
'https://downloads.xiph.org/releases/ogg/libogg-1.3.4.tar.gz',
|
||||
'fe5670640bd49e828d64d2879c31cb4dde9758681bb664f9bdbf159a01b0c76e')
|
||||
|
||||
def detect(self, builder: 'Builder') -> bool:
|
||||
return os.path.exists(builder.source_path + 'ogg.pc.in')
|
||||
|
||||
|
||||
class NinjaTarget(MakeTarget):
|
||||
def __init__(self, name='ninja'):
|
||||
super().__init__(name)
|
||||
|
@ -867,6 +854,19 @@ class NinjaTarget(MakeTarget):
|
|||
shutil.copy(builder.build_path + self.name, dest_path)
|
||||
|
||||
|
||||
class OggTarget(ConfigureMakeStaticDependencyTarget):
|
||||
def __init__(self, name='ogg'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, builder: 'Builder'):
|
||||
builder.download_source(
|
||||
'https://downloads.xiph.org/releases/ogg/libogg-1.3.4.tar.gz',
|
||||
'fe5670640bd49e828d64d2879c31cb4dde9758681bb664f9bdbf159a01b0c76e')
|
||||
|
||||
def detect(self, builder: 'Builder') -> bool:
|
||||
return os.path.exists(builder.source_path + 'ogg.pc.in')
|
||||
|
||||
|
||||
class OpenALTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='openal'):
|
||||
super().__init__(name)
|
||||
|
|
Loading…
Reference in a new issue