summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-11-16 10:39:10 +0000
committerMichał Górny <mgorny@gentoo.org>2014-11-16 10:39:10 +0000
commit968753f838c19b5444aec2764ea8bd7e48eb396e (patch)
tree7bd0239cd4b787abd536a3bf8267018a76ef9a21 /games-board
parentVersion bump hg-git to 0.7.0 (diff)
downloadgentoo-2-968753f838c19b5444aec2764ea8bd7e48eb396e.tar.gz
gentoo-2-968753f838c19b5444aec2764ea8bd7e48eb396e.tar.bz2
gentoo-2-968753f838c19b5444aec2764ea8bd7e48eb396e.zip
Convert to python-single-r1. Clean up.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gnome-hearts/ChangeLog8
-rw-r--r--games-board/gnome-hearts/gnome-hearts-0.3.1-r1.ebuild46
-rw-r--r--games-board/gnome-hearts/metadata.xml1
3 files changed, 54 insertions, 1 deletions
diff --git a/games-board/gnome-hearts/ChangeLog b/games-board/gnome-hearts/ChangeLog
index a7b51fbb1945..689fb77559e1 100644
--- a/games-board/gnome-hearts/ChangeLog
+++ b/games-board/gnome-hearts/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/gnome-hearts
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnome-hearts/ChangeLog,v 1.7 2014/10/29 18:35:18 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnome-hearts/ChangeLog,v 1.8 2014/11/16 10:39:10 mgorny Exp $
+
+*gnome-hearts-0.3.1-r1 (16 Nov 2014)
+
+ 16 Nov 2014; Michał Górny <mgorny@gentoo.org> +gnome-hearts-0.3.1-r1.ebuild,
+ metadata.xml:
+ Convert to python-single-r1. Clean up.
*gnome-hearts-0.3.1 (29 Oct 2014)
diff --git a/games-board/gnome-hearts/gnome-hearts-0.3.1-r1.ebuild b/games-board/gnome-hearts/gnome-hearts-0.3.1-r1.ebuild
new file mode 100644
index 000000000000..31350c3168e3
--- /dev/null
+++ b/games-board/gnome-hearts/gnome-hearts-0.3.1-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnome-hearts/gnome-hearts-0.3.1-r1.ebuild,v 1.1 2014/11/16 10:39:10 mgorny Exp $
+
+EAPI=5
+GCONF_DEBUG=no
+
+PYTHON_COMPAT=( python2_7 )
+inherit gnome2 python-single-r1
+
+DESCRIPTION="A clone of classic hearts card game"
+HOMEPAGE="http://www.gnome-hearts.org"
+SRC_URI="http://www.jejik.com/files/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="x11-libs/gtk+:2
+ >=gnome-base/libglade-2
+ >=gnome-base/libgnomeui-2"
+DEPEND="${RDEPEND}
+ app-text/rarian
+ dev-util/intltool
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ # make src_test work
+ echo gnome-hearts.desktop.in >> po/POTFILES.skip
+
+ sed -i \
+ -e '/No name/d' \
+ -e '/^Icon/s/.png//' \
+ -e '/^Encoding/d' \
+ gnome-hearts.desktop.in || die
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable nls)
+}
diff --git a/games-board/gnome-hearts/metadata.xml b/games-board/gnome-hearts/metadata.xml
index d3c2cc926f0b..3057a54e98e6 100644
--- a/games-board/gnome-hearts/metadata.xml
+++ b/games-board/gnome-hearts/metadata.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+<herd>gnome</herd>
<herd>games</herd>
</pkgmetadata>