From 126627d9d05ba9ff5fc84ad3e3517dd0a25879b0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 4 Aug 2020 18:26:44 -0400 Subject: games/bstone: Updated for version 1.2.8. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/bstone/bstone.SlackBuild | 7 ++----- games/bstone/bstone.info | 6 +++--- games/bstone/datadir.diff | 20 ++++++++------------ 3 files changed, 13 insertions(+), 20 deletions(-) (limited to 'games/bstone') diff --git a/games/bstone/bstone.SlackBuild b/games/bstone/bstone.SlackBuild index d03d5695b4..8659bccb19 100644 --- a/games/bstone/bstone.SlackBuild +++ b/games/bstone/bstone.SlackBuild @@ -6,19 +6,16 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20200804 bkw: update for v1.2.8. datadir.diff changed again. # 20200222 bkw: update for v1.1.16_2. - # 20191127 bkw: update for v1.1.14. datadir.diff had to change so we can't # build old versions any more. - # 20170921 bkw: update for v1.1.9. - # 20170807 bkw: update for v1.1.8, use upstream's icon instead of mine. - # 20170621 bkw: fix build on -current PRGNAM=bstone -VERSION=${VERSION:-1.1.16_2} +VERSION=${VERSION:-1.2.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/games/bstone/bstone.info b/games/bstone/bstone.info index 070dafbff4..7e1d1b3f57 100644 --- a/games/bstone/bstone.info +++ b/games/bstone/bstone.info @@ -1,9 +1,9 @@ PRGNAM="bstone" -VERSION="1.1.16_2" +VERSION="1.2.8" HOMEPAGE="http://bibendovsky.github.io/bstone/" -DOWNLOAD="https://github.com/bibendovsky/bstone/archive/v1.1.16-2/bstone-1.1.16-2.tar.gz \ +DOWNLOAD="https://github.com/bibendovsky/bstone/archive/v1.2.8/bstone-1.2.8.tar.gz \ https://archive.org/download/BlakeStoneAliensOfGold/1bs30.zip" -MD5SUM="bf025e3e20c9866a23d7a0eb615d0a15 \ +MD5SUM="42d35192e5d944bbffe4785c0460a0d3 \ a63c88fc5b399ffb5ed42dc215321f36" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/games/bstone/datadir.diff b/games/bstone/datadir.diff index ebb339fe27..19a7100c32 100644 --- a/games/bstone/datadir.diff +++ b/games/bstone/datadir.diff @@ -1,7 +1,7 @@ -diff -Naur bstone-1.1.14/src/3d_main.cpp bstone-1.1.14.patched/src/3d_main.cpp ---- bstone-1.1.14/src/3d_main.cpp 2019-11-09 05:08:15.000000000 -0500 -+++ bstone-1.1.14.patched/src/3d_main.cpp 2019-11-27 14:08:41.481084182 -0500 -@@ -10523,24 +10523,7 @@ +diff -Naur bstone-1.2.8/src/3d_main.cpp bstone-1.2.8.patched/src/3d_main.cpp +--- bstone-1.2.8/src/3d_main.cpp 2020-07-10 09:58:35.000000000 -0400 ++++ bstone-1.2.8.patched/src/3d_main.cpp 2020-08-04 03:07:36.266707676 -0400 +@@ -10722,20 +10722,7 @@ const std::string& get_default_data_dir() { @@ -12,17 +12,13 @@ diff -Naur bstone-1.1.14/src/3d_main.cpp bstone-1.1.14.patched/src/3d_main.cpp - { - is_initialized = true; - -- auto sdl_dir = ::SDL_GetBasePath(); +- result = bstone::file_system::get_working_dir(); - -- if (sdl_dir) -- { -- result = sdl_dir; -- ::SDL_free(sdl_dir); -- } -- } -#ifdef __vita__ -- result = "ux0:/data/bstone/"; +- result = "ux0:/data/bstone/"; -#endif +- } +- + static std::string result = "/usr/share/games/bstone/"; return result; } -- cgit v1.2.3