File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -368,10 +368,8 @@ install(DIRECTORY ${STK_DATA_DIR} DESTINATION ${STK_INSTALL_DATA_DIR} PATTERN ".
368368if(STK_ASSETS_DIR AND CHECK_ASSETS)
369369 install(DIRECTORY ${STK_ASSETS_DIR} DESTINATION ${STK_INSTALL_DATA_DIR} /data PATTERN " .svn " EXCLUDE PATTERN " .git " EXCLUDE)
370370endif()
371- install(FILES ${PROJECT_BINARY_DIR } /supertuxkart.desktop DESTINATION share/applications)
371+ install(FILES ${STK_DATA_DIR} /supertuxkart.desktop DESTINATION share/applications)
372+ install(FILES data/supertuxkart_32.png DESTINATION share/icons/hicolor/32x32 RENAME supertuxkart.png)
373+ install(FILES data/supertuxkart_128.png DESTINATION share/icons/hicolor/128x128 RENAME supertuxkart.png)
372374install(FILES data/supertuxkart_32.png data/supertuxkart_128.png DESTINATION share/pixmaps)
373375install(FILES data/supertuxkart.appdata DESTINATION share/appdata)
374-
375- set(PREFIX ${CMAKE_INSTALL_PREFIX } )
376- configure_file(data/supertuxkart_desktop.template supertuxkart.desktop)
377- add_dependencies(supertuxkart supertuxkart.desktop)
Original file line number Diff line number Diff line change 11[Desktop Entry]
22Name =SuperTuxKart
3- Icon=@PREFIX@/share/pixmaps/supertuxkart_128.png
3+ Icon =supertuxkart
44GenericName =A kart racing game
55GenericName[de]=Ein Kart-Rennspiel
66GenericName[fr]=Un jeu de karting
77GenericName[gl]=Xogo de carreiras con karts
88GenericName[pl]=Wyścigi gokartów
99GenericName[ro]=Un joc de curse cu carturi
10- Exec=@PREFIX@/@STK_INSTALL_BINARY_DIR@/ supertuxkart --no-console
10+ Exec =supertuxkart
1111Terminal =false
1212StartupNotify =false
1313Type =Application
14- TryExec=@PREFIX@/@STK_INSTALL_BINARY_DIR@/supertuxkart
1514Categories =Game;ArcadeGame;
You can’t perform that action at this time.
0 commit comments