mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
games/srb2: Updated for version 2.2.13.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
9d19135fb4
commit
1ee03ed31d
2 changed files with 14 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue