diff options
author | B. Watson | 2022-04-06 17:07:05 +0200 |
---|---|---|
committer | B. Watson | 2022-04-06 17:07:05 +0200 |
commit | 830a31bbbbd8b42ef562fe225f8620e906887806 (patch) | |
tree | f311f45897ef56f97364d6f863c250277a48bc80 /development/cppcheck/install-translations-in-filesdir-lang.diff | |
parent | b83041c697fb18d2be12e3b2c363cc00b7cf6505 (diff) | |
download | slackbuilds-830a31bbbbd8b42ef562fe225f8620e906887806.tar.gz |
development/cppcheck: Add doinst, fix translations.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'development/cppcheck/install-translations-in-filesdir-lang.diff')
-rw-r--r-- | development/cppcheck/install-translations-in-filesdir-lang.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/development/cppcheck/install-translations-in-filesdir-lang.diff b/development/cppcheck/install-translations-in-filesdir-lang.diff new file mode 100644 index 0000000000..63c7f0d5e8 --- /dev/null +++ b/development/cppcheck/install-translations-in-filesdir-lang.diff @@ -0,0 +1,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 +@@ -51,7 +51,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) + |