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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

(Portage version: 2.1.10.11/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-9.6.ebuild,v 1.3 2011/04/21 10:25:48 tomka Exp $
4
5 EAPI=2
6
7 PYTHON_DEPEND="python? 2:2.6"
8 PYTHON_USE_WITH_OPT="python"
9 PYTHON_USE_WITH="sqlite threads"
10
11 inherit autotools eutils python versionator games
12
13 DESCRIPTION="full featured educational application for children from 2 to 10"
14 HOMEPAGE="http://gcompris.net/"
15 SRC_URI="mirror://sourceforge/gcompris/${PN}-$(replace_version_separator 2 -).tar.gz"
16
17 LICENSE="GPL-3"
18 SLOT="0"
19 KEYWORDS="amd64 ~ppc x86"
20 IUSE="gnet python"
21
22 RDEPEND="x11-libs/gtk+:2
23 media-libs/gstreamer:0.10
24 media-libs/gst-plugins-good
25 media-plugins/gst-plugins-ogg
26 media-plugins/gst-plugins-alsa
27 media-plugins/gst-plugins-vorbis
28 media-libs/sdl-mixer
29 media-libs/libsdl
30 dev-libs/libxml2
31 dev-libs/popt
32 virtual/libintl
33 games-board/gnuchess
34 dev-db/sqlite:3
35 gnet? ( net-libs/gnet:2 )
36 python? ( dev-python/pygtk )"
37 DEPEND="${RDEPEND}
38 gnome-base/gnome-common
39 dev-perl/XML-Parser
40 sys-devel/gettext
41 sys-apps/texinfo
42 app-text/texi2html
43 dev-util/pkgconfig"
44 RDEPEND="${RDEPEND}
45 media-gfx/tuxpaint
46 sci-electronics/gnucap"
47
48 S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
49
50 pkg_setup() {
51 if use python; then
52 python_set_active_version 2
53 python_pkg_setup
54 fi
55 games_pkg_setup
56 }
57
58 src_prepare() {
59 epatch "${FILESDIR}"/${P}-build.patch
60 cp /usr/share/gettext/config.rpath .
61 eautoreconf
62 }
63
64 src_configure() {
65 GNUCHESS="${GAMES_BINDIR}"/gnuchess \
66 egamesconf \
67 --disable-dependency-tracking \
68 --datarootdir="${GAMES_DATADIR}" \
69 --datadir="${GAMES_DATADIR}" \
70 --localedir=/usr/share/locale \
71 --infodir=/usr/share/info \
72 $(use_with python python "$(PYTHON -a)") \
73 $(use_enable gnet) \
74 --enable-sqlite \
75 --enable-py-build-only
76 }
77
78 src_compile() {
79 emake -j1 || die "emake failed"
80 }
81
82 src_install() {
83 emake DESTDIR="${D}" install || die "emake install failed"
84 find "${D}" -name '*.la' -exec rm -f '{}' +
85 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
86 prepgamesdirs
87 }

  ViewVC Help
Powered by ViewVC 1.1.20