summaryrefslogtreecommitdiff
path: root/multimedia/avidemux/avidemux-2.5.1-i18n.patch
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2010-05-19 01:53:52 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-05-19 01:53:52 -0400
commit49e6340cd8b5eafa0621caca6c962fecba7f5a39 (patch)
treee008790b89c2f8158c93b305cb297c0a2b03c36b /multimedia/avidemux/avidemux-2.5.1-i18n.patch
parent2154de06106de52c506a134cab53f3cfe8ce57e6 (diff)
downloadslackbuilds-49e6340cd8b5eafa0621caca6c962fecba7f5a39.tar.gz
multimedia/avidemux: Updated for version 2.5.2.
Diffstat (limited to 'multimedia/avidemux/avidemux-2.5.1-i18n.patch')
-rw-r--r--multimedia/avidemux/avidemux-2.5.1-i18n.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/multimedia/avidemux/avidemux-2.5.1-i18n.patch b/multimedia/avidemux/avidemux-2.5.1-i18n.patch
new file mode 100644
index 0000000000..956bbd1921
--- /dev/null
+++ b/multimedia/avidemux/avidemux-2.5.1-i18n.patch
@@ -0,0 +1,42 @@
+diff --git a/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp b/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp
+index 4cce636..b875528 100644
+--- a/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp
++++ b/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp
+@@ -73,7 +73,7 @@ void loadTranslator(void)
+ #ifdef __APPLE__
+ QString appdir = QCoreApplication::applicationDirPath() + "/../Resources/locale/";
+ #else
+- QString appdir = QCoreApplication::applicationDirPath() + "/i18n/";
++ QString appdir = "/usr/share/avidemux/i18n/";
+ #endif
+
+ loadTranslation(&qtTranslator, appdir + "qt_" + QLocale::system().name());
+@@ -164,4 +164,4 @@ const char* getNativeRendererDesc(void)
+ }
+
+ return "Qt";
+-}
+\ No newline at end of file
++}
+diff --git a/cmake/Ts.cmake b/cmake/Ts.cmake
+index 15eb89b..e40f078 100644
+--- a/cmake/Ts.cmake
++++ b/cmake/Ts.cmake
+@@ -64,7 +64,7 @@ MACRO(COMPILE_AVIDEMUX_TS_FILES ts_subdir _sources)
+
+ SET(qm_files ${qm_files} ${_outXml} ${_out})
+
+- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n")
++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
+ ENDFOREACH(ts_input ${ts_files})
+
+ SET(${_sources} ${${_sources}} ${qm_files})
+@@ -95,7 +95,7 @@ MACRO(COMPILE_QT_TS_FILES ts_subdir _sources)
+
+ SET(qm_files ${qm_files} ${_out})
+
+- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n")
++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
+ ENDFOREACH(ts_input ${ts_files})
+
+ SET(${_sources} ${${_sources}} ${qm_files})