[packages/qemu] Add bcond --without gl

mmazur mmazur at pld-linux.org
Thu Aug 11 13:09:38 CEST 2016


commit cf0acedeb866abd796e6adf73796973899325920
Author: Mariusz Mazur <mmazur at axeos.com>
Date:   Thu Aug 11 13:08:25 2016 +0200

    Add bcond --without gl
    
    It builds, no idea what it disables though.

 qemu.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/qemu.spec b/qemu.spec
index 8188ab7..245a10e 100644
--- 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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qemu.git/commitdiff/cf0acedeb866abd796e6adf73796973899325920



More information about the pld-cvs-commit mailing list