diff --git a/engines/yquake2/build.sh b/engines/yquake2/build.sh index 9a6f36370..8cba0b067 100755 --- a/engines/yquake2/build.sh +++ b/engines/yquake2/build.sh @@ -27,7 +27,9 @@ git clone https://github.com/gabomdq/SDL_GameControllerDB.git sdl_gamecontroller # BUILD PHASE pushd "source" -echo 'release/q2ded : LDFLAGS += -l:librt.a' > config.mk +mkdir build +cd build +cmake -DCMAKE_BUILD_TYPE=Release .. make -j "$(nproc)" popd @@ -66,7 +68,7 @@ cp -v assets/default.lux.cfg "$diststart/common/dist/xatrix/yq2.cfg" cp -v source/stuff/icon/Quake2.svg "$diststart/common/dist/" cp -v sdl_gamecontrollerdb/gamecontrollerdb.txt "$diststart/common/dist/" -cp -rfv "source/release/"* "$diststart/common/dist/" +cp -rfv "source/build/release/"* "$diststart/common/dist/" cp -rfv "source-ctf/build/Release/game.so" "$diststart/common/dist/ctf" cp -rfv "source-rogue/build/Release/game.so" "$diststart/common/dist/rogue" cp -rfv "source-xatrix/build/Release/game.so" "$diststart/common/dist/xatrix" diff --git a/engines/yquake2/env.json b/engines/yquake2/env.json index 84a5381f1..bda1cec39 100644 --- a/engines/yquake2/env.json +++ b/engines/yquake2/env.json @@ -12,5 +12,6 @@ "./sdl_gamecontrollerdb/LICENSE" ], "COMMON_PACKAGE": true, - "COMMIT_TAG": "QUAKE2_8_60" -} \ No newline at end of file + "COMMIT_TAG": "QUAKE2_8_70", + "LATEST_CMAKE": true +} diff --git a/metadata/packagessniper_v2.json b/metadata/packagessniper_v2.json index 9e67dc672..21e38bb54 100755 --- a/metadata/packagessniper_v2.json +++ b/metadata/packagessniper_v2.json @@ -12763,7 +12763,7 @@ }, { "engine_link": "https://www.yamagi.org/quake2/", - "version": "QUAKE2_8_60", + "version": "QUAKE2_8_70", "author": "dreamer", "author_link": "https://github.com/dreamer", "license": "GPLv2",