[packages/qt5-qtbase] add bootstrap bcond

glen glen at pld-linux.org
Tue Feb 24 23:47:13 CET 2015


commit eb55fca25d1ee2e1c2519876986097ba51ce32cf
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Feb 25 00:47:09 2015 +0200

    add bootstrap bcond

 qt5-qtbase.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec
index 069a2af..0f12911 100644
--- a/qt5-qtbase.spec
+++ b/qt5-qtbase.spec
@@ -8,6 +8,7 @@
 #
 # Conditional build:
 %bcond_with	static_libs	# static libraries [incomplete support in .spec]
+%bcond_with	bootstrap	# disable features to able to build without installed qt5
 # -- build targets
 %bcond_without	qch		# QCH documentation
 %bcond_without	qm		# QM translations
@@ -53,6 +54,11 @@
 %define		with_sse2	1
 %endif
 
+%if %{with bootstrap}
+%undefine	with_qch
+%undefine	with_qm
+%endif
+
 %define		icu_abi		54
 %define		next_icu_abi	%(echo $((%{icu_abi} + 1)))
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list