mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
games/typhoon_2001: Fix sound.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
93fc390271
commit
34816facab
2 changed files with 9 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue