/[gentoo-x86]/games-kids/gcompris/gcompris-8.4.12.ebuild
Gentoo

Contents of /games-kids/gcompris/gcompris-8.4.12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Nov 4 18:04:45 2011 UTC (6 years, 9 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
version bump

(Portage version: 2.1.10.11/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-8.4.12.ebuild,v 1.4 2010/06/16 02:08:07 arfrever Exp $
4
5 EAPI=2
6 inherit autotools eutils python games
7
8 DESCRIPTION="full featured educational application for children from 2 to 10"
9 HOMEPAGE="http://gcompris.net/"
10 SRC_URI="mirror://sourceforge/gcompris/${P}.tar.gz"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE="debug gnet python sqlite"
16
17 RDEPEND="x11-libs/gtk+:2
18 media-libs/gstreamer:0.10
19 media-libs/gst-plugins-good
20 media-plugins/gst-plugins-ogg
21 media-plugins/gst-plugins-vorbis
22 media-libs/libart_lgpl
23 >=gnome-base/libgnomecanvas-2.3.6
24 media-libs/sdl-mixer
25 media-libs/libsdl
26 dev-libs/libxml2
27 dev-libs/popt
28 virtual/libintl
29 games-board/gnuchess
30 gnet? ( net-libs/gnet:2 )
31 python? (
32 dev-lang/python[threads]
33 dev-python/pygtk
34 sqlite? ( dev-python/pysqlite:2 )
35 )
36 sqlite? ( dev-db/sqlite:3 )"
37 DEPEND="${RDEPEND}
38 dev-perl/XML-Parser
39 sys-devel/gettext
40 sys-apps/texinfo
41 app-text/texi2html
42 dev-util/pkgconfig"
43 RDEPEND="${RDEPEND}
44 media-gfx/tuxpaint
45 sci-electronics/gnucap"
46
47 src_prepare() {
48 epatch "${FILESDIR}"/${P}-build.patch
49 cp /usr/share/gettext/config.rpath .
50 eautoreconf
51 }
52
53 src_configure() {
54 GNUCHESS="${GAMES_BINDIR}"/gnuchess \
55 egamesconf \
56 --disable-dependency-tracking \
57 --datarootdir="${GAMES_DATADIR}" \
58 --datadir="${GAMES_DATADIR}" \
59 --localedir=/usr/share/locale \
60 --infodir=/usr/share/info \
61 --enable-xf86vidmode \
62 $(use_with python python "$(PYTHON -a)") \
63 $(use_enable debug) \
64 $(use_enable gnet) \
65 $(use_enable sqlite)
66 }
67
68 src_compile() {
69 emake -j1 || die "emake failed"
70 }
71
72 src_install() {
73 emake DESTDIR="${D}" install || die "emake install failed"
74 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
75 prepgamesdirs
76 }

  ViewVC Help
Powered by ViewVC 1.1.20