mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 21:01:59 +00:00
aedi: add lame target
This commit is contained in:
parent
81af6fdd1b
commit
f5265550e7
2 changed files with 14 additions and 0 deletions
|
@ -62,6 +62,7 @@ def targets():
|
|||
InstPatchTarget(),
|
||||
IntlTarget(),
|
||||
JpegTurboTarget(),
|
||||
LameTarget(),
|
||||
MoltenVKTarget(),
|
||||
Mpg123Target(),
|
||||
OggTarget(),
|
||||
|
|
|
@ -284,6 +284,19 @@ class JpegTurboTarget(CMakeStaticDependencyTarget):
|
|||
super().configure(state)
|
||||
|
||||
|
||||
class LameTarget(ConfigureMakeStaticDependencyTarget):
|
||||
def __init__(self, name='lame'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://sourceforge.net/projects/lame/files/lame/3.100/lame-3.100.tar.gz',
|
||||
'ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('lame.spec')
|
||||
|
||||
|
||||
class MoltenVKTarget(MakeTarget):
|
||||
def __init__(self, name='moltenvk'):
|
||||
super().__init__(name)
|
||||
|
|
Loading…
Reference in a new issue