Skip to content

Commit

Permalink
Debian: recommend qt6-translations-l10n
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Jan 8, 2025
1 parent 3971356 commit 36dde30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3831,6 +3831,11 @@ set(CPACK_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")

set(CPACK_DEBIAN_PACKAGE_SECTION "sound")
set(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
if(QT6)
set(CPACK_DEBIAN_PACKAGE_RECOMMENDS "qt6-translations-l10n")
else()
set(CPACK_DEBIAN_PACKAGE_RECOMMENDS "qttranslations5-l10n")
endif()
set(CPACK_DEBIAN_PACKAGE_SUGGESTS "pdf-viewer, pulseaudio-utils")
set(CPACK_DEBIAN_PACKAGE_REPLACES "mixxx-data")
if(QT6)
Expand Down
1 change: 1 addition & 0 deletions packaging/debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Package: mixxx
Section: @CPACK_DEBIAN_PACKAGE_SECTION@
Architecture: linux-any
Depends: ${shlibs:Depends}, ${misc:Depends}, @CPACK_DEBIAN_PACKAGE_DEPENDS@
Recommends: @CPACK_DEBIAN_PACKAGE_RECOMMENDS@
Suggests: @CPACK_DEBIAN_PACKAGE_SUGGESTS@
Replaces: mixxx-data
Description: @CPACK_DEBIAN_PACKAGE_DESCRIPTION_MERGED@

0 comments on commit 36dde30

Please sign in to comment.