[neon/qt6/qt6-tools/Neon/release] debian: fix build
Carlos De Maine
null at kde.org
Thu Dec 14 11:53:55 GMT 2023
Git commit 9b2770ee3c25cd64e11959ce8414dd54fd4e8465 by Carlos De Maine.
Committed on 14/12/2023 at 12:53.
Pushed by carlosdem into branch 'Neon/release'.
fix build
M +2 -0 debian/control
M +8 -0 debian/rules
https://invent.kde.org/neon/qt6/qt6-tools/-/commit/9b2770ee3c25cd64e11959ce8414dd54fd4e8465
diff --git a/debian/control b/debian/control
index b612d69..f52c3d5 100644
--- a/debian/control
+++ b/debian/control
@@ -76,6 +76,8 @@ Depends: libclang-14-dev,
qt6-tools (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends}
+Breaks: qt6-tools-dev-tools (<< 6.3.1~),
+Replaces: qt6-tools-dev-tools (<< 6.3.1~),
Provides: qt6-tools-dev-tools,
qt6-tools-private-dev,
qt6-tools-doc-dev,
diff --git a/debian/rules b/debian/rules
index b461d39..0ac6012 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,9 +21,13 @@ override_dh_auto_configure:
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
+ -DCMAKE_SKIP_INSTALL_RPATH=ON \
-DQT_UNITY_BUILD=ON \
$(extra_cmake_args)
+override_dh_shlibdeps:
+ dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
+
## attention to the negation
ifneq ($(filter neon_nodoc,$(DEB_BUILD_PROFILES)),)
override_dh_auto_build-indep:
@@ -41,3 +45,7 @@ override_dh_auto_build-indep:
override_dh_auto_install-indep:
DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install
endif
+
+execute_after_dh_auto_install-arch:
+ # Reproducible builds: remove build paths from .prl files
+ sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libQt6*.prl
More information about the Neon-commits
mailing list