[packages/qt5-qtbase] - added openvg bcond

baggins baggins at pld-linux.org
Sun Feb 22 22:27:06 CET 2015


commit 884447009c7e6f4f801d06e1a18ab14ed9b07be6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 22 22:26:56 2015 +0100

    - added openvg bcond

 qt5-qtbase.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec
index c61fa26..d2e6926 100644
--- a/qt5-qtbase.spec
+++ b/qt5-qtbase.spec
@@ -20,6 +20,7 @@
 %bcond_without	pch		# pch (pre-compiled headers) in qmake
 %bcond_with	systemd		# logging to journald
 %bcond_without	tslib		# tslib support
+%bcond_with	openvg		# OpenVG support
 # -- databases
 %bcond_without	freetds		# TDS (Sybase/MS SQL) plugin
 %bcond_without	mysql		# MySQL plugin
@@ -74,7 +75,7 @@ URL:		http://qt-project.org/
 %{?with_directfb:BuildRequires:	DirectFB-devel}
 BuildRequires:	EGL-devel
 %{?with_ibase:BuildRequires:	Firebird-devel}
-BuildRequires:	Mesa-libOpenVG-devel
+%{?with_openvg:BuildRequires:	Mesa-libOpenVG-devel}
 %{?with_kms:BuildRequires:	Mesa-libgbm-devel}
 BuildRequires:	OpenGL-devel
 %{?with_kms:BuildRequires:	OpenGLESv2-devel}
@@ -882,6 +883,7 @@ COMMONOPT=" \
 	-system-xkbcommon \
 	-system-zlib \
 	%{?with_tslib:-tslib} \
+	-%{!?with_openvg:no-}openvg \
 	-xcursor \
 	-xfixes \
 	-xinerama \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtbase.git/commitdiff/884447009c7e6f4f801d06e1a18ab14ed9b07be6



More information about the pld-cvs-commit mailing list