diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
commit | 0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch) | |
tree | 07815070629c7c11000a7f51ceb8ccbccb49a809 /games-arcade/performous/files | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/performous/files')
-rw-r--r-- | games-arcade/performous/files/performous-1.1-gentoo.patch | 12 | ||||
-rw-r--r-- | games-arcade/performous/files/performous-1.1-linguas.patch | 18 |
2 files changed, 0 insertions, 30 deletions
diff --git a/games-arcade/performous/files/performous-1.1-gentoo.patch b/games-arcade/performous/files/performous-1.1-gentoo.patch deleted file mode 100644 index a73663a88c41..000000000000 --- a/games-arcade/performous/files/performous-1.1-gentoo.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru performous-1.0.orig/game/CMakeLists.txt performous-1.0/game/CMakeLists.txt ---- performous-1.0.orig/game/CMakeLists.txt 2014-10-28 19:11:45.000000000 -0400 -+++ performous-1.0/game/CMakeLists.txt 2015-03-31 03:01:30.806061643 -0400 -@@ -141,7 +141,7 @@ - set(BIN_INSTALL .) # Straight to Program Files/Performous with no bin subfolder. - set(SUBSYSTEM_WIN32 WIN32) - else() -- set(BIN_INSTALL bin) -+ set(BIN_INSTALL @GENTOO_BINDIR@) - endif() - - # Build main executable diff --git a/games-arcade/performous/files/performous-1.1-linguas.patch b/games-arcade/performous/files/performous-1.1-linguas.patch deleted file mode 100644 index f8f1349ea3b9..000000000000 --- a/games-arcade/performous/files/performous-1.1-linguas.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -ru performous-1.0.orig/lang/CMakeLists.txt performous-1.0/lang/CMakeLists.txt ---- performous-1.0.orig/lang/CMakeLists.txt 2014-10-28 19:11:45.000000000 -0400 -+++ performous-1.0/lang/CMakeLists.txt 2015-02-22 04:25:40.502252942 -0500 -@@ -9,5 +9,13 @@ - file(MAKE_DIRECTORY "${mobuild}") - 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") - 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) -+ |