Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-board/aisleriot: ChangeLog aisleriot-3.4.1-r1.ebuild aisleriot-3.2.3.2-r1.ebuild aisleriot-3.2.3.1.ebuild
Date: Sun, 26 Aug 2012 15:43:39
Message-Id: 20120826154323.9B79E207FC@flycatcher.gentoo.org
1 tetromino 12/08/26 15:43:23
2
3 Modified: ChangeLog
4 Added: aisleriot-3.4.1-r1.ebuild
5 aisleriot-3.2.3.2-r1.ebuild
6 Removed: aisleriot-3.2.3.1.ebuild
7 Log:
8 Use games_pkg_setup, prepgamesdirs, and those games install locations which are possible for a gnome application; bug #432838, thanks to Julian Ospald (hasufell). Drop old.
9
10 (Portage version: 2.2.0_alpha122/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.7 games-board/aisleriot/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/aisleriot/ChangeLog?rev=1.7&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/aisleriot/ChangeLog?rev=1.7&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/aisleriot/ChangeLog?r1=1.6&r2=1.7
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/games-board/aisleriot/ChangeLog,v
22 retrieving revision 1.6
23 retrieving revision 1.7
24 diff -u -r1.6 -r1.7
25 --- ChangeLog 14 Jul 2012 13:29:05 -0000 1.6
26 +++ ChangeLog 26 Aug 2012 15:43:23 -0000 1.7
27 @@ -1,6 +1,16 @@
28 # ChangeLog for games-board/aisleriot
29 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/games-board/aisleriot/ChangeLog,v 1.6 2012/07/14 13:29:05 blueness Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/games-board/aisleriot/ChangeLog,v 1.7 2012/08/26 15:43:23 tetromino Exp $
32 +
33 +*aisleriot-3.4.1-r1 (26 Aug 2012)
34 +*aisleriot-3.2.3.2-r1 (26 Aug 2012)
35 +
36 + 26 Aug 2012; Alexandre Rostovtsev <tetromino@g.o>
37 + -aisleriot-3.2.3.1.ebuild, +aisleriot-3.2.3.2-r1.ebuild,
38 + +aisleriot-3.4.1-r1.ebuild:
39 + Use games_pkg_setup, prepgamesdirs, and those games install locations which
40 + are possible for a gnome application; bug #432838, thanks to Julian Ospald
41 + (hasufell). Drop old.
42
43 14 Jul 2012; Anthony G. Basile <blueness@g.o>
44 aisleriot-3.2.3.2.ebuild, aisleriot-3.4.1.ebuild:
45
46
47
48 1.1 games-board/aisleriot/aisleriot-3.4.1-r1.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/aisleriot/aisleriot-3.4.1-r1.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/aisleriot/aisleriot-3.4.1-r1.ebuild?rev=1.1&content-type=text/plain
52
53 Index: aisleriot-3.4.1-r1.ebuild
54 ===================================================================
55 # Copyright 1999-2012 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/games-board/aisleriot/aisleriot-3.4.1-r1.ebuild,v 1.1 2012/08/26 15:43:23 tetromino Exp $
58
59 EAPI="4"
60 GCONF_DEBUG="yes"
61
62 # make sure games is inherited first so that the gnome2
63 # functions will be called if they are not overridden
64 inherit eutils games gnome2 multilib
65
66 DESCRIPTION="A collection of solitaire card games for GNOME"
67 HOMEPAGE="http://live.gnome.org/Aisleriot"
68
69 LICENSE="GPL-3 LGPL-3 FDL-1.1"
70 SLOT="0"
71 KEYWORDS="~amd64 ~mips ~x86"
72 IUSE="gnome"
73
74 # FIXME: quartz support?
75 # Does not build with guile-2.0.0 or 2.0.1
76 COMMON_DEPEND=">=dev-libs/glib-2.31.13:2
77 >=dev-scheme/guile-2.0.5:2[deprecated,regex]
78 >=gnome-base/librsvg-2.32.0:2
79 >=x11-libs/cairo-1.10.0
80 x11-libs/gdk-pixbuf:2
81 >=x11-libs/gtk+-3.0.0:3
82 x11-libs/libICE
83 x11-libs/libSM
84 >=media-libs/libcanberra-0.26[gtk3]
85 gnome? ( >=gnome-base/gconf-2.0:2 )"
86 # aisleriot was split off from gnome-games
87 RDEPEND="${COMMON_DEPEND}
88 !<gnome-extra/gnome-games-3.1.1[aisleriot]
89 !<gnome-extra/gnome-games-3"
90 DEPEND="${COMMON_DEPEND}
91 app-arch/gzip
92 dev-libs/libxml2
93 >=dev-util/intltool-0.40.4
94 sys-apps/lsb-release
95 >=sys-devel/gettext-0.12
96 virtual/pkgconfig
97 gnome? (
98 app-text/docbook-xml-dtd:4.3
99 >=app-text/yelp-tools-3.1.1 )"
100
101 pkg_setup() {
102 DOCS="AUTHORS ChangeLog TODO"
103
104 if use gnome; then
105 G2CONF="${G2CONF} --with-platform=gnome --with-help-method=ghelp"
106 else
107 G2CONF="${G2CONF} --with-platform=gtk-only --with-help-method=library
108 ITSTOOL=$(type -P true) XMLLINT=$(type -P true)"
109 fi
110
111 G2CONF="${G2CONF}
112 --with-gtk=3.0
113 --with-guile=2.0
114 --enable-sound
115 --disable-schemas-compile
116 --with-card-theme-formats=all
117 --with-kde-card-theme-path="${EPREFIX}"/usr/share/apps/carddecks
118 --with-pysol-card-theme-path=${GAMES_DATADIR}/pysolfc
119 --exec-prefix=${GAMES_PREFIX}
120 --localstatedir=${GAMES_STATEDIR}
121 --with-valgrind-dir="${EPREFIX}"/usr/$(get_libdir)/valgrind"
122
123 export MAKEOPTS="${MAKEOPTS} pkgdatadir=${GAMES_DATADIR}/aisleriot"
124
125 games_pkg_setup
126 }
127
128 src_install() {
129 gnome2_src_install
130 prepgamesdirs
131 }
132
133 pkg_preinst() {
134 gnome2_pkg_preinst
135 games_pkg_preinst
136 }
137
138 pkg_postinst() {
139 gnome2_pkg_postinst
140 games_pkg_postinst
141
142 elog "Aisleriot can use additional card themes from games-board/pysolfc"
143 elog "and kde-base/libkdegames."
144 }
145
146
147
148 1.1 games-board/aisleriot/aisleriot-3.2.3.2-r1.ebuild
149
150 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/aisleriot/aisleriot-3.2.3.2-r1.ebuild?rev=1.1&view=markup
151 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/aisleriot/aisleriot-3.2.3.2-r1.ebuild?rev=1.1&content-type=text/plain
152
153 Index: aisleriot-3.2.3.2-r1.ebuild
154 ===================================================================
155 # Copyright 1999-2012 Gentoo Foundation
156 # Distributed under the terms of the GNU General Public License v2
157 # $Header: /var/cvsroot/gentoo-x86/games-board/aisleriot/aisleriot-3.2.3.2-r1.ebuild,v 1.1 2012/08/26 15:43:23 tetromino Exp $
158
159 EAPI="4"
160 GCONF_DEBUG="yes"
161
162 # make sure games is inherited first so that the gnome2
163 # functions will be called if they are not overridden
164 inherit eutils games gnome2 multilib
165
166 DESCRIPTION="A collection of solitaire card games for GNOME"
167 HOMEPAGE="http://live.gnome.org/Aisleriot"
168
169 LICENSE="GPL-3 LGPL-3 FDL-1.1"
170 SLOT="0"
171 KEYWORDS="~amd64 ~mips ~x86"
172 IUSE="gnome"
173
174 # FIXME: quartz support?
175 COMMON_DEPEND=">=dev-libs/glib-2.26.0:2
176 >=dev-scheme/guile-1.8.0:12[deprecated,regex]
177 >=gnome-base/librsvg-2.32.0
178 >=x11-libs/cairo-1.10.0
179 x11-libs/gdk-pixbuf:2
180 >=x11-libs/gtk+-3.0.0:3
181 x11-libs/libICE
182 x11-libs/libSM
183 >=media-libs/libcanberra-0.26[gtk3]
184 gnome? ( >=gnome-base/gconf-2.0:2 )"
185 # aisleriot was split off from gnome-games
186 RDEPEND="${COMMON_DEPEND}
187 !<gnome-extra/gnome-games-3.1.1[aisleriot]
188 !<gnome-extra/gnome-games-3"
189 DEPEND="${COMMON_DEPEND}
190 >=dev-util/intltool-0.40.4
191 virtual/pkgconfig
192 sys-apps/lsb-release
193 >=sys-devel/gettext-0.12
194 gnome? (
195 app-text/docbook-xml-dtd:4.3
196 >=app-text/yelp-tools-3.1.1 )"
197
198 pkg_setup() {
199 DOCS="AUTHORS ChangeLog TODO"
200
201 if use gnome; then
202 G2CONF="${G2CONF} --with-platform=gnome --with-help-method=ghelp"
203 else
204 G2CONF="${G2CONF} --with-platform=gtk-only --with-help-method=library
205 ITSTOOL=$(type -P true) XMLLINT=$(type -P true)"
206 fi
207
208 G2CONF="${G2CONF}
209 --with-gtk=3.0
210 --with-smclient
211 --with-guile=1.8
212 --enable-sound
213 --disable-schemas-compile
214 --with-card-theme-formats=all
215 --with-kde-card-theme-path="${EPREFIX}"/usr/share/apps/carddecks
216 --with-pysol-card-theme-path=${GAMES_DATADIR}/pysolfc
217 --exec-prefix=${GAMES_PREFIX}
218 --localstatedir=${GAMES_STATEDIR}
219 --with-valgrind-dir="${EPREFIX}"/usr/$(get_libdir)/valgrind"
220
221 export MAKEOPTS="${MAKEOPTS} pkgdatadir=${GAMES_DATADIR}/aisleriot"
222
223 games_pkg_setup
224 }
225
226 src_install() {
227 gnome2_src_install
228 prepgamesdirs
229 }
230
231 pkg_preinst() {
232 gnome2_pkg_preinst
233 games_pkg_preinst
234 }
235
236 pkg_postinst() {
237 gnome2_pkg_postinst
238 games_pkg_postinst
239
240 elog "Aisleriot can use additional card themes from games-board/pysolfc"
241 elog "and kde-base/libkdegames."
242 }