summaryrefslogtreecommitdiffstats
path: root/games/odamex
diff options
context:
space:
mode:
Diffstat (limited to 'games/odamex')
-rw-r--r--games/odamex/README7
-rw-r--r--games/odamex/doinst.sh5
-rw-r--r--games/odamex/odamex.SlackBuild14
-rw-r--r--games/odamex/odamex.info10
4 files changed, 25 insertions, 11 deletions
diff --git a/games/odamex/README b/games/odamex/README
index 0305146680..548ac5bb2e 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 4e8ba7071d..3e5691a052 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 65d491aa42..9a52a368f5 100644
--- a/games/odamex/odamex.SlackBuild
+++ b/games/odamex/odamex.SlackBuild
@@ -6,6 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20231120 bkw: update for v10.4.0.
+# 20230707 bkw: FTBFS, when agar is installed. our agar is 1.7.0,
+# apparently too new for odamex-10.3.0. agar was added to SBo
+# in May 2023; until then, odamex didn't have ag-odalaunch and
+# it wasn't a problem. so just disable agar completely.
+# 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 +40,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=odamex
-VERSION=${VERSION:-0.9.5}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-10.4.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,7 +90,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.xz
cd $PRGNAM-src-$VERSION
chown -R root:root .
@@ -121,6 +128,7 @@ cd build
-DCMAKE_INSTALL_BINDIR=games \
-DwxWidgets_CONFIG_EXECUTABLE=$WXCONFIG \
-DUSE_SDL12=$SDL12ARG \
+ -DNO_AG-ODALAUNCH_TARGET=ON \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
cd ..
diff --git a/games/odamex/odamex.info b/games/odamex/odamex.info
index e206cad02b..facad2dc17 100644
--- a/games/odamex/odamex.info
+++ b/games/odamex/odamex.info
@@ -1,10 +1,10 @@
PRGNAM="odamex"
-VERSION="0.9.5"
+VERSION="10.4.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.4.0/odamex-src-10.4.0.tar.xz \
+ https://downloads.sourceforge.net/project/odamex/Odamex/10.4.0/odamex-win32-10.4.0.zip"
+MD5SUM="b2de35cbe4930ad63c464d497c3af99a \
+ 6b446626b2390e5415ed54be3a326c09"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxGTK3"