diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-17 17:35:16 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-21 10:22:10 +0700 |
commit | a1141cfdbb6effdf60b587fe15087d401eb7d40f (patch) | |
tree | 3a6635f2f0040f2bfa922d5f643dd945ce6eaa37 /games/eduke32/eduke32.SlackBuild | |
parent | 7ee0aef33b08e1a283ce49809ce30c6f4103d458 (diff) |
games/eduke32: Updated for version 20221225_10166_122aee012.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/eduke32/eduke32.SlackBuild')
-rw-r--r-- | games/eduke32/eduke32.SlackBuild | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/games/eduke32/eduke32.SlackBuild b/games/eduke32/eduke32.SlackBuild index a8c95c17c836e..a15f7f6145d70 100644 --- a/games/eduke32/eduke32.SlackBuild +++ b/games/eduke32/eduke32.SlackBuild @@ -10,6 +10,12 @@ # TODO: man page(s). eduke32.6 is ancient. +# 20230117 bkw: update for 20221225_10166_122aee012. +# - no more need for tools.diff +# - voidsw mouse sensitivity is more-or-less OK now, remove hack. +# - add note to README about the game crashing when joystick plugged in. +# - fix PRINT_PACKAGE_NAME. + # 20211108 bkw: # - update for 20211102_9751_8970754aa. # - include voidsw (shadow warrior), wangulator (sw map editor), and @@ -45,16 +51,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=eduke32 -VERSION=${VERSION:-20211102_9751_8970754aa} +VERSION=${VERSION:-20221225_10166_122aee012} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -67,6 +68,11 @@ if [ -z "$ARCH" ]; then esac fi +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" elif [ "$ARCH" = "i686" ]; then @@ -127,12 +133,6 @@ sed -i '/OSD_SetLogFile/d' \ # the log output. sed -i '/"Error: glGetTexLevelParameteriv/d' source/build/src/texcache.cpp -# voidsw's in-game menus don't let you crank the mouse sensitivity up high -# enough. the mouse barely does anything at the default setting, and it's -# still too slow-moving to be usable at the max. -sed -i 's,8192,660,g' source/sw/src/config.cpp source/sw/src/menus.cpp -sed -i '/MouseAnalogScale/s,65536,131071,' source/sw/src/config.cpp - # Our twin dragon is a different repack from the ones voidsw knows # about. Also, upstream incorrectly says the Wanton Destruction # wd.grp requires sw.grp as a dependency. Actually, it's a @@ -153,10 +153,6 @@ mkdir -p $PKG/usr/games installbins $PRGNAM mapster32 voidsw wangulator # the tools: -# patch is upstream commit a7a6cd043749947773cbf3e85ed66ffd6273f659, -# thanks to willysr for tracking it down. -patch -p1 < $CWD/tools.diff - runmake tools installbins arttool bsuite cacheinfo givedepth ivfrate kextract kgroup \ kmd2tool makesdlkeytrans map2stl md2tool mkpalette transpal \ @@ -164,6 +160,7 @@ installbins arttool bsuite cacheinfo givedepth ivfrate kextract kgroup \ # fury (which would fail without the 'make clean' first): make clean +sed -i '/SDL_STATIC *:=/d' GNUmakefile # grrr. runmake fury FURY=1 installbins fury |