From dcdb3d77bea197a9b2344b591fb2f0fa04dfbbd7 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 27 Oct 2020 00:43:44 -0400 Subject: games/marathon-data: Updated for version 20200904. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/marathon-data/marathon | 19 ++++++++++++++++++- games/marathon-data/marathon-data.SlackBuild | 2 +- games/marathon-data/marathon-data.info | 6 +++--- 3 files changed, 22 insertions(+), 5 deletions(-) (limited to 'games') diff --git a/games/marathon-data/marathon b/games/marathon-data/marathon index c71ef6fb56e3..36eda97fef2e 100644 --- a/games/marathon-data/marathon +++ b/games/marathon-data/marathon @@ -1,6 +1,23 @@ #!/bin/sh +# 20201026 bkw: if someone started the game without the wrapper +# script (giving the path to the gamedata on the command line), +# then tries to start the game again using this wrapper script, +# it would fail to find its data files. Added ALEPHONE_DEFAULT_DATA +# here to work around it. The issue was pointed out to me by +# orbea, and lives here: +# https://github.com/Aleph-One-Marathon/alephone/issues/24#issuecomment-715476894 + ALEPHONE_DATA="/usr/share/AlephOne/gamedata/Marathon" -export ALEPHONE_DATA +ALEPHONE_DEFAULT_DATA="$ALEPHONE_DATA" +export ALEPHONE_DATA ALEPHONE_DEFAULT_DATA + +# work around another issue found by orbea: +# https://github.com/Aleph-One-Marathon/alephone/pull/225 +# I can't reproduce this, it may only affect -current, but I can't see +# any harm in adding the workaround here. + +SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 +export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS exec alephone "$@" diff --git a/games/marathon-data/marathon-data.SlackBuild b/games/marathon-data/marathon-data.SlackBuild index f6d14b0c8f37..f32dafeffdf6 100644 --- a/games/marathon-data/marathon-data.SlackBuild +++ b/games/marathon-data/marathon-data.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=marathon-data -VERSION=${VERSION:-20190331} +VERSION=${VERSION:-20200904} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/games/marathon-data/marathon-data.info b/games/marathon-data/marathon-data.info index 28c5e1810a8d..64b0b00acb96 100644 --- a/games/marathon-data/marathon-data.info +++ b/games/marathon-data/marathon-data.info @@ -1,8 +1,8 @@ PRGNAM="marathon-data" -VERSION="20190331" +VERSION="20200904" HOMEPAGE="https://alephone.lhowon.org/" -DOWNLOAD="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-20190331/Marathon-20190331-Data.zip" -MD5SUM="d76c48be507d92b2053e1987d76fdf7c" +DOWNLOAD="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-20200904/Marathon-20200904-Data.zip" +MD5SUM="f608af955110a0681f284e823debe752" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="alephone" -- cgit v1.2.3