Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/gnome-games: ChangeLog gnome-games-2.22.1.1.ebuild
Date: Fri, 11 Apr 2008 15:54:06
Message-Id: E1JkLZe-0001z0-IH@stork.gentoo.org
1 eva 08/04/11 15:53:58
2
3 Modified: ChangeLog
4 Added: gnome-games-2.22.1.1.ebuild
5 Log:
6 bump to 2.22.1.1. Fix some bugs in Sudoku, translation updates.
7 (Portage version: 2.1.5_rc2)
8
9 Revision Changes Path
10 1.234 gnome-extra/gnome-games/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?rev=1.234&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?rev=1.234&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?r1=1.233&r2=1.234
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v
19 retrieving revision 1.233
20 retrieving revision 1.234
21 diff -u -r1.233 -r1.234
22 --- ChangeLog 7 Apr 2008 12:03:57 -0000 1.233
23 +++ ChangeLog 11 Apr 2008 15:53:58 -0000 1.234
24 @@ -1,6 +1,12 @@
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.233 2008/04/07 12:03:57 leio Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.234 2008/04/11 15:53:58 eva Exp $
29 +
30 +*gnome-games-2.22.1.1 (11 Apr 2008)
31 +
32 + 11 Apr 2008; Gilles Dartiguelongue <eva@g.o>
33 + +gnome-games-2.22.1.1.ebuild:
34 + bump to 2.22.1.1. Fix some bugs in Sudoku, translation updates.
35
36 *gnome-games-2.22.1 (07 Apr 2008)
37
38
39
40
41 1.1 gnome-extra/gnome-games/gnome-games-2.22.1.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.22.1.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.22.1.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gnome-games-2.22.1.1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.22.1.1.ebuild,v 1.1 2008/04/11 15:53:58 eva Exp $
51
52 # make sure games is inherited first so that the gnome2
53 # functions will be called if they are not overridden
54 inherit games eutils gnome2 python autotools virtualx
55
56 DESCRIPTION="Collection of games for the GNOME desktop"
57 HOMEPAGE="http://live.gnome.org/GnomeGames/"
58
59 LICENSE="GPL-2 FDL-1.1"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
62 IUSE="artworkextra guile opengl"
63
64 RDEPEND=">=gnome-base/libgnomeui-2.16.0
65 >=gnome-base/libgnome-2.16.0
66 >=dev-python/pygtk-2.10
67 >=dev-python/gnome-python-desktop-2.17.3
68 >=x11-libs/gtk+-2.12
69 >=gnome-base/gconf-2
70 >=x11-libs/cairo-1
71 >=dev-libs/libxml2-2.4.0
72 >=gnome-base/librsvg-2.14
73 >=media-libs/gstreamer-0.10.11
74 >=gnome-base/libglade-2
75 >=dev-libs/glib-2.6.3
76 >=dev-games/libggz-0.0.14
77 >=dev-games/ggz-client-libs-0.0.14
78 guile? ( >=dev-scheme/guile-1.6.5 )
79 artworkextra? ( gnome-extra/gnome-games-extra-data )
80 opengl? ( dev-python/pygtkglext )
81 !games-board/glchess"
82
83 DEPEND="${RDEPEND}
84 >=sys-devel/autoconf-2.53
85 >=dev-util/pkgconfig-0.15
86 >=dev-util/intltool-0.35
87 >=sys-devel/gettext-0.10.40
88 >=gnome-base/gnome-common-2.12.0
89 >=app-text/scrollkeeper-0.3.8
90 app-text/gnome-doc-utils"
91
92 # Others are installed below; multiples in this package.
93 DOCS="AUTHORS HACKING MAINTAINERS TODO"
94
95 # dang make-check fails on docs with -j > 1. Restrict them for the moment until
96 # it can be chased down.
97 RESTRICT="test"
98
99 pkg_setup() {
100 # create the games user / group
101 games_pkg_setup
102
103 G2CONF="${G2CONF}
104 --with-scores-group=${GAMES_GROUP}
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 # Resolve symbols at execution time in setgid binaries
124 epatch "${FILESDIR}/${PN}-2.14.0-no_lazy_bindings.patch"
125
126 # disable pyc compiling
127 mv py-compile py-compile.orig
128 ln -s $(type -P true) py-compile
129
130 AT_M4DIR="m4" eautoreconf
131 }
132
133 src_test() {
134 Xemake check || die "tests failed"
135 }
136
137 src_install() {
138 gnome2_src_install
139
140 # Documentation install for each of the games
141 for game in \
142 $(find . -maxdepth 1 -type d ! -name po ! -name libgames-support); do
143 docinto ${game}
144 for doc in AUTHORS ChangeLog NEWS README TODO; do
145 [ -s ${game}/${doc} ] && dodoc ${game}/${doc}
146 done
147 done
148 }
149
150 pkg_preinst() {
151 gnome2_pkg_preinst
152 # Avoid overwriting previous .scores files
153 local basefile
154 for scorefile in "${D}"/var/lib/games/*.scores; do
155 basefile=$(basename $scorefile)
156 if [ -s "${ROOT}/var/lib/games/${basefile}" ]; then
157 cp "${ROOT}/var/lib/games/${basefile}" \
158 "${D}/var/lib/games/${basefile}"
159 fi
160 done
161 }
162
163 pkg_postinst() {
164 games_pkg_postinst
165 gnome2_pkg_postinst
166 python_version
167 python_mod_optimize "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages
168 }
169
170 pkg_postrm() {
171 gnome2_pkg_postrm
172 python_version
173 python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
174 }
175
176
177
178 --
179 gentoo-commits@l.g.o mailing list