Package: cppcheck / 2.3-1

install-translations-in-filesdir-lang Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Install the translations in $FILESDIR/lang instead of /usr/bin
Author: Joachim Reichel <reichel@debian.org>

Index: cppcheck/gui/CMakeLists.txt
===================================================================
--- cppcheck.orig/gui/CMakeLists.txt
+++ cppcheck/gui/CMakeLists.txt
@@ -49,7 +49,7 @@ if (BUILD_GUI)
     endif()
 
     install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
-    install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
+    install(FILES ${qms} DESTINATION ${FILESDIR}/lang COMPONENT applications)
 
     install(FILES cppcheck-gui.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)