]> git.pld-linux.org Git - packages/qemu.git/commitdiff
Add bcond --without gl
authorMariusz Mazur <mmazur@axeos.com>
Thu, 11 Aug 2016 11:08:25 +0000 (13:08 +0200)
committerMariusz Mazur <mmazur@axeos.com>
Thu, 11 Aug 2016 11:08:25 +0000 (13:08 +0200)
It builds, no idea what it disables though.

qemu.spec

index 8188ab737673ef8b97398b3551e02c3222457b2c..245a10ed76131b4f273fe3ed1b8e3c780d446d59 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without sdl             # SDL UI and audio support
+%bcond_without  gl      # Don't require gl deps
 %bcond_without ceph            # Ceph/RBD support
 %bcond_without glusterfs       # GlusterFS backend
 %bcond_without rdma            # RDMA-based migration support
@@ -65,8 +66,8 @@ Patch5:               libjpeg-boolean.patch
 Patch6:                x32.patch
 Patch7:                %{name}-sh.patch
 URL:           http://www.qemu-project.org/
-BuildRequires: OpenGL-devel
-BuildRequires: OpenGL-GLX-devel
+%{?with_gl:BuildRequires:      OpenGL-devel}
+%{?with_gl:BuildRequires:      OpenGL-GLX-devel}
 %{?with_sdl:BuildRequires:     SDL2-devel >= 2.0}
 BuildRequires: alsa-lib-devel
 BuildRequires: bcc >= 0.16.21-2
@@ -84,7 +85,7 @@ BuildRequires:        libaio-devel
 %{?with_smartcard:BuildRequires:       libcacard-devel}
 BuildRequires: libcap-devel
 BuildRequires: libcap-ng-devel
-BuildRequires: libepoxy-devel
+%{?with_gl:BuildRequires:      libepoxy-devel}
 BuildRequires: libfdt-devel
 %{?with_rdma:BuildRequires:    libibverbs-devel}
 %{?with_iscsi:BuildRequires:   libiscsi-devel >= 1.9.0}
This page took 0.037783 seconds and 4 git commands to generate.