diff options
Diffstat (limited to 'games-action/openclonk/files/openclonk-7.0-postinst.patch')
-rw-r--r-- | games-action/openclonk/files/openclonk-7.0-postinst.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games-action/openclonk/files/openclonk-7.0-postinst.patch b/games-action/openclonk/files/openclonk-7.0-postinst.patch new file mode 100644 index 000000000000..26ad61ec6784 --- /dev/null +++ b/games-action/openclonk/files/openclonk-7.0-postinst.patch @@ -0,0 +1,14 @@ +update-desktop-database is called from the pkg_postinst stage instead. + +--- openclonk-release-6.0-src.orig/CMakeLists.txt ++++ openclonk-release-6.0-src/CMakeLists.txt +@@ -1564,7 +1564,8 @@ + # Install new files + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/openclonk.desktop DESTINATION "${INSTALL_DATAROOTDIR}/applications") + # Update the MIME cache -- this makes the clonk:// protocol handler actually work +- install(CODE "execute_process(COMMAND update-desktop-database)") ++ # --> ebuild, pkg_postinst stage ++ #install(CODE "execute_process(COMMAND update-desktop-database)") + + # Install binaries + install(TARGETS openclonk DESTINATION "${INSTALL_GAMES_BINDIR}") |