summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
}