install-translations-in-filesdir-lang.diff 718 B

1234567891011121314151617
  1. Description: Install the translations in $FILESDIR/lang instead of /usr/bin
  2. Author: Joachim Reichel <reichel@debian.org>
  3. Index: cppcheck/gui/CMakeLists.txt
  4. ===================================================================
  5. --- cppcheck.orig/gui/CMakeLists.txt
  6. +++ cppcheck/gui/CMakeLists.txt
  7. @@ -51,7 +51,7 @@ if (BUILD_GUI)
  8. endif()
  9. install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
  10. - install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
  11. + install(FILES ${qms} DESTINATION ${FILESDIR}/lang COMPONENT applications)
  12. install(FILES cppcheck-gui.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)