From 45aae10b4036276e6ffcd77abb4e02c0456e9c55 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sandro=20Knau=C3=9F?= Date: Sat, 15 Feb 2025 03:24:03 +0100 Subject: [PATCH] Build less for arch indep build. --- debian/rules | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/debian/rules b/debian/rules index c8010a72b..64cceb3bb 100755 --- a/debian/rules +++ b/debian/rules @@ -10,18 +10,28 @@ else BUILD_WEBENGINE := OFF endif +CONFIGURE_OPTIONS := -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_UPDATER=OFF \ + -DPLUGINDIR=/usr/lib/$(DEB_HOST_GNU_TYPE)/qt6/plugins \ + -DEXTERNAL_VERSION=$(DEB_VERSION) %: dh $@ override_dh_auto_configure: +ifeq (,$(findstring -a,$(DH_INTERNAL_OPTIONS))) + @echo " -- Configure for arch all build --" + dh_auto_configure -- \ + -DBUILD_TESTING=OFF \ + -DBUILD_SHELL_INTEGRATION_DOLPHIN=OFF \ + -DBUILD_WITH_WEBENGINE=OFF \ + $(CONFIGURE_OPTIONS) +else dh_auto_configure -- \ - -DCMAKE_INSTALL_PREFIX=/usr \ -DUNIT_TESTING=ON \ - -DBUILD_UPDATER=OFF \ -DBUILD_WITH_WEBENGINE=$(BUILD_WEBENGINE) \ - -DPLUGINDIR=/usr/lib/$(DEB_HOST_GNU_TYPE)/qt6/plugins \ - -DEXTERNAL_VERSION=$(DEB_VERSION) + $(CONFIGURE_OPTIONS) +endif execute_before_dh_auto_build-arch: dh_auto_build -- doc-man @echo "blhc: ignore-line-regexp: .*/CMakeCXXCompilerABI.cpp.*" -- 2.30.2