File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed 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 ".
368
368
if (STK_ASSETS_DIR AND CHECK_ASSETS)
369
369
install (DIRECTORY ${STK_ASSETS_DIR} DESTINATION ${STK_INSTALL_DATA_DIR} /data PATTERN ".svn" EXCLUDE PATTERN ".git" EXCLUDE )
370
370
endif ()
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)
372
374
install (FILES data/supertuxkart_32.png data/supertuxkart_128.png DESTINATION share/pixmaps)
373
375
install (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 1
1
[Desktop Entry]
2
2
Name =SuperTuxKart
3
- Icon=@PREFIX@/share/pixmaps/supertuxkart_128.png
3
+ Icon =supertuxkart
4
4
GenericName =A kart racing game
5
5
GenericName[de]=Ein Kart-Rennspiel
6
6
GenericName[fr]=Un jeu de karting
7
7
GenericName[gl]=Xogo de carreiras con karts
8
8
GenericName[pl]=Wyścigi gokartów
9
9
GenericName[ro]=Un joc de curse cu carturi
10
- Exec=@PREFIX@/@STK_INSTALL_BINARY_DIR@/ supertuxkart --no-console
10
+ Exec =supertuxkart
11
11
Terminal =false
12
12
StartupNotify =false
13
13
Type =Application
14
- TryExec=@PREFIX@/@STK_INSTALL_BINARY_DIR@/supertuxkart
15
14
Categories =Game;ArcadeGame;
You can’t perform that action at this time.
0 commit comments