[neon/qt6/qt6-sensors/Neon/unstable] debian: rebase
Carlos De Maine
null at kde.org
Sat Oct 28 14:51:02 BST 2023
Git commit d1c89186ea1d654ec83a254e463e8281012b259a by Carlos De Maine.
Committed on 28/10/2023 at 15:50.
Pushed by carlosdem into branch 'Neon/unstable'.
rebase
M +5 -1 debian/control
M +7 -1 debian/rules
https://invent.kde.org/neon/qt6/qt6-sensors/-/commit/d1c89186ea1d654ec83a254e463e8281012b259a
diff --git a/debian/control b/debian/control
index b4fe8c7..05a52d7 100644
--- a/debian/control
+++ b/debian/control
@@ -6,9 +6,13 @@ Uploaders: Patrick Franz <deltaone at debian.org>, Lu YaNing <dluyaning at gmail.com>
Build-Depends: cmake (>= 3.24~),
debhelper-compat (= 13),
dh-exec,
+ g++-12,
+ gcc-12,
libgl-dev,
libssl-dev,
libvulkan-dev [linux-any],
+ libxkbcommon-dev,
+ mold,
ninja-build,
pkg-config,
pkg-kde-tools,
@@ -102,4 +106,4 @@ Package: qt6-sensors-examples
Architecture: all
Depends: qt6-sensors-dev
Description: Dummy transitional
- Transitional dummy package.
+ Transitional dummy package.
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index dba1943..e2abeb2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,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))
extra_cmake_args += -DQT_HOST_PATH=/usr
@@ -13,8 +17,10 @@ endif
override_dh_auto_configure:
dh_auto_configure -- \
- --log-level=STATUS \
+ -DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
+ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
+ -DQT_UNITY_BUILD=ON \
$(extra_cmake_args)
override_dh_auto_build-indep:
More information about the Neon-commits
mailing list