[neon/qt6/qt6-quickeffectmaker/Neon/unstable] debian: usr/lib/${DEB_HOST_MULTIARCH}/cmake/Qt6Qml/QmlPlugins/

Carlos De Maine null at kde.org
Sat Oct 28 14:37:46 BST 2023


Git commit f7787d17e3cc30678a3f31933139bcecb9c15d0a by Carlos De Maine.
Committed on 28/10/2023 at 15:37.
Pushed by carlosdem into branch 'Neon/unstable'.

usr/lib/${DEB_HOST_MULTIARCH}/cmake/Qt6Qml/QmlPlugins/

M  +3    -0    debian/control
M  +8    -2    debian/rules

https://invent.kde.org/neon/qt6/qt6-quickeffectmaker/-/commit/f7787d17e3cc30678a3f31933139bcecb9c15d0a

diff --git a/debian/control b/debian/control
index 79c3d51..6e33939 100644
--- a/debian/control
+++ b/debian/control
@@ -5,10 +5,13 @@ Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
 Uploaders: Patrick Franz <deltaone at debian.org>, Lu YaNing <dluyaning at gmail.com>
 Build-Depends: cmake,
                debhelper-compat (= 13),
+               g++-12,
+               gcc-12,
                libgl-dev,
                libssl-dev,
                libvulkan-dev [linux-any],
                libxkbcommon-dev,
+
                ninja-build,
                pkg-config,
                pkg-kde-tools,
diff --git a/debian/rules b/debian/rules
index c49b8ff..5db1eb5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@ include /usr/share/dpkg/architecture.mk
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
 
+# need gcc 12.1 for mold to be able to process --gdb-index
+export CC=gcc-12
+export CXX=g++-12
+
 # QT_HOST_PATH isn't passed in cross-builds
 ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
 	cmake_extra_args += -DQT_HOST_PATH=/usr
@@ -14,9 +18,11 @@ endif
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
-		--log-level=STATUS \
+		-DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
 		-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
-		$(cmake_extra_args)
+		-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
+		-DQT_UNITY_BUILD=ON \
+		$(extra_cmake_args)
 
 #execute_after_dh_auto_install:
 	# Reproducible builds: remove build paths from .prl files


More information about the Neon-commits mailing list