]> git.pld-linux.org Git - packages/qt5-qttools.git/commitdiff
add bootstrap to disable qch and qm bconds
authorElan Ruusamäe <glen@delfi.ee>
Wed, 10 Jun 2015 10:54:58 +0000 (13:54 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 10 Jun 2015 10:54:58 +0000 (13:54 +0300)
qt5-qttools.spec

index 3ca29f07f6a9a8e9c761469d85240f8d22b797ef..51006132f0db6db319eb3651f2b0db382848483d 100644 (file)
@@ -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
This page took 0.128904 seconds and 4 git commands to generate.