summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2024-02-17 12:04:34 +0100
committer Matteo Bernardini2024-03-16 09:08:33 +0100
commitdf2410ba57cc8a5128dc19be10eba419d39afb3b (patch)
tree68d7ea9ca919751de05a99a64a93b252957bbcb3
parentf2fd02d810ccafdcb54cd1ce380341a85bbefd77 (diff)
downloadslackbuilds-0ad.tar.gz
games/0ad: Updated for version r28035.0ad
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--games/0ad/0ad.SlackBuild11
-rw-r--r--games/0ad/0ad.info8
2 files changed, 9 insertions, 10 deletions
diff --git a/games/0ad/0ad.SlackBuild b/games/0ad/0ad.SlackBuild
index b6c52e7c61..d79e586be8 100644
--- a/games/0ad/0ad.SlackBuild
+++ b/games/0ad/0ad.SlackBuild
@@ -29,9 +29,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=0ad
-VERSION=${VERSION:-0.0.26}
+VERSION=${VERSION:-r28035}
RELEASE=${RELEASE:-alpha}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
TMP=${TMP:-/tmp/SBo}
@@ -93,10 +93,6 @@ export SDL2_CONFIG="/usr/bin/sdl2-config"
mkdir -p cargoh
export CARGO_HOME="$TMP/$PRGNAM-$VERSION-$RELEASE/cargoh"
-#add patches for fmt>9.1.0 ie. 10.1.1
-sed -i 's/, header.GetType()/, static_cast<int>(header.GetType())/g' source/network/NetMessage.cpp
-sed -i 's/, arrayType/, static_cast<int>(arrayType)/g' source/simulation2/serialization/BinarySerializer.cpp
-
# Fix boost names, include paths and remove isystem. commented stuff is fixed upstream already
sed -i 's|-mt||g' build/premake/extern_libs5.lua || exit 1
#sed -i 's|/usr/local/include|/usr/include|' build/premake/{extern_libs5.lua,premake5.lua} || exit 1
@@ -113,6 +109,9 @@ sed -i 's|-isystem |-I|' build/premake/premake5/{src/tools/gcc.lua,tests/tools/t
# have a root check, let's disable it.
patch -p1 < $CWD/disable-root-check.patch
+sed -i '/Pyrogenesis/i #include <iomanip>' source/ps/Util.cpp
+
+CXX=clang++ \
build/workspaces/update-workspaces.sh \
--without-pch \
--bindir=/usr/games \
diff --git a/games/0ad/0ad.info b/games/0ad/0ad.info
index 59eb4a4fdf..f1aaf3606a 100644
--- a/games/0ad/0ad.info
+++ b/games/0ad/0ad.info
@@ -1,10 +1,10 @@
PRGNAM="0ad"
-VERSION="0.0.26"
+VERSION="r28035"
HOMEPAGE="https://play0ad.com/"
-DOWNLOAD="http://releases.wildfiregames.com/0ad-0.0.26-alpha-unix-build.tar.xz"
-MD5SUM="d0d3ed10769dee2254aa196a9619bd57"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/0ad-r28035-alpha-unix-build.tar.xz"
+MD5SUM="45c9ebe38e0578c6eade09da81b10105"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="0ad-data enet fmt gloox miniupnpc wxGTK3"
+REQUIRES="0ad-data enet fmt gloox miniupnpc wxWidgets"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"