aedi: remove yquake2 target

it requires dynamic sdl2 because executable and libraries depend on it

[skip build]
This commit is contained in:
alexey.lysiuk 2022-09-17 09:59:15 +03:00
parent e3e47ce0ea
commit 7efb436500

View file

@ -441,22 +441,3 @@ class QuakespasmTarget(MakeMainTarget):
opts['USE_CODEC_UMX'] = '1'
# Add main() alias to workaround executable linking without macOS launcher
opts['COMMON_LIBS'] = '-framework OpenGL -Wl,-alias -Wl,_SDL_main -Wl,_main'
class YQuake2Target(CMakeMainTarget):
def __init__(self, name='yquake2'):
super().__init__(name)
def prepare_source(self, state: BuildState):
state.checkout_git('https://github.com/yquake2/yquake2.git')
def configure(self, state: BuildState):
state.options['SDL2_LIBRARY'] = state.run_pkg_config('--libs', 'SDL2')
self._force_openal_soft(state)
super().configure(state)
def post_build(self, state: BuildState):
if state.xcode:
return
shutil.copytree(state.build_path / 'release', state.install_path, dirs_exist_ok=True)