diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-01-12 17:45:09 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-01-12 17:45:09 +0000 |
commit | 9a20ea664eb9473abd6b701b7dfda86a77681f05 (patch) | |
tree | c26424577428505ccd66da9e63467ec01af14c80 /games-board | |
parent | Stable for HPPA (bug #300468). (diff) | |
download | gentoo-2-9a20ea664eb9473abd6b701b7dfda86a77681f05.tar.gz gentoo-2-9a20ea664eb9473abd6b701b7dfda86a77681f05.tar.bz2 gentoo-2-9a20ea664eb9473abd6b701b7dfda86a77681f05.zip |
initial commit - ebuild work from Luca Marturana and Samuli Suominen via bug #155104
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/gnome-hearts/ChangeLog | 12 | ||||
-rw-r--r-- | games-board/gnome-hearts/files/gnome-hearts-0.3-python.patch | 13 | ||||
-rw-r--r-- | games-board/gnome-hearts/gnome-hearts-0.3.ebuild | 55 | ||||
-rw-r--r-- | games-board/gnome-hearts/metadata.xml | 5 |
4 files changed, 85 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/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> |