From 9781003298637c8500dd9f9d3ec4427306851d79 Mon Sep 17 00:00:00 2001 From: q66 Date: Mon, 28 Feb 2022 18:30:47 +0100 Subject: [PATCH] qemu: make spice conditional again --- srcpkgs/qemu/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index b64284d3b1..6b5fb57b3b 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -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