diff --git a/debian/changelog b/debian/changelog index d7868bd..09be0cf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ qt6-base (6.2.4+dfsg-1) UNRELEASED; urgency=medium * Update symbols. * Update d/copyright. * Update lintian-overrides. + * Specifies parameters to pass to the platform plugin. -- Debian Qt/KDE Maintainers Sun, 20 Mar 2022 10:13:27 +0000 diff --git a/debian/qmake6.install b/debian/qmake6.install index e00246f..a936544 100644 --- a/debian/qmake6.install +++ b/debian/qmake6.install @@ -464,3 +464,4 @@ usr/lib/${DEB_HOST_MULTIARCH}/qt6/mkspecs/win32-icc/qmake.conf usr/lib/${DEB_HOST_MULTIARCH}/qt6/mkspecs/win32-icc/qplatformdefs.h usr/lib/${DEB_HOST_MULTIARCH}/qt6/mkspecs/win32-msvc/qmake.conf usr/lib/${DEB_HOST_MULTIARCH}/qt6/mkspecs/win32-msvc/qplatformdefs.h +usr/lib/${DEB_HOST_MULTIARCH}/qt6/qt6.conf diff --git a/debian/qt.conf.in b/debian/qt.conf.in new file mode 100644 index 0000000..530bdcf --- /dev/null +++ b/debian/qt.conf.in @@ -0,0 +1,16 @@ +[Paths] +Prefix=/usr +ArchData=lib/@DEB_HOST_MULTIARCH@/qt6 +Binaries=lib/qt6/bin +Data=share/qt6 +Documentation=share/qt6/doc +Headers=include/@DEB_HOST_MULTIARCH@/qt6 +HostBinaries=lib/qt6/bin +HostData=lib/@DEB_HOST_MULTIARCH@/qt6 +HostLibraries=lib/@DEB_HOST_MULTIARCH@ +Libraries=lib/@DEB_HOST_MULTIARCH@ +LibraryExecutables=lib/@DEB_HOST_MULTIARCH@/qt6/mkspecs +Plugins=lib/@DEB_HOST_MULTIARCH@/qt6/plugins +Qml2Imports=lib/@DEB_HOST_MULTIARCH@/qt6/qml +Settings=/etc/xdg +Translations=share/qt6/translations diff --git a/debian/rules b/debian/rules index f9302f0..8e933f0 100755 --- a/debian/rules +++ b/debian/rules @@ -81,6 +81,10 @@ execute_after_dh_auto_install: # 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 + # Specifies parameters to pass to the platform plugin. + mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt6 + sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/' debian/qt.conf.in \ + > debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt6/qt6.conf override_dh_makeshlibs: dh_makeshlibs -XlibQt6EglFSDeviceIntegration -XlibQt6EglFsKmsGbmSupport -XlibQt6EglFsKmsSupport -XlibQt6XcbQpa