From 9117b132527c83f460b90d8b2b220cd6314600df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lisandro=20Dami=C3=A1n=20Nicanor=20P=C3=A9rez=20Meyer?= Date: Sat, 18 Feb 2023 11:02:30 -0300 Subject: [PATCH] Workaround wrong path in CMake file, #1030895. --- debian/changelog | 5 +++++ debian/rules | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index 527c7e6..480f57d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,10 @@ qt6-base (6.4.2+dfsg-4) UNRELEASED; urgency=medium + [ Lisandro Damián Nicanor Pérez Meyer ] + * Workaround wrong path in CMake file, Qt6::qmake IMPORTED_LOCATION by + modifying the path (Closes: #1030895). + Thanks Helmut Grohne and Dmitry Shachnev for the bug and solution. + -- Debian Qt/KDE Maintainers Sat, 18 Feb 2023 10:59:59 -0300 qt6-base (6.4.2+dfsg-3) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index 6d992e9..f921728 100755 --- a/debian/rules +++ b/debian/rules @@ -104,6 +104,10 @@ execute_after_dh_auto_install: < debian/qmake-cross-wrapper.in > debian/tmp/usr/bin/$(DEB_HOST_GNU_TYPE)-qmake6 chmod +x debian/tmp/usr/bin/$(DEB_HOST_GNU_TYPE)-qmake6 + # Fix Qt6::qmake IMPORTED_LOCATION, see https://bugs.debian.org/1030980 + sed -i 's,lib/qt6/bin/qmake,bin/$(DEB_HOST_GNU_TYPE)-qmake,' \ + debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Qt6CoreTools/Qt6CoreToolsTargets-none.cmake + override_dh_makeshlibs: dh_makeshlibs -XlibQt6EglFSDeviceIntegration -XlibQt6EglFsKmsGbmSupport -XlibQt6EglFsKmsSupport -XlibQt6XcbQpa