aboutsummaryrefslogtreecommitdiff
path: root/games/pioneer
diff options
context:
space:
mode:
authorGene Carlson <kvngncrlsn@gmail.com>2024-07-10 23:03:14 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-12 07:40:05 +0700
commit98f18eaf10d851c83e4954e71f33509969f2f5bf (patch)
tree583612ba8a34f6053b9d163ee2475ae525c7e249 /games/pioneer
parenta2bd336b3ea4ba2e0d2659d73e12f39b203197ac (diff)
games/pioneer: Updated for version 20240710.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pioneer')
-rw-r--r--games/pioneer/pioneer.SlackBuild7
-rw-r--r--games/pioneer/pioneer.info6
-rw-r--r--games/pioneer/save-compat.diff13
3 files changed, 4 insertions, 22 deletions
diff --git a/games/pioneer/pioneer.SlackBuild b/games/pioneer/pioneer.SlackBuild
index d7d399338f446..ca2088212fcc0 100644
--- a/games/pioneer/pioneer.SlackBuild
+++ b/games/pioneer/pioneer.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pioneer
-VERSION=${VERSION:-20240314}
+VERSION=${VERSION:-20240710}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,9 +83,6 @@ else
RELEASE=Release
fi
-# Fix save compatibility (#5798).
-patch -p0 < $CWD/save-compat.diff
-
GLEW=OFF
LUA=OFF
@@ -115,7 +112,6 @@ cd build
-DCMAKE_INSTALL_DATADIR=share/games \
-DUSE_SYSTEM_LIBGLEW=$GLEW \
-DUSE_SYSTEM_LIBLUA=$LUA \
- -DFMT_INSTALL=OFF \
-DPROJECT_VERSION_INFO="$INFOSTRING" \
-DCMAKE_BUILD_TYPE=$RELEASE ..
make
@@ -132,7 +128,6 @@ fi
# supposed to be and install an SVG icon.
rm -rf $PKG/usr/share/games/$PRGNAM/{licenses,*txt,*md}
mv $PKG/usr/share/games/{icons,applications,metainfo} $PKG/usr/share
-sed -i 's|Exec=|Exec=/usr/|g' $PKG/usr/share/applications/net.pioneerspacesim.Pioneer.desktop
mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps
install -m 0644 application-icon/badge-full.svg \
$PKG/usr/share/icons/hicolor/scalable/apps/net.pioneerspacesim.Pioneer.svg
diff --git a/games/pioneer/pioneer.info b/games/pioneer/pioneer.info
index 633ff1cbdcbcd..dfb8cc0dd5da1 100644
--- a/games/pioneer/pioneer.info
+++ b/games/pioneer/pioneer.info
@@ -1,8 +1,8 @@
PRGNAM="pioneer"
-VERSION="20240314"
+VERSION="20240710"
HOMEPAGE="https://pioneerspacesim.net/"
-DOWNLOAD="https://github.com/pioneerspacesim/pioneer/archive/20240314/pioneer-20240314.tar.gz"
-MD5SUM="e95791b2dc96584e51dd0d2e892655f0"
+DOWNLOAD="https://github.com/pioneerspacesim/pioneer/archive/20240710/pioneer-20240710.tar.gz"
+MD5SUM="79affabdb2f8ec3cb7493c54877faa24"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="assimp"
diff --git a/games/pioneer/save-compat.diff b/games/pioneer/save-compat.diff
deleted file mode 100644
index db0f5f247cebb..0000000000000
--- a/games/pioneer/save-compat.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/lua/LuaSerializer.cpp.orig 2024-03-16 10:23:00.037921901 +0900
-+++ src/lua/LuaSerializer.cpp 2024-03-16 10:24:18.622366095 +0900
-@@ -413,6 +413,10 @@
- lua_State *l = Lua::manager->GetLuaState();
- LUA_DEBUG_START(l);
-
-+ // Old savefile with no persistent table.
-+ if (!json.count("lua_persistent_json"))
-+ return;
-+
- const Json &persist = json["lua_persistent_json"];
-
- luaL_getsubtable(l, LUA_REGISTRYINDEX, NS_REFTABLE);