From 889f82a8d72ca0101f986e827bcb058eeb88586d Mon Sep 17 00:00:00 2001
From: Michael Gehring <mg@ebfe.org>
Date: Sat, 5 Aug 2017 19:34:48 +0000
Subject: [PATCH] qemu: fix gtk3 build option

ERROR: unknown option --enable-gtk3
---
 srcpkgs/qemu/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template
index d0d61ea7efe..aa202bc6f71 100644
--- a/srcpkgs/qemu/template
+++ b/srcpkgs/qemu/template
@@ -69,7 +69,7 @@ do_configure() {
 		$(vopt_if sdl "--with-sdlabi=1.2") \
 		$(vopt_if sdl2 "--with-sdlabi=2.0") \
 		$(vopt_enable smartcard) \
-		$(vopt_enable gtk3) ${args}
+		$(vopt_if gtk3 "--enable-gtk --with-gtkabi=3.0") ${args}
 }
 do_build() {
 	# Remove our strip(1) wrapper... E2BIG.