From 40e7ea20d1148f4538d22fa08c2a5bf2aa51fdb9 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Thu, 18 Mar 2010 18:14:02 +0000 Subject: EAPI=2; fix desktop entry issues reported by desktop-file-validate (Portage version: 2.1.7.17/cvs/Linux i686) --- games-board/pioneers/ChangeLog | 6 +++++- games-board/pioneers/pioneers-0.12.3.ebuild | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'games-board/pioneers') diff --git a/games-board/pioneers/ChangeLog b/games-board/pioneers/ChangeLog index 412b11e5deb7..789becc84eb7 100644 --- a/games-board/pioneers/ChangeLog +++ b/games-board/pioneers/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-board/pioneers # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/pioneers/ChangeLog,v 1.20 2010/02/20 22:25:30 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/pioneers/ChangeLog,v 1.21 2010/03/18 18:14:02 mr_bones_ Exp $ + + 18 Mar 2010; Michael Sterrett + pioneers-0.12.3.ebuild: + EAPI=2; fix desktop entry issues reported by desktop-file-validate *pioneers-0.12.3 (20 Feb 2010) diff --git a/games-board/pioneers/pioneers-0.12.3.ebuild b/games-board/pioneers/pioneers-0.12.3.ebuild index 42614a42d87a..ec55f00a705a 100644 --- a/games-board/pioneers/pioneers-0.12.3.ebuild +++ b/games-board/pioneers/pioneers-0.12.3.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/pioneers/pioneers-0.12.3.ebuild,v 1.1 2010/02/20 22:25:30 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/pioneers/pioneers-0.12.3.ebuild,v 1.2 2010/03/18 18:14:02 mr_bones_ Exp $ +EAPI=2 inherit eutils gnome2 DESCRIPTION="A clone of the popular board game The Settlers of Catan" @@ -22,6 +23,18 @@ DEPEND="${RDEPEND} dev-util/pkgconfig nls? ( sys-devel/gettext )" +src_prepare() { + gnome2_src_prepare + sed -i \ + -e '/^Encoding/d' \ + -e '/^Icon/s/\.png//' \ + editor/gtk/pioneers-editor.desktop.in \ + server/gtk/pioneers-server.desktop.in \ + client/gtk/pioneers.desktop.in \ + || die + +} + src_compile() { gnome2_src_compile $(use_enable nls) } -- cgit v1.2.3-65-gdbad