[packages/qemu] added bcond for building qemu with virgl support
atler
atler at pld-linux.org
Thu Sep 20 00:38:12 CEST 2018
commit 24209dadd6acad081a37dfd9e252cdeecc6a4362
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Sep 20 00:37:40 2018 +0200
added bcond for building qemu with virgl support
qemu.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/qemu.spec b/qemu.spec
index d364140..41521be 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -25,6 +25,7 @@
%bcond_without user_static # build linux-user static packages
%bcond_with lttng # lttng-ust trace backend support
%bcond_with systemtap # SystemTap/dtrace trace backend support
+%bcond_with virgl # build virgl support
%if %{with gtk2}
%undefine with_gtk3
@@ -121,6 +122,7 @@ BuildRequires: texinfo
%{?with_lttng:BuildRequires: userspace-rcu-devel}
BuildRequires: vde2-devel
BuildRequires: which
+%{?with_virgl:BuildRequires: virglrenderer-devel}
%{?with_xen:BuildRequires: xen-devel >= 3.4}
BuildRequires: xfsprogs-devel
BuildRequires: xorg-lib-libX11-devel
@@ -899,6 +901,7 @@ build dynamic \
--enable-vnc-png \
--enable-vnc-sasl \
%{!?with_vte:--disable-vte} \
+ %{__enable_disable virgl virglrenderer} \
%{__enable_disable xen} \
--enable-modules \
--disable-netmap \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qemu.git/commitdiff/24209dadd6acad081a37dfd9e252cdeecc6a4362
More information about the pld-cvs-commit
mailing list