summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-12-13 19:05:05 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-12-13 19:05:05 +0000
commit4193e6ae800440898f622068134916fcf86f6d62 (patch)
tree3ac4587ade8b1f05516bc25a22f8d2daf1e338c7
parentVersion bump. Bug 447008 thanks to Eric F. GARIOUD <eric-f.garioud@wanadoo.fr> (diff)
downloadgentoo-2-4193e6ae800440898f622068134916fcf86f6d62.tar.gz
gentoo-2-4193e6ae800440898f622068134916fcf86f6d62.tar.bz2
gentoo-2-4193e6ae800440898f622068134916fcf86f6d62.zip
fix desktop file, remove duplicate
(Portage version: 2.2.0_alpha145/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
-rw-r--r--games-action/supertuxkart/ChangeLog6
-rw-r--r--games-action/supertuxkart/files/supertuxkart-0.8-desktopfile.patch26
-rw-r--r--games-action/supertuxkart/supertuxkart-0.8.ebuild8
3 files changed, 33 insertions, 7 deletions
diff --git a/games-action/supertuxkart/ChangeLog b/games-action/supertuxkart/ChangeLog
index c6a5c6a2e4b7..3d34b833d930 100644
--- a/games-action/supertuxkart/ChangeLog
+++ b/games-action/supertuxkart/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/supertuxkart
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/ChangeLog,v 1.32 2012/12/13 16:12:24 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/ChangeLog,v 1.33 2012/12/13 19:05:05 hasufell Exp $
+
+ 13 Dec 2012; Julian Ospald <hasufell@gentoo.org> supertuxkart-0.8.ebuild,
+ +files/supertuxkart-0.8-desktopfile.patch:
+ fix desktop file, remove duplicate
13 Dec 2012; Michael Sterrett <mr_bones_@gentoo.org> supertuxkart-0.8.ebuild:
fix desktop entry
diff --git a/games-action/supertuxkart/files/supertuxkart-0.8-desktopfile.patch b/games-action/supertuxkart/files/supertuxkart-0.8-desktopfile.patch
new file mode 100644
index 000000000000..5df84f6fce57
--- /dev/null
+++ b/games-action/supertuxkart/files/supertuxkart-0.8-desktopfile.patch
@@ -0,0 +1,26 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Thu Dec 13 18:45:18 UTC 2012
+Subject: fix desktop file
+
+https://sourceforge.net/apps/trac/supertuxkart/ticket/841
+
+--- data/supertuxkart_desktop.template
++++ data/supertuxkart_desktop.template
+@@ -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;
diff --git a/games-action/supertuxkart/supertuxkart-0.8.ebuild b/games-action/supertuxkart/supertuxkart-0.8.ebuild
index 972ab38baeba..92eeac1c96f8 100644
--- a/games-action/supertuxkart/supertuxkart-0.8.ebuild
+++ b/games-action/supertuxkart/supertuxkart-0.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/supertuxkart-0.8.ebuild,v 1.4 2012/12/13 16:12:24 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/supertuxkart-0.8.ebuild,v 1.5 2012/12/13 19:05:05 hasufell Exp $
EAPI=2
inherit cmake-utils eutils games
@@ -40,10 +40,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/SuperTuxKart-${PV}
src_prepare() {
- epatch "${FILESDIR}"/${P}-{gentoo,fribidi,irrlicht}.patch
- sed -i \
- -e '/Encoding/d' \
- data/supertuxkart_desktop.template || die
+ epatch "${FILESDIR}"/${P}-{gentoo,fribidi,irrlicht,desktopfile}.patch
# inconsistent handling of debug definition
# avoid using Debug build type
@@ -73,7 +70,6 @@ src_compile() {
src_install() {
cmake-utils_src_install
doicon "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN} SuperTuxKart
dodoc AUTHORS ChangeLog README TODO
prepgamesdirs
}