Add a stage1 build profile that disables building cmake-qt-gui.

Bug: #738161
ci/unstable
Felix Geyer 10 years ago
parent e7305144e9
commit a8bc51cb82

2
debian/changelog vendored

@ -1,6 +1,8 @@
cmake (3.3.1-2) UNRELEASED; urgency=medium cmake (3.3.1-2) UNRELEASED; urgency=medium
* Set the team mailing list as maintainer. * Set the team mailing list as maintainer.
* Add a stage1 build profile that disables building cmake-qt-gui.
(Bug: #738161)
-- Felix Geyer <fgeyer@debian.org> Sat, 22 Aug 2015 19:09:55 +0200 -- Felix Geyer <fgeyer@debian.org> Sat, 22 Aug 2015 19:09:55 +0200

3
debian/control vendored

@ -18,7 +18,7 @@ Build-Depends: debhelper (>= 9.20131104),
libncurses5-dev, libncurses5-dev,
procps [!hurd-any], procps [!hurd-any],
python-sphinx, python-sphinx,
qtbase5-dev, qtbase5-dev <!stage1>,
zlib1g-dev zlib1g-dev
Standards-Version: 3.9.6 Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-cmake/cmake.git Vcs-Git: git://anonscm.debian.org/pkg-cmake/cmake.git
@ -76,6 +76,7 @@ Description: curses based user interface for CMake (ccmake)
Package: cmake-qt-gui Package: cmake-qt-gui
Architecture: any Architecture: any
Build-Profiles: <!stage1>
Pre-Depends: dpkg (>= 1.17.5~) Pre-Depends: dpkg (>= 1.17.5~)
Depends: cmake (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Depends: cmake (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Provides: cmake-gui Provides: cmake-gui

4
debian/rules vendored

@ -29,7 +29,9 @@ $(BUILD_FLAGS_FILE) verify-build-flags:
$(call $(flag_action),CMAKE_CXX_FLAGS,"$(CXXFLAGS)","C++ flags") $(call $(flag_action),CMAKE_CXX_FLAGS,"$(CXXFLAGS)","C++ flags")
$(call $(flag_action),CMAKE_SKIP_BOOTSTRAP_TEST,ON,"Skip BootstrapTest") $(call $(flag_action),CMAKE_SKIP_BOOTSTRAP_TEST,ON,"Skip BootstrapTest")
$(call $(flag_action),BUILD_CursesDialog,ON,"Build curses GUI") $(call $(flag_action),BUILD_CursesDialog,ON,"Build curses GUI")
$(call $(flag_action),BUILD_QtDialog,ON,"Build Qt4 GUI") ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
$(call $(flag_action),BUILD_QtDialog,ON,"Build Qt GUI")
endif
# $(call $(flag_action),BUILD_DOCUMENTATION,ON) # $(call $(flag_action),BUILD_DOCUMENTATION,ON)
$(BUILD_FLAGS_FILE): flag_action := set_build_flag $(BUILD_FLAGS_FILE): flag_action := set_build_flag

Loading…
Cancel
Save