From 7172e48fe259ed11afd5efcb89a080fcf7a04d4e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 12 May 2016 18:10:40 +0200 Subject: [PATCH] qemu: added opengl and virgl build opts; on by default. --- srcpkgs/qemu/template | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index 1549a30a1b3..3af01d99bea 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -1,7 +1,7 @@ # Template file for 'qemu' pkgname=qemu version=2.6.0 -revision=1 +revision=2 short_desc="Open Source Processor Emulator" maintainer="Juan RP " homepage="http://qemu.org" @@ -17,14 +17,16 @@ makedepends="libpng-devel libjpeg-turbo-devel pixman-devel snappy-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+-devel) - $(vopt_if spice spice-devel)" + $(vopt_if spice spice-devel) $(vopt_if virgl virglrenderer-devel) + $(vopt_if opengl 'libepoxy-devel libdrm-devel MesaLib-devel')" -build_options="gtk sdl sdl2 spice" -build_options_default="sdl" +build_options="gtk opengl sdl sdl2 spice virgl" +build_options_default="opengl sdl virgl" desc_option_gtk="Enable GTK display and use it by default" 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" +desc_option_virgl="Enable support for VirGL (A Virtual 3D GPU renderer)" vopt_conflict "sdl" "sdl2" case "$XBPS_TARGET_MACHINE" in @@ -45,7 +47,8 @@ do_configure() { --enable-kvm --audio-drv-list=alsa,sdl,pa --disable-xen --enable-tpm \ --enable-vhost-net --enable-vnc-png --enable-virtfs \ --enable-libusb --disable-glusterfs --enable-snappy --enable-usb-redir \ - --enable-pie --localstatedir=/var $(vopt_enable spice) \ + --enable-pie --localstatedir=/var \ + $(vopt_enable virgl virglrenderer) $(vopt_enable opengl) $(vopt_enable spice) \ $(vopt_if sdl "--with-sdlabi=1.2") \ $(vopt_if sdl2 "--with-sdlabi=2.0") \ $(vopt_enable gtk) ${args}