summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-03-18 18:14:02 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-03-18 18:14:02 +0000
commit40e7ea20d1148f4538d22fa08c2a5bf2aa51fdb9 (patch)
tree2ea1cd0a4a4f8cf3323c3ab332ee83087cabdcb7 /games-board/pioneers
parentversion bump for bug 310113, also fixes bug 310043 (diff)
downloadgentoo-2-40e7ea20d1148f4538d22fa08c2a5bf2aa51fdb9.tar.gz
gentoo-2-40e7ea20d1148f4538d22fa08c2a5bf2aa51fdb9.tar.bz2
gentoo-2-40e7ea20d1148f4538d22fa08c2a5bf2aa51fdb9.zip
EAPI=2; fix desktop entry issues reported by desktop-file-validate
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'games-board/pioneers')
-rw-r--r--games-board/pioneers/ChangeLog6
-rw-r--r--games-board/pioneers/pioneers-0.12.3.ebuild15
2 files changed, 19 insertions, 2 deletions
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 <mr_bones_@gentoo.org>
+ 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)
}