Gentoo Archives: gentoo-commits

From: "Mart Raudsepp (leio)" <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/gnome-games: ChangeLog gnome-games-2.24.0.ebuild
Date: Mon, 20 Oct 2008 00:49:08
Message-Id: E1KrixE-0000Ht-TU@stork.gentoo.org
1 leio 08/10/20 00:49:04
2
3 Modified: ChangeLog
4 Added: gnome-games-2.24.0.ebuild
5 Log:
6 New major version for GNOME-2.24. Many changes
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
8
9 Revision Changes Path
10 1.252 gnome-extra/gnome-games/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?rev=1.252&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?rev=1.252&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?r1=1.251&r2=1.252
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v
19 retrieving revision 1.251
20 retrieving revision 1.252
21 diff -u -r1.251 -r1.252
22 --- ChangeLog 18 Oct 2008 23:09:05 -0000 1.251
23 +++ ChangeLog 20 Oct 2008 00:49:04 -0000 1.252
24 @@ -1,6 +1,11 @@
25 # ChangeLog for gnome-extra/gnome-games
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.251 2008/10/18 23:09:05 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.252 2008/10/20 00:49:04 leio Exp $
29 +
30 +*gnome-games-2.24.0 (20 Oct 2008)
31 +
32 + 20 Oct 2008; Mart Raudsepp <leio@g.o> +gnome-games-2.24.0.ebuild:
33 + New major version for GNOME-2.24. Many changes
34
35 18 Oct 2008; Brent Baude <ranger@g.o> gnome-games-2.22.3.ebuild:
36 Marking gnome-games-2.22.3 ppc stable for bug 236971
37
38
39
40 1.1 gnome-extra/gnome-games/gnome-games-2.24.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.24.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.24.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gnome-games-2.24.0.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.24.0.ebuild,v 1.1 2008/10/20 00:49:04 leio Exp $
50
51 # make sure games is inherited first so that the gnome2
52 # functions will be called if they are not overridden
53 inherit games games-ggz eutils gnome2 python virtualx
54
55 DESCRIPTION="Collection of games for the GNOME desktop"
56 HOMEPAGE="http://live.gnome.org/GnomeGames/"
57
58 LICENSE="GPL-2 FDL-1.1"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
61 IUSE="artworkextra guile opengl"
62
63 RDEPEND=">=gnome-base/libgnomeui-2.16.0
64 >=gnome-base/libgnome-2.16.0
65 >=dev-python/pygtk-2.10
66 >=dev-python/gnome-python-desktop-2.17.3
67 >=x11-libs/gtk+-2.12
68 >=gnome-base/gconf-2
69 >=x11-libs/cairo-1
70 >=dev-libs/libxml2-2.4.0
71 >=gnome-base/librsvg-2.14
72 >=media-libs/gstreamer-0.10.11
73 >=gnome-base/libglade-2
74 >=dev-libs/glib-2.6.3
75 >=dev-games/libggz-0.0.14
76 >=dev-games/ggz-client-libs-0.0.14
77 guile? ( >=dev-scheme/guile-1.6.5 )
78 artworkextra? ( gnome-extra/gnome-games-extra-data )
79 opengl? ( dev-python/pygtkglext )
80 !games-board/glchess"
81
82 DEPEND="${RDEPEND}
83 >=sys-devel/autoconf-2.53
84 >=dev-util/pkgconfig-0.15
85 >=dev-util/intltool-0.35
86 >=sys-devel/gettext-0.10.40
87 >=gnome-base/gnome-common-2.12.0
88 >=app-text/scrollkeeper-0.3.8
89 app-text/gnome-doc-utils"
90
91 # Others are installed below; multiples in this package.
92 DOCS="AUTHORS HACKING MAINTAINERS TODO"
93
94 # dang make-check fails on docs with -j > 1. Restrict them for the moment until
95 # it can be chased down.
96 RESTRICT="test"
97
98 pkg_setup() {
99 # create the games user / group
100 games_pkg_setup
101
102 G2CONF="${G2CONF}
103 --with-scores-group=${GAMES_GROUP}
104 --enable-noregistry=\"${GGZ_MODDIR}\"
105 --with-platform=gnome
106 --with-sound=gstreamer
107 --enable-scalable"
108
109 if use guile; then
110 if has_version =dev-scheme/guile-1.8*; then
111 local flags="deprecated regex"
112 built_with_use dev-scheme/guile ${flags} || die "guile must be built with \"${flags}\" use flags"
113 fi
114 else
115 ewarn "USE='-guile' implies that Aisleriot won't be installed"
116 G2CONF="${G2CONF} --enable-omitgames=aisleriot"
117 fi
118 }
119
120 src_unpack() {
121 gnome2_src_unpack
122
123 # disable pyc compiling
124 mv py-compile py-compile.orig
125 ln -s $(type -P true) py-compile
126 }
127
128 src_test() {
129 Xemake check || die "tests failed"
130 }
131
132 src_install() {
133 gnome2_src_install
134
135 # Documentation install for each of the games
136 for game in \
137 $(find . -maxdepth 1 -type d ! -name po ! -name libgames-support); do
138 docinto ${game}
139 for doc in AUTHORS ChangeLog NEWS README TODO; do
140 [ -s ${game}/${doc} ] && dodoc ${game}/${doc}
141 done
142 done
143 }
144
145 pkg_preinst() {
146 gnome2_pkg_preinst
147 # Avoid overwriting previous .scores files
148 local basefile
149 for scorefile in "${D}"/var/lib/games/*.scores; do
150 basefile=$(basename $scorefile)
151 if [ -s "${ROOT}/var/lib/games/${basefile}" ]; then
152 cp "${ROOT}/var/lib/games/${basefile}" \
153 "${D}/var/lib/games/${basefile}"
154 fi
155 done
156 }
157
158 pkg_postinst() {
159 games_pkg_postinst
160 games-ggz_update_modules
161 gnome2_pkg_postinst
162 python_version
163 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
164 }
165
166 pkg_postrm() {
167 games-ggz_update_modules
168 gnome2_pkg_postrm
169 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages
170 }