[packages/qt5-qttools] add bootstrap to disable qch and qm bconds

glen glen at pld-linux.org
Wed Jun 10 12:55:08 CEST 2015


commit c7f4daf15d472dfe94a8ca9daa86137c47dcad4f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jun 10 13:54:58 2015 +0300

    add bootstrap to disable qch and qm bconds

 qt5-qttools.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/qt5-qttools.spec b/qt5-qttools.spec
index 3ca29f0..5100613 100644
--- a/qt5-qttools.spec
+++ b/qt5-qttools.spec
@@ -1,10 +1,17 @@
 #
 # Conditional build:
+%bcond_with	bootstrap	# disable features to able to build without installed qt5
+# -- build targets
 %bcond_without	qch		# QCH documentation
 %bcond_without	qm		# QM translations
 %bcond_without	qtdeclarative	# Quick2 plugin for Qt5Declarative
 %bcond_without	qtwebkit	# WebKit plugin for Qt5Declarative
 
+%if %{with bootstrap}
+%undefine	with_qch
+%undefine	with_qm
+%endif
+
 %define		orgname		qttools
 %define		qtbase_ver		%{version}
 %define		qttools_ver		5.2
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qttools.git/commitdiff/c7f4daf15d472dfe94a8ca9daa86137c47dcad4f



More information about the pld-cvs-commit mailing list