diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2006-09-04 22:24:23 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2006-09-04 22:24:23 +0000 |
commit | ec0fa9621f6596170b905952ed4aa1f7bad45895 (patch) | |
tree | d482bf19df28fbad078f69d22ede2f3896a19242 /games-kids/gcompris | |
parent | remove old, mention as-is in license, bug 146319, remove brix from metadata (diff) | |
download | gentoo-2-ec0fa9621f6596170b905952ed4aa1f7bad45895.tar.gz gentoo-2-ec0fa9621f6596170b905952ed4aa1f7bad45895.tar.bz2 gentoo-2-ec0fa9621f6596170b905952ed4aa1f7bad45895.zip |
Enabling python (conditionally). Bug #130675 by Graeme Boyd
(Portage version: 2.1-r2)
Diffstat (limited to 'games-kids/gcompris')
-rw-r--r-- | games-kids/gcompris/ChangeLog | 7 | ||||
-rw-r--r-- | games-kids/gcompris/files/digest-gcompris-6.5.3-r1 | 2 | ||||
-rw-r--r-- | games-kids/gcompris/files/digest-gcompris-7.4-r1 | 3 | ||||
-rw-r--r-- | games-kids/gcompris/gcompris-7.4-r1.ebuild | 61 |
4 files changed, 72 insertions, 1 deletions
diff --git a/games-kids/gcompris/ChangeLog b/games-kids/gcompris/ChangeLog index 09b39c0eeb70..423936a952b3 100644 --- a/games-kids/gcompris/ChangeLog +++ b/games-kids/gcompris/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-kids/gcompris # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.25 2006/05/23 17:06:17 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.26 2006/09/04 22:24:23 tupone Exp $ + +*gcompris-7.4-r1 (04 Sep 2006) + + 04 Sep 2006; <tupone@gentoo.org> +gcompris-7.4-r1.ebuild: + Enabling python (conditionally). Bug #130675 by Graeme Boyd 23 May 2006; Chris Gianelloni <wolf31o2@gentoo.org> gcompris-6.5.3-r1.ebuild: diff --git a/games-kids/gcompris/files/digest-gcompris-6.5.3-r1 b/games-kids/gcompris/files/digest-gcompris-6.5.3-r1 index 3e0d15c3f1e1..ac054b43de0e 100644 --- a/games-kids/gcompris/files/digest-gcompris-6.5.3-r1 +++ b/games-kids/gcompris/files/digest-gcompris-6.5.3-r1 @@ -1 +1,3 @@ MD5 11cc5c1fe2ebb583767884e18307534e gcompris-6.5.3.tar.gz 43519786 +RMD160 7e17a5ad1c2a7f2236b6cf730a7eddadc38281be gcompris-6.5.3.tar.gz 43519786 +SHA256 78bc8932160ccd1db78d5431675034a3b0bbe695371276ca01fe6ae49d35ffa1 gcompris-6.5.3.tar.gz 43519786 diff --git a/games-kids/gcompris/files/digest-gcompris-7.4-r1 b/games-kids/gcompris/files/digest-gcompris-7.4-r1 new file mode 100644 index 000000000000..0e54050bad07 --- /dev/null +++ b/games-kids/gcompris/files/digest-gcompris-7.4-r1 @@ -0,0 +1,3 @@ +MD5 d80e55da21170a98d671c98b3e582cc3 gcompris-7.4.tar.gz 72536434 +RMD160 2666381e48d58e9f3fd1171c71a23fe056726d05 gcompris-7.4.tar.gz 72536434 +SHA256 f1ef3de3c6c0bf64581c2e87e34b2b8e25436742895e53644be10aa7522e0c9e gcompris-7.4.tar.gz 72536434 diff --git a/games-kids/gcompris/gcompris-7.4-r1.ebuild b/games-kids/gcompris/gcompris-7.4-r1.ebuild new file mode 100644 index 000000000000..20793a7d2b1f --- /dev/null +++ b/games-kids/gcompris/gcompris-7.4-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-7.4-r1.ebuild,v 1.1 2006/09/04 22:24:23 tupone Exp $ + +inherit eutils python games + +DESCRIPTION="full featured educational application for children from 2 to 10" +HOMEPAGE="http://gcompris.net" +SRC_URI="mirror://sourceforge/gcompris/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="python" + +RDEPEND="|| ( x11-libs/libXrandr virtual/x11 ) + >=dev-libs/glib-2.0 + =x11-libs/gtk+-2* + >=gnome-base/libgnomecanvas-2.0.2 + media-libs/sdl-mixer + media-libs/libsdl + dev-libs/libxml2 + python? ( + dev-python/gnome-python + dev-python/pygtk + dev-python/pyxml + >=dev-python/pysqlite-2 + ) + dev-libs/popt" +DEPEND="${RDEPEND} + sys-apps/texinfo + app-text/texi2html + || ( x11-libs/libXt virtual/x11 )" +RDEPEND="${RDEPEND} + games-board/gnuchess" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e '/^install-data-am/s/install-libgcomprisincludeHEADERS//' \ + src/gcompris/Makefile.in \ + || die "sed failed" +} + +src_compile() { + python_version + export GNUCHESS="${GAMES_BINDIR}/gnuchess" + econf \ + --disable-dependency-tracking \ + $(use_with python python /usr/bin/python${PYVER}) \ + $(use_enable python sqlite) \ + || die + emake -j1 || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS TODO + prepgamesdirs +} |