summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-01-12 17:45:09 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-01-12 17:45:09 +0000
commitf825ccfe96adf2b196f78a1bcf35664bf5716248 (patch)
tree42be9acd2e67398258fa3906c3e44cc366c2ea90 /games-board
parentStable for HPPA (bug #300468). (diff)
downloadhistorical-f825ccfe96adf2b196f78a1bcf35664bf5716248.tar.gz
historical-f825ccfe96adf2b196f78a1bcf35664bf5716248.tar.bz2
historical-f825ccfe96adf2b196f78a1bcf35664bf5716248.zip
initial commit - ebuild work from Luca Marturana and Samuli Suominen via bug #155104
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gnome-hearts/ChangeLog12
-rw-r--r--games-board/gnome-hearts/Manifest5
-rw-r--r--games-board/gnome-hearts/files/gnome-hearts-0.3-python.patch13
-rw-r--r--games-board/gnome-hearts/gnome-hearts-0.3.ebuild55
-rw-r--r--games-board/gnome-hearts/metadata.xml5
5 files changed, 90 insertions, 0 deletions
diff --git a/games-board/gnome-hearts/ChangeLog b/games-board/gnome-hearts/ChangeLog
new file mode 100644
index 000000000000..b856b45385e3
--- /dev/null
+++ b/games-board/gnome-hearts/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for games-board/gnome-hearts
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnome-hearts/ChangeLog,v 1.1 2010/01/12 17:45:09 mr_bones_ Exp $
+
+*gnome-hearts-0.3 (12 Jan 2010)
+
+ 12 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ +gnome-hearts-0.3.ebuild, +files/gnome-hearts-0.3-python.patch,
+ +metadata.xml:
+ initial commit - ebuild work from Luca Marturana and Samuli Suominen via
+ bug #155104
+
diff --git a/games-board/gnome-hearts/Manifest b/games-board/gnome-hearts/Manifest
new file mode 100644
index 000000000000..0c764864b7f2
--- /dev/null
+++ b/games-board/gnome-hearts/Manifest
@@ -0,0 +1,5 @@
+AUX gnome-hearts-0.3-python.patch 693 RMD160 e0873b8bdeaec4e6f70118605c41c4d80fab4c2d SHA1 14dd829751bf64f5847652d73dce37c216b450ad SHA256 5e7113388fff40f78ef923f0f8a9a4b9a9f5b7357cf5cc4a6513d65c1b45aca7
+DIST gnome-hearts-0.3.tar.gz 624971 RMD160 ed8a6b5138290931794b262a58107b399425c2a8 SHA1 7a0db1537662abaf34265cb231bf08a93b686ed6 SHA256 1e879d1a753e021417e707df7fdd81f9ee9c63fa8a10ba1266cef7b0e70b8166
+EBUILD gnome-hearts-0.3.ebuild 1129 RMD160 4626b0fc7da4ad9e385a1d1aef29e87e719e125e SHA1 bc1573ef6cb4e6a2c33a42d9d06bbb63546bb8c3 SHA256 32f6b1d64a8e5b66abb5a70768bd2b7c5f6486e6e669d4f20fd0892ab8297f1a
+MISC ChangeLog 485 RMD160 a626b47bf8d9ec123eb44ea6ce8968bc61c9cd22 SHA1 c73e9095c1a8c95601887b3a18ead59cd25621c3 SHA256 43bce831d1db1dc49645ba579b18264cc8a85c316a13fedfc1535669bdf28cb5
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-board/gnome-hearts/files/gnome-hearts-0.3-python.patch b/games-board/gnome-hearts/files/gnome-hearts-0.3-python.patch
new file mode 100644
index 000000000000..87b30867cace
--- /dev/null
+++ b/games-board/gnome-hearts/files/gnome-hearts-0.3-python.patch
@@ -0,0 +1,13 @@
+--- configure.in.old 2008-09-16 23:42:41.600170750 +0200
++++ configure.in 2008-09-16 23:46:35.563175050 +0200
+@@ -32,7 +32,9 @@
+
+ # Find Python compiler and linker flags
+ PYTHON_LIBS=[$($PYTHON -c "from distutils import sysconfig
+-print '/'.join(sysconfig.get_config_vars('LIBPL','LDLIBRARY'))+' '+sysconfig.get_config_var('LIBS')+' '+sysconfig.get_config_var('LINKFORSHARED')")]
++import os
++print os.path.join(*sysconfig.get_config_vars('LIBDIR', 'LDLIBRARYDIR', 'LDLIBRARY')),
++sysconfig.get_config_var('LIBS'), sysconfig.get_config_var('LINKFORSHARED')")]
+ PYTHON_CFLAGS=[$($PYTHON -c "from distutils import sysconfig
+ print sysconfig.get_python_inc()")]
+ PYTHON_CFLAGS="-I$PYTHON_CFLAGS"
diff --git a/games-board/gnome-hearts/gnome-hearts-0.3.ebuild b/games-board/gnome-hearts/gnome-hearts-0.3.ebuild
new file mode 100644
index 000000000000..aaa55ca9c6d1
--- /dev/null
+++ b/games-board/gnome-hearts/gnome-hearts-0.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 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.ebuild,v 1.1 2010/01/12 17:45:09 mr_bones_ Exp $
+
+EAPI=2
+GCONF_DEBUG=no
+inherit autotools eutils 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
+ dev-lang/python"
+DEPEND="${RDEPEND}
+ app-text/rarian
+ dev-util/intltool
+ dev-util/pkgconfig"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_prepare() {
+ gnome2_src_prepare
+ epatch "${FILESDIR}"/${P}-python.patch
+ intltoolize --force --copy --automake || die
+ eautoreconf
+}
+
+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
+}
diff --git a/games-board/gnome-hearts/metadata.xml b/games-board/gnome-hearts/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-board/gnome-hearts/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>