qemu: make spice conditional again

This commit is contained in:
q66 2022-02-28 18:30:47 +01:00
parent 18f9ee5fc7
commit 9781003298
1 changed files with 5 additions and 1 deletions

View File

@ -35,7 +35,7 @@ nostrip_files="hppa-firmware.img openbios-ppc openbios-sparc32 openbios-sparc64
opensbi-riscv64-generic-fw_dynamic.elf"
build_options="gtk3 opengl sdl2 spice virgl smartcard numa iscsi jack pulseaudio"
build_options_default="opengl gtk3 virgl sdl2 numa iscsi jack pulseaudio spice"
build_options_default="opengl gtk3 virgl sdl2 numa iscsi jack pulseaudio"
desc_option_sdl2="Enable SDL (2.x) video output"
desc_option_spice="Enable support for SPICE"
desc_option_virgl="Enable support for VirGL (A Virtual 3D GPU renderer)"
@ -47,6 +47,10 @@ case "$XBPS_TARGET_MACHINE" in
aarch64-musl) CFLAGS="-D_LINUX_SYSINFO_H";;
esac
if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
build_options_default+=" spice"
fi
if [ "$CROSS_BUILD" ]; then
configure_args+=" --cross-prefix=${XBPS_CROSS_TRIPLET}-"
else