qemu: gtk -> gtk3 build option

This commit is contained in:
Alessio Sergi 2017-07-24 13:10:04 +02:00
parent b84590a7ea
commit 9cd465cebf

View File

@ -17,14 +17,13 @@ makedepends="libpng-devel libjpeg-turbo-devel pixman-devel snappy-devel
libsasl-devel libglib-devel ncurses-devel libseccomp-devel nss-devel
libcurl-devel xfsprogs-devel libcap-ng-devel libcap-devel vde2-devel usbredir-devel
libbluetooth-devel libssh2-devel libusb-devel pulseaudio-devel libnfs-devel
$(vopt_if sdl SDL-devel) $(vopt_if sdl2 SDL2-devel) $(vopt_if gtk "gtk+3-devel vte3-devel")
$(vopt_if sdl SDL-devel) $(vopt_if sdl2 SDL2-devel) $(vopt_if gtk3 "gtk+3-devel vte3-devel")
$(vopt_if spice spice-devel) $(vopt_if virgl virglrenderer-devel)
$(vopt_if opengl 'libepoxy-devel libdrm-devel MesaLib-devel')
$(vopt_if smartcard libcacard-devel)"
build_options="gtk opengl sdl sdl2 spice virgl smartcard"
build_options_default="opengl gtk virgl smartcard"
desc_option_gtk="Enable GTK display and use it by default"
build_options="gtk3 opengl sdl sdl2 spice virgl smartcard"
build_options_default="opengl gtk3 virgl smartcard"
desc_option_sdl="Use SDL (1.x) video output"
desc_option_sdl2="Use SDL (2.x) video output"
desc_option_spice="Enable support for SPICE"
@ -70,7 +69,7 @@ do_configure() {
$(vopt_if sdl "--with-sdlabi=1.2") \
$(vopt_if sdl2 "--with-sdlabi=2.0") \
$(vopt_enable smartcard) \
$(vopt_enable gtk) ${args}
$(vopt_enable gtk3) ${args}
}
do_build() {
# Remove our strip(1) wrapper... E2BIG.