diff options
Diffstat (limited to 'games-arcade/performous/files/performous-0.7.0-linguas.patch')
-rw-r--r-- | games-arcade/performous/files/performous-0.7.0-linguas.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/games-arcade/performous/files/performous-0.7.0-linguas.patch b/games-arcade/performous/files/performous-0.7.0-linguas.patch deleted file mode 100644 index 21836766d878..000000000000 --- a/games-arcade/performous/files/performous-0.7.0-linguas.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- lang/CMakeLists.txt -+++ lang/CMakeLists.txt -@@ -7,5 +7,11 @@ - set(mofile ${CMAKE_CURRENT_BINARY_DIR}/${language}.mo) - add_custom_command(OUTPUT ${mofile} COMMAND ${Msgfmt_BIN} -v "${pofile}" -o ${mofile} MAIN_DEPENDENCY ${pofile} COMMENT "Building ${language} locale" VERBATIM) - add_custom_target(locale_${language} ALL DEPENDS ${mofile}) # Make sure the mofiles are always built -- install(FILES ${mofile} DESTINATION ${LOCALE_DIR}/${language}/LC_MESSAGES RENAME ${CMAKE_PROJECT_NAME}.mo) - endforeach(language) -+foreach(language $ENV{LINGUAS}) -+ set(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${language}.po) -+ if (EXISTS ${pofile}) -+ set(mofile ${CMAKE_CURRENT_BINARY_DIR}/${language}.mo) -+ install(FILES ${mofile} DESTINATION ${LOCALE_DIR}/${language}/LC_MESSAGES RENAME ${CMAKE_PROJECT_NAME}.mo) -+ endif() -+endforeach(language) |