Dominique Leuenberger 2012-12-15 20:59:12 +00:00 committed by Git OBS Bridge
parent dd4c7fa346
commit d617f2f9fb
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,21 @@
--- main/trunk/data/supertuxkart_desktop.template 2012/12/13 02:23:14 12275
+++ main/trunk/data/supertuxkart_desktop.template 2012/12/13 20:23:26 12276
@@ -1,5 +1,4 @@
[Desktop Entry]
-Encoding=UTF-8
Name=SuperTuxKart
Icon=@PREFIX@/share/pixmaps/supertuxkart_64.xpm
GenericName=A kart racing game
@@ -7,9 +6,9 @@
GenericName[fr_FR]=Un jeu de karting
GenericName[gl]=Xogo de carreiras con karts
GenericName[ro_RO]=Un joc de curse cu carturi
-Exec=@PREFIX@/games/supertuxkart --log=file
+Exec=@STK_INSTALL_BINARY_DIR@/supertuxkart --log=file
Terminal=false
StartupNotify=false
Type=Application
-TryExec=@PREFIX@/games/supertuxkart
+TryExec=@STK_INSTALL_BINARY_DIR@/supertuxkart
Categories=Game;ArcadeGame;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Dec 15 20:58:22 UTC 2012 - dimstar@opensuse.org
- Add supertuxkart-desktop.patch: Fix path to supertuxkart in
.desktop file (bnc#794681).
-------------------------------------------------------------------
Tue Dec 11 23:30:04 UTC 2012 - dimstar@opensuse.org

View File

@ -26,6 +26,8 @@ Url: http://supertuxkart.sourceforge.net/
Source: http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/%{version}/%{name}-%{version}-src.tar.bz2
# Geeko kart add-on (CC-BY 3.0)
Source1: http://stkaddons.net/dl/14e6ba25b17f0d.zip
# PATCH-FIX-UPSTREAM supertuxkart-desktop.patch dimstar@opensuse.org -- Fix exec path in supertuxkart.desktop, taken from upstream svn.
Patch0: supertuxkart-desktop.patch
BuildRequires: curl-devel
BuildRequires: fdupes cmake fribidi-devel
BuildRequires: gcc-c++
@ -62,6 +64,7 @@ Data files for SuperTuxKart a Free 3d kart racing game.
%prep
%setup -q -n SuperTuxKart-%{version}
%patch0
%build
# We need an internal version of Irrlicht...