[neon/qt6/qt6-languageserver/Neon/unstable] debian: update boiler plate

Carlos De Maine null at kde.org
Mon Oct 28 07:04:22 GMT 2024


Git commit 500fcc684afb954b8ed2176f82ce177b1b039d1f by Carlos De Maine.
Committed on 28/10/2024 at 07:04.
Pushed by carlosdem into branch 'Neon/unstable'.

update boiler plate

M  +8    -1    debian/rules

https://invent.kde.org/neon/qt6/qt6-languageserver/-/commit/500fcc684afb954b8ed2176f82ce177b1b039d1f

diff --git a/debian/rules b/debian/rules
index 872fde0..34f77e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,20 @@
 #!/usr/bin/make -f
+export DH_VERBOSE = 1
 
 # Use already defined DEB_HOST_* variables.
 include /usr/share/dpkg/architecture.mk
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
 
+#### uncomment when bootstrapping a new qt release ####
+#export DEB_BUILD_PROFILES := ${DEB_BUILD_PROFILES} nodoc
+
 # QT_HOST_PATH isn't passed in cross-builds
 ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
-	cmake_extra_args += -DQT_HOST_PATH=/usr
+	cmake_extra_args += \
+		-DQT_HOST_PATH=/usr \
+		-DQT_HOST_PATH_CMAKE_DIR=/usr/lib/$(DEB_BUILD_MULTIARCH)/cmake \
+		-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON
 endif
 
 %:


More information about the Neon-commits mailing list