summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-10-29 18:35:18 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-10-29 18:35:18 +0000
commit996c6965843049f3550b3c0ec0fc38043ff34fd6 (patch)
tree11c9e32dfd031982a178ad29861b5521029a17cd
parentVersion bump (diff)
downloadgentoo-2-996c6965843049f3550b3c0ec0fc38043ff34fd6.tar.gz
gentoo-2-996c6965843049f3550b3c0ec0fc38043ff34fd6.tar.bz2
gentoo-2-996c6965843049f3550b3c0ec0fc38043ff34fd6.zip
version bump
(Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit)
-rw-r--r--games-board/gnome-hearts/ChangeLog11
-rw-r--r--games-board/gnome-hearts/gnome-hearts-0.3.1.ebuild66
2 files changed, 74 insertions, 3 deletions
diff --git a/games-board/gnome-hearts/ChangeLog b/games-board/gnome-hearts/ChangeLog
index b0e62e6efd41..a7b51fbb1945 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnome-hearts/ChangeLog,v 1.6 2012/05/04 04:30:11 jdhore Exp $
+# 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 $
+
+*gnome-hearts-0.3.1 (29 Oct 2014)
+
+ 29 Oct 2014; Michael Sterrett <mr_bones_@gentoo.org>
+ +gnome-hearts-0.3.1.ebuild:
+ version bump
04 May 2012; Jeff Horelick <jdhore@gentoo.org> gnome-hearts-0.3.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
@@ -26,4 +32,3 @@
+metadata.xml:
initial commit - ebuild work from Luca Marturana and Samuli Suominen via
bug #155104
-
diff --git a/games-board/gnome-hearts/gnome-hearts-0.3.1.ebuild b/games-board/gnome-hearts/gnome-hearts-0.3.1.ebuild
new file mode 100644
index 000000000000..65708d1bbec5
--- /dev/null
+++ b/games-board/gnome-hearts/gnome-hearts-0.3.1.ebuild
@@ -0,0 +1,66 @@
+# 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.ebuild,v 1.1 2014/10/29 18:35:18 mr_bones_ Exp $
+
+EAPI=5
+GCONF_DEBUG=no
+PYTHON_DEPEND="2"
+inherit python gnome2 games
+
+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 )
+
+pkg_setup() {
+ python_set_active_version 2
+ games_pkg_setup
+}
+
+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 \
+ --bindir="${GAMES_BINDIR}" \
+ $(use_enable nls)
+}
+
+src_install() {
+ gnome2_src_install
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_pkg_preinst
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_pkg_postinst
+}