mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
parent
f0cdfaebe7
commit
b3ca994949
1 changed files with 10 additions and 1 deletions
|
@ -49,12 +49,21 @@ do_configure() {
|
||||||
fi
|
fi
|
||||||
unset CPP
|
unset CPP
|
||||||
|
|
||||||
|
local want_sdl="--disable-sdl"
|
||||||
|
local audio_sdl=""
|
||||||
|
if [ "$build_option_sdl" ] || [ "$build_option_sdl2" ]; then
|
||||||
|
want_sdl="--enable-sdl"
|
||||||
|
audio_sdl=",sdl"
|
||||||
|
fi
|
||||||
|
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec \
|
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec \
|
||||||
--enable-kvm --audio-drv-list=alsa,sdl,pa --disable-xen --enable-tpm \
|
--enable-kvm --audio-drv-list=alsa,pa${audio_sdl} \
|
||||||
|
--disable-xen --enable-tpm \
|
||||||
--enable-vhost-net --enable-vnc-png --enable-virtfs \
|
--enable-vhost-net --enable-vnc-png --enable-virtfs \
|
||||||
--enable-libusb --disable-glusterfs --enable-snappy --enable-usb-redir \
|
--enable-libusb --disable-glusterfs --enable-snappy --enable-usb-redir \
|
||||||
--enable-pie --localstatedir=/var \
|
--enable-pie --localstatedir=/var \
|
||||||
$(vopt_enable virgl virglrenderer) $(vopt_enable opengl) $(vopt_enable spice) \
|
$(vopt_enable virgl virglrenderer) $(vopt_enable opengl) $(vopt_enable spice) \
|
||||||
|
${want_sdl} \
|
||||||
$(vopt_if sdl "--with-sdlabi=1.2") \
|
$(vopt_if sdl "--with-sdlabi=1.2") \
|
||||||
$(vopt_if sdl2 "--with-sdlabi=2.0") \
|
$(vopt_if sdl2 "--with-sdlabi=2.0") \
|
||||||
$(vopt_enable gtk) ${args}
|
$(vopt_enable gtk) ${args}
|
||||||
|
|
Loading…
Add table
Reference in a new issue