aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/odamex/README7
-rw-r--r--games/odamex/doinst.sh5
-rw-r--r--games/odamex/odamex.SlackBuild8
-rw-r--r--games/odamex/odamex.info10
4 files changed, 19 insertions, 11 deletions
diff --git a/games/odamex/README b/games/odamex/README
index 0305146680f6..548ac5bb2e8e 100644
--- a/games/odamex/README
+++ b/games/odamex/README
@@ -5,9 +5,10 @@ to allow players to compete with each other over the Internet using
the client/server architecture.
To hear in-game music, install either eawpats or freepats, and make
-sure the Options -> Sound Options -> MIDI System Backend option is
-set to "SDL Mixer" [note: music not working in -current as of October
-2021].
+sure the Options -> Sound Options -> MIDI System Backend option is set
+to "SDL Mixer". If this doesn't work, make sure you've updated to the
+latest eawpats or freepats, and that the symlink at /etc/timidity.cfg
+is valid (points to "timidity/eawpats.cfg" or "timidity/crude.cfg").
Optional dependency: If portmidi is installed, odamex will be built
with it. This allows odamex's in-game music to be directed to a
diff --git a/games/odamex/doinst.sh b/games/odamex/doinst.sh
index 4e8ba7071dea..3e5691a052b5 100644
--- a/games/odamex/doinst.sh
+++ b/games/odamex/doinst.sh
@@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/games/odamex/odamex.SlackBuild b/games/odamex/odamex.SlackBuild
index 65d491aa42d0..2d44a6f5038c 100644
--- a/games/odamex/odamex.SlackBuild
+++ b/games/odamex/odamex.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230110 bkw: update for v10.3.0. SDL2 builds are still broken,
+# game segfaults after picking an IWAD. SDL 1.2 builds are OK.
# 20220319 bkw: fix build on 32-bit.
# 20220208 bkw: BUILD=3, add the missing .diff...
# 20211231 bkw: BUILD=2.
@@ -33,8 +35,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=odamex
-VERSION=${VERSION:-0.9.5}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-10.3.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,7 +85,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-src-$VERSION
-tar xvf $CWD/$PRGNAM-src-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-src-$VERSION.tar.zst
cd $PRGNAM-src-$VERSION
chown -R root:root .
diff --git a/games/odamex/odamex.info b/games/odamex/odamex.info
index e206cad02b9d..8b066264e618 100644
--- a/games/odamex/odamex.info
+++ b/games/odamex/odamex.info
@@ -1,10 +1,10 @@
PRGNAM="odamex"
-VERSION="0.9.5"
+VERSION="10.3.0"
HOMEPAGE="https://odamex.net/"
-DOWNLOAD="https://downloads.sourceforge.net/odamex/odamex-src-0.9.5.tar.bz2 \
- https://downloads.sourceforge.net/odamex/odamex-win32-0.9.5.zip"
-MD5SUM="2facffaf15bc2892aafd74a0630f9ee0 \
- 2e53f5a238a032439ee83504607206f7"
+DOWNLOAD="https://downloads.sourceforge.net/project/odamex/Odamex/10.3.0/odamex-src-10.3.0.tar.zst \
+ https://downloads.sourceforge.net/project/odamex/Odamex/10.3.0/odamex-win32-10.3.0.zip"
+MD5SUM="7c777eac882d5e5caea2276239d959ee \
+ d5d7774864b076ad39f4a566bbe83743"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxGTK3"