diff options
Diffstat (limited to 'system/kegs/kegs.SlackBuild')
-rw-r--r-- | system/kegs/kegs.SlackBuild | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/system/kegs/kegs.SlackBuild b/system/kegs/kegs.SlackBuild index 1fc527abe885b..b4ef4981722ff 100644 --- a/system/kegs/kegs.SlackBuild +++ b/system/kegs/kegs.SlackBuild @@ -6,9 +6,16 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20150621 bkw: bump BUILD to 2 +# - fix link to GS/OS images in README +# - split up huge README, move most of it to README.Slackware +# - add allow_sound_open_fail.diff +# - add instructions on getting OSS audio to work on modern Slack +# - "Exec=aoss xkegs" in .desktop file + PRGNAM=kegs VERSION=${VERSION:-0.91} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -55,6 +62,14 @@ find -L . \ # I've sent this upstream, maybe it'll get integrated in future versions. patch -p1 < $CWD/allow_window_close.diff +# Matthew Miller pointed out this patch to me. Since kegs uses OSS for +# audio, and modern Slackware has ALSA OSS emulation disabled by default, +# sound won't work unless xkegs is run via aoss, or OSS modules are +# loaded. This patch allows the emulator to start with sound disabled if +# it can't open the OSS audio device (instead of it being a fatal error). +# I've also updated the README to explain how to get audio to work. +patch -p1 < $CWD/allow_sound_open_fail.diff + cd src rm -f vars ln -s vars_x86linux vars |