diff options
author | B. Watson <yalhcru@gmail.com> | 2015-06-24 16:34:25 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-06-28 11:49:20 +0700 |
commit | dfec940e0028db00f9fdf059c7d2c208d908b541 (patch) | |
tree | e0e45810ac8244fca5e98bfbefe438661902fb96 /system/kegs/kegs.SlackBuild | |
parent | bbaae0b2947a34a69078ceb22d14e25e2e4f138d (diff) | |
download | slackbuilds-dfec940e0028db00f9fdf059c7d2c208d908b541.tar.gz |
system/kegs: Fix audio issues.
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 1fc527abe8..b4ef498172 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 |