Added missing updates to make the desktop file location independent

(see r1919 on 0.5rc1 branch).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2008-05-20 01:12:58 +00:00
parent f85a078409
commit 01391b26fc
2 changed files with 6 additions and 5 deletions

View File

@ -11,7 +11,7 @@ pkgdata_DATA = $(shell find $(srcdir) -name "*.data") \
$(shell find $(srcdir) -name "*.projectile") \
CREDITS licenses \
supertuxkart_32.xpm supertuxkart_64.xpm \
supertuxkart.desktop
supertuxkart_desktop.template
desktopdir = $(prefix)/share/applications
desktop_DATA = supertuxkart.desktop
@ -25,4 +25,5 @@ EXTRA_DIST = $(pkgdata_DATA)
# since e.g. /usr/games might not be in the standard path
supertuxkart.desktop: supertuxkart_desktop.template
cat supertuxkart_desktop.template | sed 's#BINDIR#@prefix@/games#' >supertuxkart.desktop
cat supertuxkart_desktop.template | sed 's#PREFIX#@prefix@#' >supertuxkart.desktop

View File

@ -2,13 +2,13 @@
Encoding=UTF-8
Name=Supertuxkart
Version=0.5
Icon=supertuxkart_64.xpm
Icon=PREFIX/share/pixmaps/supertuxkart_64.xpm
Comment=A kart racing game
Comment[fr_FR]=Un jeu de karting
Comment[ro_RO]=Un joc de curse cu carturi
Exec=/usr/games/supertuxkart --log=file
Exec=PREFIX/games/supertuxkart --log=file
Terminal=false
StartupNotify=false
Type=Application
TryExec=BINDIR/supertuxkart
TryExec=PREFIX/games/supertuxkart
Categories=Game;ArcadeGame