aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEugene M. <damagedone@gmx.com>2025-02-19 20:37:39 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-02-22 08:39:11 +0700
commit87d18f66b523eed7264287608dc7f8098b547b2b (patch)
treec739cc7bc8933df5b53dc7e40c3d870e312eab45 /games
parentf03b2a92300e265dcf0d4b9273aa70aaa9d081e3 (diff)
games/widelands: Updated for version 1.2.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/widelands/widelands-1.0-boost-1.77.patch16
-rw-r--r--games/widelands/widelands.SlackBuild15
-rw-r--r--games/widelands/widelands.info12
3 files changed, 13 insertions, 30 deletions
diff --git a/games/widelands/widelands-1.0-boost-1.77.patch b/games/widelands/widelands-1.0-boost-1.77.patch
deleted file mode 100644
index 69c1cb8caf..0000000000
--- a/games/widelands/widelands-1.0-boost-1.77.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-https://bugs.gentoo.org/808747
-
-https://github.com/widelands/widelands/commit/316eaea
-From: matthiakl <t-m.42@mailpost.spdns.org>
-Date: Sat, 14 Aug 2021 19:24:08 +0200
-Subject: [PATCH] Added missing direct incude (#5025)
---- a/src/network/bufferedconnection.h
-+++ b/src/network/bufferedconnection.h
-@@ -20,6 +20,7 @@
- #ifndef WL_NETWORK_BUFFEREDCONNECTION_H
- #define WL_NETWORK_BUFFEREDCONNECTION_H
-
-+#include <map>
- #include <memory>
- #include <mutex>
- #include <thread>
diff --git a/games/widelands/widelands.SlackBuild b/games/widelands/widelands.SlackBuild
index 8af1205fdd..7065c74800 100644
--- a/games/widelands/widelands.SlackBuild
+++ b/games/widelands/widelands.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for widelands
-# Copyright 2008-2021 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2025 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# modified by: Eugene M., <damagedone @ gmx dot com>
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=widelands
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,15 +81,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix building against boost 1.77.0
-patch -p1 -i $CWD/widelands-1.0-boost-1.77.patch
-
-mkdir -p build1
-cd build1
+mkdir -p build
+cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr/bin \
+ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DWL_INSTALL_DATADIR=/usr/share/widelands \
-DWL_INSTALL_BASEDIR=/usr/doc/$PRGNAM-$VERSION \
diff --git a/games/widelands/widelands.info b/games/widelands/widelands.info
index a9a9e667ed..14a42b223c 100644
--- a/games/widelands/widelands.info
+++ b/games/widelands/widelands.info
@@ -1,10 +1,10 @@
PRGNAM="widelands"
-VERSION="1.0"
+VERSION="1.2.1"
HOMEPAGE="http://www.widelands.org"
-DOWNLOAD="https://github.com/widelands/widelands/archive/v1.0/widelands-1.0.tar.gz"
-MD5SUM="ac576b20273205a09bc1e6dc19550499"
+DOWNLOAD="https://github.com/widelands/widelands/archive/v1.2.1/widelands-1.2.1.tar.gz"
+MD5SUM="51f835c83e6b1197ec416af634398843"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@slackbuilds.org"
+REQUIRES="asio"
+MAINTAINER="Eugene M."
+EMAIL="damagedone@gmx.com"