From 1ee03ed31d53c25ac0ed0552b284884bb7f83091 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 7 Sep 2024 02:55:17 -0400 Subject: [PATCH] games/srb2: Updated for version 2.2.13. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/srb2/srb2.SlackBuild | 10 +++++++++- games/srb2/srb2.info | 10 +++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/games/srb2/srb2.SlackBuild b/games/srb2/srb2.SlackBuild index 526ac57f9a..455415a23d 100644 --- a/games/srb2/srb2.SlackBuild +++ b/games/srb2/srb2.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240907 bkw: updated for v2.2.13. # 20230714 bkw: updated for v2.2.11. # - new deps (see .info file). # - cmake sed stuff to allow building without net access. @@ -14,7 +15,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=srb2 -VERSION=${VERSION:-2.2.11} +VERSION=${VERSION:-2.2.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -102,6 +103,10 @@ sed -i 's,usr/games,usr/share/games,g' \ # on Linux as well. So: sed -i '/CMAKE_HOST_SYSTEM_NAME/s,STREQ.*,MATCHES Linux),' CMakeLists.txt +# 20240907 bkw: -DSRB2_CONFIG_SYSTEM_LIBRARIES=ON doesn't affect libgme, +# there's no way to use the system libgme without this... +sed -i '/cpm-libgme/d' thirdparty/CMakeLists.txt + mkdir -p build cd build cmake \ @@ -111,6 +116,9 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DUSE_CCACHE=ON \ + -DSRB2_CONFIG_ENABLE_TESTS=OFF \ + -DSRB2_CONFIG_SYSTEM_LIBRARIES=ON \ + -DSRB2_SDL2_EXE_NAME=lsdl$PRGNAM \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 #make install/strip DESTDIR=$PKG # don't bother, it's broken diff --git a/games/srb2/srb2.info b/games/srb2/srb2.info index 4fc21718b3..b0108ddcda 100644 --- a/games/srb2/srb2.info +++ b/games/srb2/srb2.info @@ -1,10 +1,10 @@ PRGNAM="srb2" -VERSION="2.2.11" +VERSION="2.2.13" HOMEPAGE="https://www.srb2.org/" -DOWNLOAD="https://github.com/STJr/SRB2/archive/SRB2_release_2.2.11/SRB2-SRB2_release_2.2.11.tar.gz \ - https://github.com/STJr/SRB2/releases/download/SRB2_release_2.2.11/SRB2-v2211-Full.zip" -MD5SUM="bcb3493b8668dadd8f9bfb10d3325fd6 \ - d356b7e3db4520355b142b39c51cc8a8" +DOWNLOAD="https://github.com/STJr/SRB2/archive/SRB2_release_2.2.13/SRB2-SRB2_release_2.2.13.tar.gz \ + https://github.com/STJr/SRB2/releases/download/SRB2_release_2.2.13/SRB2-v2213-Full.zip" +MD5SUM="0af8d9629a8d14b2638db0e2caede142 \ + 61521518534a1c4ee37e2985817bc37b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libgme libopenmpt"