commit c7f4daf15d472dfe94a8ca9daa86137c47dcad4f
Author: Elan Ruusamäe <[email protected]>
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit