From 7efb4365008ece60726b80fd6f5e6ed85de74e01 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 17 Sep 2022 09:59:15 +0300 Subject: [PATCH] aedi: remove yquake2 target it requires dynamic sdl2 because executable and libraries depend on it [skip build] --- aedi/target/main.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/aedi/target/main.py b/aedi/target/main.py index 421d5e71..89d255da 100644 --- a/aedi/target/main.py +++ b/aedi/target/main.py @@ -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)