Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-kids/gcompris: ChangeLog gcompris-9.5.ebuild
Date: Thu, 06 Jan 2011 23:54:45
Message-Id: 20110106235430.A2C9620051@flycatcher.gentoo.org
1 mr_bones_ 11/01/06 23:54:30
2
3 Modified: ChangeLog
4 Added: gcompris-9.5.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.9.25/cvs/Linux i686)
9
10 Revision Changes Path
11 1.57 games-kids/gcompris/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/gcompris/ChangeLog?rev=1.57&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/gcompris/ChangeLog?rev=1.57&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/gcompris/ChangeLog?r1=1.56&r2=1.57
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v
20 retrieving revision 1.56
21 retrieving revision 1.57
22 diff -u -r1.56 -r1.57
23 --- ChangeLog 21 Oct 2010 11:43:36 -0000 1.56
24 +++ ChangeLog 6 Jan 2011 23:54:30 -0000 1.57
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-kids/gcompris
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.56 2010/10/21 11:43:36 tupone Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.57 2011/01/06 23:54:30 mr_bones_ Exp $
31 +
32 +*gcompris-9.5 (06 Jan 2011)
33 +
34 + 06 Jan 2011; Michael Sterrett <mr_bones_@g.o> +gcompris-9.5.ebuild,
35 + +files/gcompris-9.5-build.patch:
36 + version bump
37
38 21 Oct 2010; Tupone Alfredo <tupone@g.o> gcompris-9.2.2.ebuild,
39 +files/gcompris-9.2.2-gtk2.22.patch:
40
41
42
43 1.1 games-kids/gcompris/gcompris-9.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/gcompris/gcompris-9.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/gcompris/gcompris-9.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gcompris-9.5.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-9.5.ebuild,v 1.1 2011/01/06 23:54:30 mr_bones_ Exp $
53
54 EAPI=2
55
56 PYTHON_DEPEND="python? 2:2.6"
57 PYTHON_USE_WITH_OPT="python"
58 PYTHON_USE_WITH="sqlite threads"
59
60 inherit autotools eutils python versionator games
61
62 DESCRIPTION="full featured educational application for children from 2 to 10"
63 HOMEPAGE="http://gcompris.net/"
64 SRC_URI="mirror://sourceforge/gcompris/${PN}-$(replace_version_separator 2 -).tar.gz"
65
66 LICENSE="GPL-3"
67 SLOT="0"
68 KEYWORDS="~amd64 ~ppc ~x86"
69 IUSE="gnet python"
70
71 RDEPEND="x11-libs/gtk+:2
72 media-libs/gstreamer:0.10
73 media-libs/gst-plugins-good
74 media-plugins/gst-plugins-ogg
75 media-plugins/gst-plugins-vorbis
76 media-libs/sdl-mixer
77 media-libs/libsdl
78 dev-libs/libxml2
79 dev-libs/popt
80 virtual/libintl
81 games-board/gnuchess
82 dev-db/sqlite:3
83 gnet? ( net-libs/gnet:2 )
84 python? ( dev-python/pygtk )"
85 DEPEND="${RDEPEND}
86 gnome-base/gnome-common
87 dev-perl/XML-Parser
88 sys-devel/gettext
89 sys-apps/texinfo
90 app-text/texi2html
91 dev-util/pkgconfig"
92 RDEPEND="${RDEPEND}
93 media-gfx/tuxpaint
94 sci-electronics/gnucap"
95
96 S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
97
98 pkg_setup() {
99 if use python; then
100 python_set_active_version 2
101 python_pkg_setup
102 fi
103 games_pkg_setup
104 }
105
106 src_prepare() {
107 epatch "${FILESDIR}"/${P}-build.patch
108 cp /usr/share/gettext/config.rpath .
109 eautoreconf
110 }
111
112 src_configure() {
113 GNUCHESS="${GAMES_BINDIR}"/gnuchess \
114 egamesconf \
115 --disable-dependency-tracking \
116 --datarootdir="${GAMES_DATADIR}" \
117 --datadir="${GAMES_DATADIR}" \
118 --localedir=/usr/share/locale \
119 --infodir=/usr/share/info \
120 $(use_with python python "$(PYTHON -a)") \
121 $(use_enable gnet) \
122 --enable-sqlite \
123 --enable-py-build-only
124 }
125
126 src_compile() {
127 emake -j1 || die "emake failed"
128 }
129
130 src_install() {
131 emake DESTDIR="${D}" install || die "emake install failed"
132 find "${D}" -name '*.la' -exec rm -f '{}' +
133 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
134 prepgamesdirs
135 }