aboutsummaryrefslogtreecommitdiff
path: root/system/qemu/qemu.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2014-11-24 16:26:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-24 16:26:59 +0700
commit511d415631717a819dbf432ce656542d137d9a8c (patch)
tree7b0a69ca3cebe1e62be2181981e9b77803faaf3e /system/qemu/qemu.SlackBuild
parent4efebc3baebd2240687f96634074103581acef11 (diff)
system/qemu: Added AUDIODRIVERS switch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/qemu/qemu.SlackBuild')
-rw-r--r--system/qemu/qemu.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild
index 31a6f07569cd7..f529088de5d6b 100644
--- a/system/qemu/qemu.SlackBuild
+++ b/system/qemu/qemu.SlackBuild
@@ -34,8 +34,9 @@
# 1.4 28-APR-2014 updated to 2.0.0 (thanks Callum Davies <calrogman@gmail.com>), added useful options,
# clean ups, libusb version check.
# 1.4a 04-MAY-2014 fixed typos thanks to sandb0y
-# 1.5 10-AUG-2014 updated to new version, watch for legacy "gotchas"
-# 1.6 18-NOV-2014 updated version, last of the 2.1 series, changed defaults per SBo list
+# 1.5 10-AUG-2014 updated to new version, watch for legacy "gotchas"
+# 1.6 18-NOV-2014 updated version, last of the 2.1 series, changed defaults per SBo list
+# 1.6a 23-NOV-2014 added overlooked AUDIODRIVERS switch per SBo list
PRGNAM=qemu
VERSION=${VERSION:-2.1.2}
@@ -45,6 +46,7 @@ TAG=${TAG:-_SBo}
KVMGROUP=${KVMGROUP:-users}
TARGETS=${TARGETS:-some}
VNC_ENABLE=${VNC_ENABLE:-yes}
+AUDIODRIVERS=${AUDIODRIVERS:-alsa,oss,sdl,esd}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -126,7 +128,7 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-debug-info \
--enable-virtfs \
--enable-sdl \
- --audio-drv-list=alsa,oss,sdl,esd \
+ --audio-drv-list=${AUDIODRIVERS} \
$with_vnc \
$targets