]> git.pld-linux.org Git - packages/qemu.git/commitdiff
added bcond for building qemu with virgl support
authorJan Palus <atler@pld-linux.org>
Wed, 19 Sep 2018 22:37:40 +0000 (00:37 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 19 Sep 2018 22:37:40 +0000 (00:37 +0200)
qemu.spec

index d36414002a0b57c5b67c34706e353917fbda8303..41521be00fb8767b655cc7eeacec52e199d95a99 100644 (file)
--- 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 \
This page took 0.032075 seconds and 4 git commands to generate.