diff options
-rw-r--r-- | games/commandergenius/a67003b_sdl_12_compatibility.diff | 16 | ||||
-rw-r--r-- | games/commandergenius/commandergenius.SlackBuild | 8 | ||||
-rw-r--r-- | games/commandergenius/commandergenius.info | 6 |
3 files changed, 7 insertions, 23 deletions
diff --git a/games/commandergenius/a67003b_sdl_12_compatibility.diff b/games/commandergenius/a67003b_sdl_12_compatibility.diff deleted file mode 100644 index 614082de80..0000000000 --- a/games/commandergenius/a67003b_sdl_12_compatibility.diff +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/src/engine/keen/galaxy/CPassive.cpp b/src/engine/keen/galaxy/CPassive.cpp -index dfc2dbe..34ccc8c 100755 ---- a/src/engine/keen/galaxy/CPassive.cpp -+++ b/src/engine/keen/galaxy/CPassive.cpp -@@ -392,7 +392,11 @@ void CPassiveGalaxy::processTitle() - darkener.create(0, gameRes.w, gameRes.h, 32, - 0, 0, 0, 0); - -+ -+#if SDL_VERSION_ATLEAST(2, 0, 0) - darkener.setBlendMode(SDL_BLENDMODE_BLEND); -+#endif -+ - darkener.setAlpha(128); - - auto *sfc = mBackgroundStarWars.getSDLSurface(); diff --git a/games/commandergenius/commandergenius.SlackBuild b/games/commandergenius/commandergenius.SlackBuild index 0323dab4fa..8204db3cd1 100644 --- a/games/commandergenius/commandergenius.SlackBuild +++ b/games/commandergenius/commandergenius.SlackBuild @@ -6,6 +6,9 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20170725 bkw: +# - updated for 1.9.9.2beta + # 20170301 bkw: # - updated for 1.9.8.7beta # - fix the build for the case where SDL2 is installed but SDL2_image is not. @@ -15,7 +18,7 @@ # 20170122 bkw: updated for 1.9.8.1beta. PRGNAM=commandergenius -VERSION=${VERSION:-1.9.8.7beta} +VERSION=${VERSION:-1.9.9.2beta} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -76,9 +79,6 @@ find -L . -type d -a -exec chmod 755 '{}' '+' # placate desktop-file-validate sed -i 's,Application;,,' share/$DESKTOP -# Apply upstream fix for building with SDL-1.2 -patch -p1 < $CWD/a67003b_sdl_12_compatibility.diff - # SDL 2 is optional. I prefer it, others may not. SDLOPT="-DUSE_SDL2=no" SDLVER=1 diff --git a/games/commandergenius/commandergenius.info b/games/commandergenius/commandergenius.info index eeb7a2a200..ea2c46b15e 100644 --- a/games/commandergenius/commandergenius.info +++ b/games/commandergenius/commandergenius.info @@ -1,8 +1,8 @@ PRGNAM="commandergenius" -VERSION="1.9.8.7beta" +VERSION="1.9.9.2beta" HOMEPAGE="https://github.com/gerstrong/Commander-Genius" -DOWNLOAD="https://github.com/gerstrong/Commander-Genius/archive/v1987beta/Commander-Genius-1987beta.tar.gz" -MD5SUM="21c2936c7e801542319a1a4cc0991516" +DOWNLOAD="https://github.com/gerstrong/Commander-Genius/archive/v1992beta/Commander-Genius-1992beta.tar.gz" +MD5SUM="717cd605d0fcb3664a249d5db6ffa42c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |