From 13f3126ea2cd4a9c2db8953300ef53da050d08a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20R=C3=B6hling?= Date: Thu, 7 Oct 2021 21:03:46 +0200 Subject: [PATCH] New build profile: cmake.pkg.nogui --- debian/control | 8 ++++---- debian/rules | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/control b/debian/control index a34af3d68..c4ce0d8e9 100644 --- a/debian/control +++ b/debian/control @@ -11,14 +11,14 @@ Build-Depends: debhelper-compat (= 13), libcurl4-openssl-dev | libcurl-ssl-dev , libexpat1-dev , libjsoncpp-dev , - libncurses5-dev , + libncurses5-dev , librhash-dev , libssl-dev , libuv1-dev (>= 1.10) , procps [!hurd-any], python3-sphinx, python3-sphinxcontrib.qthelp | python3-sphinx (<< 2.0), - qtbase5-dev , + qtbase5-dev , zlib1g-dev Build-Depends-Indep: dh-elpa, @@ -65,7 +65,7 @@ Description: CMake data files (modules, templates and documentation) Package: cmake-curses-gui Architecture: any -Build-Profiles: +Build-Profiles: Depends: ${misc:Depends}, ${shlibs:Depends}, cmake (= ${binary:Version}) @@ -82,7 +82,7 @@ Description: curses based user interface for CMake (ccmake) Package: cmake-qt-gui Architecture: any -Build-Profiles: +Build-Profiles: Depends: ${misc:Depends}, ${shlibs:Depends}, cmake (= ${binary:Version}) diff --git a/debian/rules b/debian/rules index b8a680600..6882c023f 100755 --- a/debian/rules +++ b/debian/rules @@ -25,7 +25,7 @@ $(BUILD_FLAGS_FILE) verify-build-flags: $(call $(flag_action),CMAKE_C_FLAGS,"$(CFLAGS)","C flags") $(call $(flag_action),CMAKE_CXX_FLAGS,"$(CXXFLAGS)","C++ flags") $(call $(flag_action),CMAKE_SKIP_BOOTSTRAP_TEST,ON,"Skip BootstrapTest") -ifeq ($(filter pkg.cmake.bootstrap,$(DEB_BUILD_PROFILES)),) +ifeq (,$(filter pkg.cmake.bootstrap pkg.cmake.nogui,$(DEB_BUILD_PROFILES))) $(call $(flag_action),BUILD_CursesDialog,ON,"Build curses GUI") $(call $(flag_action),BUILD_QtDialog,ON,"Build Qt GUI") endif