system/qemu: Added AUDIODRIVERS switch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edward W. Koenig 2014-11-24 16:26:59 +07:00 committed by Willy Sudiarto Raharjo
parent 4efebc3bae
commit 511d415631

View file

@ -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