summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2008-09-14 17:17:05 +0000
committerHanno Böck <hanno@gentoo.org>2008-09-14 17:17:05 +0000
commit7fb427f821b0fa123ebe1f79dd4ec987d004da53 (patch)
treeb341472846ebf7c761085178ae8fd533071fc712 /games-emulation
parentInitial import of split gnome-python-desktop. This package installs bindings ... (diff)
downloadgentoo-2-7fb427f821b0fa123ebe1f79dd4ec987d004da53.tar.gz
gentoo-2-7fb427f821b0fa123ebe1f79dd4ec987d004da53.tar.bz2
gentoo-2-7fb427f821b0fa123ebe1f79dd4ec987d004da53.zip
desmume: validate desktop file
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc6 i686)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/desmume/ChangeLog6
-rw-r--r--games-emulation/desmume/desmume-0.8.ebuild10
-rw-r--r--games-emulation/desmume/files/desmume-desktop.patch32
3 files changed, 45 insertions, 3 deletions
diff --git a/games-emulation/desmume/ChangeLog b/games-emulation/desmume/ChangeLog
index 9d00d907c19d..6eae4e5fe4be 100644
--- a/games-emulation/desmume/ChangeLog
+++ b/games-emulation/desmume/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/desmume
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/desmume/ChangeLog,v 1.7 2008/04/23 17:51:54 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/desmume/ChangeLog,v 1.8 2008/09/14 17:17:05 hanno Exp $
+
+ 14 Sep 2008; Hanno Boeck <hanno@gentoo.org> +files/desmume-desktop.patch,
+ desmume-0.8.ebuild:
+ Validate .desktop file, thanks to Pacho Ramos in #237465.
*desmume-0.8 (23 Apr 2008)
diff --git a/games-emulation/desmume/desmume-0.8.ebuild b/games-emulation/desmume/desmume-0.8.ebuild
index f7ac41721fa1..4ec089a18799 100644
--- a/games-emulation/desmume/desmume-0.8.ebuild
+++ b/games-emulation/desmume/desmume-0.8.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/desmume/desmume-0.8.ebuild,v 1.1 2008/04/23 17:51:54 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/desmume/desmume-0.8.ebuild,v 1.2 2008/09/14 17:17:05 hanno Exp $
-inherit games
+inherit games eutils
DESCRIPTION="Emulator for Nintendo DS."
HOMEPAGE="http://desmume.sourceforge.net/"
@@ -21,6 +21,12 @@ DEPEND=">=x11-libs/gtk+-2.8.0
dev-libs/zziplib
media-libs/libsdl"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-desktop.patch"
+}
+
src_compile() {
egamesconf --datadir=/usr/share || die "egamesconf failed"
emake || die "emake failed"
diff --git a/games-emulation/desmume/files/desmume-desktop.patch b/games-emulation/desmume/files/desmume-desktop.patch
new file mode 100644
index 000000000000..e4430880b9ed
--- /dev/null
+++ b/games-emulation/desmume/files/desmume-desktop.patch
@@ -0,0 +1,32 @@
+--- src/gtk/desmume.desktop.in~ 2008-09-12 13:43:42.000000000 +0200
++++ src/gtk/desmume.desktop.in 2008-09-12 13:43:42.000000000 +0200
+@@ -1,10 +1,9 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+-Version=@VERSION@
++Version=1.0
+ Type=Application
+ Name=DeSmuME (Gtk)
+ Comment=Nintento DS emulator
+ TryExec=desmume
+ Exec=desmume
+-Icon=DeSmuME.xpm
+-Categories=GNOME;GTK;Game;Emulator
++Icon=DeSmuME
++Categories=GNOME;GTK;Game;Emulator;
+--- src/gtk-glade/desmume-glade.desktop.in~ 2008-09-12 13:44:29.000000000 +0200
++++ src/gtk-glade/desmume-glade.desktop.in 2008-09-12 13:44:29.000000000 +0200
+@@ -1,10 +1,9 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+-Version=@VERSION@
++Version=1.0
+ Type=Application
+ Name=DeSmuME (Gtk-Glade)
+ Comment=Nintento DS emulator
+ TryExec=desmume-glade
+ Exec=desmume-glade
+-Icon=DeSmuME.xpm
+-Categories=GNOME;GTK;Game;Emulator
++Icon=DeSmuME
++Categories=GNOME;GTK;Game;Emulator;