diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/typhoon_2001/typhoon_2001 | 6 | ||||
-rw-r--r-- | games/typhoon_2001/typhoon_2001.SlackBuild | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/games/typhoon_2001/typhoon_2001 b/games/typhoon_2001/typhoon_2001 index 2953ebdd88c2..4d0d7a4753f1 100644 --- a/games/typhoon_2001/typhoon_2001 +++ b/games/typhoon_2001/typhoon_2001 @@ -45,6 +45,10 @@ if [ ! -d "$T2K1_HOME" ]; then done fi -cd "$T2K1_HOME" && exec ./typhoon || \ +# 20211216 bkw: use aoss unless real OSS is available. +AOSS=aoss +[ -c /dev/dsp ] && AOSS="" + +cd "$T2K1_HOME" && exec $AOSS ./typhoon || \ echo "Can't exec $T2K1_HOME/typhoon - " \ "corrupt install, try removing $T2K1_HOME and running $0 again" diff --git a/games/typhoon_2001/typhoon_2001.SlackBuild b/games/typhoon_2001/typhoon_2001.SlackBuild index 3807ca82bc16..335d6fba8a64 100644 --- a/games/typhoon_2001/typhoon_2001.SlackBuild +++ b/games/typhoon_2001/typhoon_2001.SlackBuild @@ -11,6 +11,9 @@ # typhoon.cfg needs to be a real file and be writable by the user. # (it will be created the first time the game is run). +# 20211216 bkw: BUILD=3 +# - make sound work OOTB: run binary with aoss wrapper. + # 20211012 bkw: BUILD=2 # - binary in /usr/games. # - new-style icons. @@ -20,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=typhoon_2001 VERSION=${VERSION:-r3992} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} |