Add qt6-qpa-plugins Qt dependency for Debian (#7380)

* Add qt6-qpa-plugins

* Update ChangeLog
This commit is contained in:
Nick Bolton
2024-07-10 14:48:27 +01:00
committed by GitHub
parent 1e63b64e63
commit 16c0472d4d
2 changed files with 7 additions and 1 deletions

View File

@ -46,7 +46,7 @@ Enhancements:
- #7374 Add missing DEB and RPM dependencies
- #7376 Automated weekly build of Docker images for Linux runners
- #7378 Improve workflow triggers to ensure correct run time
- #7380 Add `qt6-qpa-plugins` Qt dependency for Debian
# 1.14.6

View File

@ -24,6 +24,7 @@ macro(configure_packaging)
set(CPACK_PACKAGE_CONTACT "Synergy <support@symless.com>")
set(CPACK_PACKAGE_DESCRIPTION "Mouse and keyboard sharing utility")
set(CPACK_PACKAGE_VENDOR "Symless")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
configure_windows_packaging()
@ -92,6 +93,11 @@ macro(configure_linux_packaging)
set(CPACK_DEBIAN_PACKAGE_SECTION "utils")
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
# HACK: The GUI depends on the Qt6 QPA plugins package, but that's not picked
# up by shlibdeps on Ubuntu 22 (though not a problem on Ubuntu 24 and Debian
# 12), so we must add it manually.
set(CPACK_DEBIAN_PACKAGE_DEPENDS "qt6-qpa-plugins")
set(CPACK_RPM_PACKAGE_LICENSE "GPLv2")
set(CPACK_RPM_PACKAGE_GROUP "Applications/System")