Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-eselect/eselect-wxwidgets: eselect-wxwidgets-20131230.ebuild eselect-wxwidgets-20140423.ebuild ChangeLog metadata.xml eselect-wxwidgets-1.4.ebuild
Date: Tue, 31 Mar 2015 16:58:28
Message-Id: 20150331165824.DAF5214EE2@oystercatcher.gentoo.org
1 ulm 15/03/31 16:58:24
2
3 Added: eselect-wxwidgets-20131230.ebuild
4 eselect-wxwidgets-20140423.ebuild ChangeLog
5 metadata.xml eselect-wxwidgets-1.4.ebuild
6 Log:
7 Move package from app-admin to app-eselect category.
8
9 (Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 9433907D693FB5B8!)
10
11 Revision Changes Path
12 1.1 app-eselect/eselect-wxwidgets/eselect-wxwidgets-20131230.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20131230.ebuild?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20131230.ebuild?rev=1.1&content-type=text/plain
16
17 Index: eselect-wxwidgets-20131230.ebuild
18 ===================================================================
19 # Copyright 1999-2015 Gentoo Foundation
20 # Distributed under the terms of the GNU General Public License v2
21 # $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20131230.ebuild,v 1.1 2015/03/31 16:58:24 ulm Exp $
22
23 EAPI="5"
24
25 WXWRAP_VER=1.3
26
27 DESCRIPTION="Eselect module and wrappers for wxWidgets"
28 HOMEPAGE="http://www.gentoo.org"
29 SRC_URI="http://dev.gentoo.org/~dirtyepic/dist/wxwidgets.eselect-${PV}.bz2"
30
31 LICENSE="GPL-2"
32 SLOT="0"
33 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
34 IUSE=""
35
36 RDEPEND="app-admin/eselect"
37 S="${WORKDIR}"
38
39 src_install() {
40 insinto /usr/share/eselect/modules
41 newins "${S}"/wxwidgets.eselect-${PV} wxwidgets.eselect
42
43 insinto /usr/share/aclocal
44 newins "${FILESDIR}"/wxwin.m4-3.0 wxwin.m4
45
46 newbin "${FILESDIR}"/wx-config-${WXWRAP_VER} wx-config
47 newbin "${FILESDIR}"/wxrc-${WXWRAP_VER} wxrc
48
49 keepdir /var/lib/wxwidgets
50 keepdir /usr/share/bakefile/presets
51 }
52
53 pkg_postinst() {
54 if [[ ! -e ${ROOT}/var/lib/wxwidgets/current ]]; then
55 echo 'WXCONFIG="none"' > "${ROOT}"/var/lib/wxwidgets/current
56 fi
57
58 echo
59 elog "This eselect module only controls the version of wxGTK used when"
60 elog "building packages outside of portage. If you are not doing development"
61 elog "with wxWidgets or bakefile you will never need to use it."
62 echo
63 }
64
65
66
67 1.1 app-eselect/eselect-wxwidgets/eselect-wxwidgets-20140423.ebuild
68
69 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20140423.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20140423.ebuild?rev=1.1&content-type=text/plain
71
72 Index: eselect-wxwidgets-20140423.ebuild
73 ===================================================================
74 # Copyright 1999-2015 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-wxwidgets/eselect-wxwidgets-20140423.ebuild,v 1.1 2015/03/31 16:58:24 ulm Exp $
77
78 EAPI="5"
79
80 inherit multilib
81
82 WXWRAP_VER=1.4
83
84 DESCRIPTION="Eselect module and wrappers for wxWidgets"
85 HOMEPAGE="http://www.gentoo.org"
86 SRC_URI="http://dev.gentoo.org/~ottxor/dist/${P}.tar.xz"
87
88 LICENSE="GPL-2"
89 SLOT="0"
90 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
91 IUSE=""
92
93 RDEPEND="app-admin/eselect"
94
95 src_prepare() {
96 cp "${FILESDIR}"/{wx-config,wxrc}-${WXWRAP_VER} . || die
97 sed \
98 -e "/^LIBDIR=/s:lib:$(get_libdir):" \
99 -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
100 -i {wx-config,wxrc}-${WXWRAP_VER} || die
101 }
102
103 src_install() {
104 insinto /usr/share/eselect/modules
105 doins wxwidgets.eselect
106
107 insinto /usr/share/aclocal
108 newins "${FILESDIR}"/wxwin.m4-3.0 wxwin.m4
109
110 newbin wx-config-${WXWRAP_VER} wx-config
111 newbin wxrc-${WXWRAP_VER} wxrc
112
113 keepdir /var/lib/wxwidgets
114 keepdir /usr/share/bakefile/presets
115 }
116
117 pkg_postinst() {
118 if [[ ! -e ${EROOT}/var/lib/wxwidgets/current ]]; then
119 echo 'WXCONFIG="none"' > "${EROOT}"/var/lib/wxwidgets/current
120 fi
121
122 echo
123 elog "This eselect module only controls the version of wxGTK used when"
124 elog "building packages outside of portage. If you are not doing development"
125 elog "with wxWidgets or bakefile you will never need to use it."
126 echo
127 }
128
129
130
131 1.1 app-eselect/eselect-wxwidgets/ChangeLog
132
133 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-wxwidgets/ChangeLog?rev=1.1&view=markup
134 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-wxwidgets/ChangeLog?rev=1.1&content-type=text/plain
135
136 Index: ChangeLog
137 ===================================================================
138 # ChangeLog for app-eselect/eselect-wxwidgets
139 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
140 # $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-wxwidgets/ChangeLog,v 1.1 2015/03/31 16:58:24 ulm Exp $
141
142 31 Mar 2015; Ulrich Müller <ulm@g.o> +eselect-wxwidgets-1.4.ebuild,
143 +eselect-wxwidgets-20131230.ebuild, +eselect-wxwidgets-20140423.ebuild,
144 +files/wx-config-1.3, +files/wxrc-1.3, +files/wx-config-1.4, +files/wxrc-1.4,
145 +files/wxwin.m4-2.9, +files/wxwin.m4-3.0, +metadata.xml:
146 Move package from app-admin to app-eselect category.
147
148 *eselect-wxwidgets-20140423 (23 Apr 2014)
149
150 23 Apr 2014; Christoph Junghans <ottxor@g.o>
151 +eselect-wxwidgets-20140423.ebuild, +files/wx-config-1.4, +files/wxrc-1.4:
152 add prefix support (bug #508438)
153
154 24 Mar 2014; Agostino Sarubbo <ago@g.o>
155 eselect-wxwidgets-20131230.ebuild:
156 Stable for ppc, wrt bug #502600
157
158 19 Mar 2014; Agostino Sarubbo <ago@g.o>
159 eselect-wxwidgets-20131230.ebuild:
160 Stable for alpha, wrt bug #502600
161
162 18 Mar 2014; Agostino Sarubbo <ago@g.o>
163 eselect-wxwidgets-20131230.ebuild:
164 Stable for ia64, wrt bug #502600
165
166 14 Mar 2014; Agostino Sarubbo <ago@g.o>
167 eselect-wxwidgets-20131230.ebuild:
168 Stable for ppc64, wrt bug #502600
169
170 12 Mar 2014; Agostino Sarubbo <ago@g.o>
171 eselect-wxwidgets-20131230.ebuild:
172 Stable for sparc, wrt bug #502600
173
174 09 Mar 2014; Pawel Hajdan jr <phajdan.jr@g.o>
175 eselect-wxwidgets-20131230.ebuild:
176 x86 stable wrt bug #502600
177
178 07 Mar 2014; Pacho Ramos <pacho@g.o> eselect-wxwidgets-20131230.ebuild:
179 amd64 stable, bug #502600
180
181 07 Mar 2014; Jeroen Roovers <jer@g.o>
182 eselect-wxwidgets-20131230.ebuild:
183 Stable for HPPA (bug #502600).
184
185 05 Mar 2014; Markus Meier <maekke@g.o>
186 eselect-wxwidgets-20131230.ebuild:
187 arm stable, bug #502600
188
189 *eselect-wxwidgets-20131230 (30 Dec 2013)
190
191 30 Dec 2013; Ryan Hill <dirtyepic@g.o>
192 +eselect-wxwidgets-20131230.ebuild, +files/wxwin.m4-3.0:
193 Version bump. Fixes bug #448074 (do not set profile to "none" if there are
194 others available). Remove 2.6 support, add 3.0 support.
195
196 29 May 2012; Alexis Ballier <aballier@g.o>
197 eselect-wxwidgets-1.4.ebuild:
198 keyword ~amd64-fbsd
199
200 22 Jan 2011; Ryan Hill <dirtyepic@g.o> -files/wxwidgets.eselect-0.8,
201 -files/wx-config-1.1, -files/wxrc-1.1, -eselect-wxwidgets-1.1.ebuild,
202 -eselect-wxwidgets-1.2.ebuild, -eselect-wxwidgets-1.3.ebuild,
203 -files/wxwin.m4:
204 Remove old.
205
206 12 Jan 2011; Kacper Kowalik <xarthisius@g.o>
207 eselect-wxwidgets-1.4.ebuild:
208 ppc/ppc64 stable wrt #330017
209
210 05 Sep 2010; Raúl Porcel <armin76@g.o>
211 eselect-wxwidgets-1.4.ebuild:
212 alpha/ia64/sh/sparc stable wrt #330017
213
214 21 Aug 2010; Markus Meier <maekke@g.o>
215 eselect-wxwidgets-1.4.ebuild:
216 arm stable, bug #330017
217
218 09 Aug 2010; Jeroen Roovers <jer@g.o> eselect-wxwidgets-1.4.ebuild:
219 Stable for HPPA (bug #330017).
220
221 31 Jul 2010; Markos Chandras <hwoarang@g.o>
222 eselect-wxwidgets-1.4.ebuild:
223 Stable on amd64 wrt bug #330017
224
225 27 Jul 2010; Christian Faulhammer <fauli@g.o>
226 eselect-wxwidgets-1.4.ebuild:
227 stable x86, bug 330017
228
229 27 Jul 2010; Jeroen Roovers <jer@g.o> eselect-wxwidgets-1.3.ebuild:
230 Stable for HPPA (bug #305331).
231
232 07 Apr 2010; Brent Baude <ranger@g.o> eselect-wxwidgets-1.3.ebuild:
233 Marking eselect-wxwidgets-1.3 ppc64 for bug 305331
234
235 07 Apr 2010; Brent Baude <ranger@g.o> eselect-wxwidgets-1.3.ebuild:
236 Marking eselect-wxwidgets-1.3 ppc for bug 305331
237
238 14 Mar 2010; Raúl Porcel <armin76@g.o>
239 eselect-wxwidgets-1.3.ebuild:
240 alpha/arm/ia64/sh/sparc stable wrt #305331
241
242 *eselect-wxwidgets-1.4 (16 Feb 2010)
243
244 16 Feb 2010; Ryan Hill <dirtyepic@g.o>
245 +eselect-wxwidgets-1.4.ebuild, +files/wxwin.m4-2.9:
246 Version bump, adds support for 2.9 development builds.
247
248 *eselect-wxwidgets-1.3 (24 Jan 2010)
249
250 24 Jan 2010; Ryan Hill <dirtyepic@g.o> +files/wx-config-1.3,
251 +files/wxrc-1.3, +eselect-wxwidgets-1.3.ebuild:
252 Fix bashisms in wrapper scripts. Bug #301778 by Anthony Parsons.
253
254 *eselect-wxwidgets-1.2 (13 Nov 2009)
255
256 13 Nov 2009; Ryan Hill <dirtyepic@g.o> -files/wx-config-0.7,
257 -files/wxrc-0.7, -files/wxwidgets.eselect-0.7,
258 -eselect-wxwidgets-0.8.ebuild, -files/wx-config-1, -files/wxrc-1,
259 -eselect-wxwidgets-1.0.ebuild, +eselect-wxwidgets-1.2.ebuild:
260 Version bump, support --brief (bug #292119). Minor cleanup.
261 Remove old.
262
263 31 Oct 2009; Brent Baude <ranger@g.o> eselect-wxwidgets-1.1.ebuild:
264 Marking eselect-wxwidgets-1.1 ppc64 for bug 287362
265
266 21 Oct 2009; Jeroen Roovers <jer@g.o> eselect-wxwidgets-1.1.ebuild:
267 Stable for HPPA (bug #287362).
268
269 18 Oct 2009; nixnut <nixnut@g.o> eselect-wxwidgets-1.1.ebuild:
270 ppc stable #287362
271
272 04 Oct 2009; Raúl Porcel <armin76@g.o>
273 eselect-wxwidgets-1.1.ebuild:
274 alpha/arm/ia64/sh/sparc stable wrt #287362
275
276 03 Oct 2009; Markus Meier <maekke@g.o>
277 eselect-wxwidgets-1.1.ebuild:
278 amd64/x86 stable, bug #287362
279
280 *eselect-wxwidgets-1.1 (19 Jul 2009)
281
282 19 Jul 2009; Ryan Hill <dirtyepic@g.o> +files/wx-config-1.1,
283 +files/wxrc-1.1, +eselect-wxwidgets-1.1.ebuild:
284 Direct error messages from the wrappers to stderr as suggested by
285 Martin von Gagern in bug #278037.
286
287 02 Jul 2009; Fabian Groffen <grobian@g.o> files/wx-config-1,
288 files/wxrc-1:
289 Add CVS Header to wxrc and wx-config to make my life easier
290
291 *eselect-wxwidgets-1.0 (01 Jul 2009)
292
293 01 Jul 2009; Ryan Hill <dirtyepic@g.o> +files/wx-config-1,
294 +files/wxrc-1, +eselect-wxwidgets-1.0.ebuild:
295 Version bump. Debashify wx-config and wxrc wrappers for compatibility with
296 cmake (bug #274675).
297
298 22 Jan 2009; Raúl Porcel <armin76@g.o>
299 eselect-wxwidgets-0.8.ebuild:
300 arm/sh stable, since its just an eselect script
301
302 22 Jan 2009; Raúl Porcel <armin76@g.o>
303 eselect-wxwidgets-0.8.ebuild:
304 Add ~arm/~sh
305
306 16 Jul 2008; Alexis Ballier <aballier@g.o>
307 eselect-wxwidgets-0.8.ebuild:
308 keyword ~x86-fbsd, thanks to Henning Schild <henning@××××××××××××××.de>,
309 bug #231618
310
311 29 Jun 2008; Ryan Hill <dirtyepic@g.o>
312 -eselect-wxwidgets-0.7-r1.ebuild:
313 Remove old.
314
315 09 Jun 2008; Brent Baude <ranger@g.o> eselect-wxwidgets-0.8.ebuild:
316 stable ppc64, bug 225261
317
318 09 Jun 2008; Raúl Porcel <armin76@g.o>
319 eselect-wxwidgets-0.8.ebuild:
320 alpha/ia64/x86 stable wrt #225261
321
322 08 Jun 2008; Kenneth Prugh <ken69267@g.o>
323 eselect-wxwidgets-0.8.ebuild:
324 amd64 stable, bug #225261
325
326 08 Jun 2008; nixnut <nixnut@g.o> eselect-wxwidgets-0.8.ebuild:
327 Stable on ppc wrt bug 225261
328
329 08 Jun 2008; Friedrich Oslage <bluebird@g.o>
330 eselect-wxwidgets-0.8.ebuild:
331 stable on sparc, bug #225261
332
333 08 Jun 2008; Jeroen Roovers <jer@g.o> eselect-wxwidgets-0.8.ebuild:
334 Stable for HPPA (bug #225261).
335
336 29 Jun 2008; Ryan Hill <dirtyepic@g.o>
337 -eselect-wxwidgets-0.7-r1.ebuild:
338 Remove old.
339
340 17 Mar 2008; Peter Volkov <pva@g.o>
341 eselect-wxwidgets-0.7-r1.ebuild:
342 amd64 stable, bug #207648.
343
344 18 Feb 2008; Ryan Hill <dirtyepic@g.o>
345 eselect-wxwidgets-0.8.ebuild:
346 Add ~mips.
347
348 08 Feb 2008; Ryan Hill <dirtyepic@g.o> files/wxwidgets.eselect-0.8:
349 Fix tyop.
350
351 *eselect-wxwidgets-0.8 (08 Feb 2008)
352
353 08 Feb 2008; Ryan Hill <dirtyepic@g.o>
354 +files/wxwidgets.eselect-0.8, +eselect-wxwidgets-0.8.ebuild:
355 Create symlinks for wx* bakefile prefix files based on currently selected
356 SLOT. Bug #209150 by Vaclav.
357
358 29 Jan 2008; nixnut <nixnut@g.o> eselect-wxwidgets-0.7-r1.ebuild:
359 Stable on ppc wrt bug 207648
360
361 28 Jan 2008; Jeroen Roovers <jer@g.o>
362 eselect-wxwidgets-0.7-r1.ebuild:
363 Stable for HPPA (bug #207648).
364
365 28 Jan 2008; Raúl Porcel <armin76@g.o> metadata.xml:
366 Replace wxwindows with wxwidgets in metadata
367
368 27 Jan 2008; Raúl Porcel <armin76@g.o>
369 eselect-wxwidgets-0.7-r1.ebuild:
370 alpha/ia64/sparc stable wrt #207648
371
372 27 Jan 2008; Brent Baude <ranger@g.o>
373 eselect-wxwidgets-0.7-r1.ebuild:
374 Marking eselect-wxwidgets-0.7-r1 ppc64 for bug 207648
375
376 27 Jan 2008; Christian Faulhammer <opfer@g.o>
377 eselect-wxwidgets-0.7-r1.ebuild:
378 stable x86, bug 207648
379
380 23 Dec 2007; Ryan Hill <dirtyepic@g.o> files/wxrc-0.7:
381 Minor typo in error message.
382
383 *eselect-wxwidgets-0.7-r1 (23 Dec 2007)
384
385 23 Dec 2007; Ryan Hill <dirtyepic@g.o> files/wx-config-0.7,
386 files/wxrc-0.7, -eselect-wxwidgets-0.7.ebuild,
387 +eselect-wxwidgets-0.7-r1.ebuild:
388 Fix wxrc wrapper to work when called from eclass and push out various small
389 local changes i forgot to commit.
390
391 22 Dec 2007; nixnut <nixnut@g.o> eselect-wxwidgets-0.7.ebuild:
392 Added ~ppc wrt bug 199594
393
394 *eselect-wxwidgets-0.7 (20 Dec 2007)
395
396 20 Dec 2007; Ryan Hill <dirtyepic@g.o> -files/wx-config-0.6,
397 -files/wxrc-0.6, -files/wxwidgets.eselect-0.6, +files/wx-config-0.7,
398 +files/wxrc-0.7, +files/wxwidgets.eselect-0.7, +files/wxwin.m4,
399 -eselect-wxwidgets-0.6.ebuild, +eselect-wxwidgets-0.7.ebuild:
400 Version bump. Move wxwin.m4 handling from wxGTK to here. Die if wrapper
401 called from portage (currently disabled for testing).
402
403 *eselect-wxwidgets-0.6 (13 Dec 2007)
404
405 13 Dec 2007; Ryan Hill <dirtyepic@g.o> -files/wx-config-0.5,
406 -files/wxrc-0.5, -files/wxwidgets.eselect-0.5, +files/wx-config-0.6,
407 +files/wxrc-0.6, +files/wxwidgets.eselect-0.6,
408 -eselect-wxwidgets-0.5.ebuild, +eselect-wxwidgets-0.6.ebuild:
409 Version bump to push out changes.
410
411 13 Dec 2007; Ryan Hill <dirtyepic@g.o> files/wxrc-0.5,
412 files/wxwidgets.eselect-0.5:
413 Make the wxrc wrapper better at error handling and work properly with
414 wxwidgets.eclass.
415
416 12 Dec 2007; Ryan Hill <dirtyepic@g.o> files/wxrc-0.5,
417 files/wxwidgets.eselect-0.5:
418 Handle case where ${WXCONFFILE} doesn't exist. Undo thinko in wxrc wrapper.
419
420 12 Dec 2007; Ryan Hill <dirtyepic@g.o>
421 eselect-wxwidgets-0.5.ebuild:
422 Added postinst message explaining how to set a profile since we now default
423 to 'none'
424
425 12 Dec 2007; Ryan Hill <dirtyepic@g.o> files/wx-config-0.5,
426 files/wxrc-0.5, files/wxwidgets.eselect-0.5:
427 Output touchups. Handle none profile better.
428
429 10 Dec 2007; Jeroen Roovers <jer@g.o> eselect-wxwidgets-0.5.ebuild:
430 Marked ~hppa (bug #199594).
431
432 23 Nov 2007; Markus Rothe <corsair@g.o>
433 eselect-wxwidgets-0.5.ebuild:
434 Added ~ppc64; bug #199594
435
436 20 Nov 2007; Raúl Porcel <armin76@g.o>
437 eselect-wxwidgets-0.5.ebuild:
438 Add ~alpha/~ia64/~sparc wrt #199594
439
440 18 Nov 2007; Ryan Hill <dirtyepic@g.o>
441 eselect-wxwidgets-0.5.ebuild:
442 Add blocker on wxGTK versions less than 2.6.4.0-r2 due to file collisions.
443
444 *eselect-wxwidgets-0.5 (18 Nov 2007)
445
446 18 Nov 2007; Ryan Hill <dirtyepic@g.o> +files/wx-config-0.5,
447 +files/wxrc-0.5, +files/wxwidgets.eselect-0.5, +metadata.xml,
448 +eselect-wxwidgets-0.5.ebuild:
449 Initial revision.
450
451
452
453 1.1 app-eselect/eselect-wxwidgets/metadata.xml
454
455 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-wxwidgets/metadata.xml?rev=1.1&view=markup
456 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-wxwidgets/metadata.xml?rev=1.1&content-type=text/plain
457
458 Index: metadata.xml
459 ===================================================================
460 <?xml version="1.0" encoding="UTF-8"?>
461 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
462 <pkgmetadata>
463 <herd>wxwidgets</herd>
464 </pkgmetadata>
465
466
467
468 1.1 app-eselect/eselect-wxwidgets/eselect-wxwidgets-1.4.ebuild
469
470 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-wxwidgets/eselect-wxwidgets-1.4.ebuild?rev=1.1&view=markup
471 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-eselect/eselect-wxwidgets/eselect-wxwidgets-1.4.ebuild?rev=1.1&content-type=text/plain
472
473 Index: eselect-wxwidgets-1.4.ebuild
474 ===================================================================
475 # Copyright 1999-2015 Gentoo Foundation
476 # Distributed under the terms of the GNU General Public License v2
477 # $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-wxwidgets/eselect-wxwidgets-1.4.ebuild,v 1.1 2015/03/31 16:58:24 ulm Exp $
478
479 WXWRAP_VER=1.3
480 WXESELECT_VER=1.4
481
482 DESCRIPTION="Eselect module and wrappers for wxWidgets"
483 HOMEPAGE="http://www.gentoo.org"
484 SRC_URI="mirror://gentoo/wxwidgets.eselect-${WXESELECT_VER}.bz2"
485
486 LICENSE="GPL-2"
487 SLOT="0"
488 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
489 IUSE=""
490
491 DEPEND="!<=x11-libs/wxGTK-2.6.4.0-r2"
492 RDEPEND=">=app-admin/eselect-1.2.3"
493
494 S=${WORKDIR}
495
496 src_install() {
497 insinto /usr/share/eselect/modules
498 newins "${S}"/wxwidgets.eselect-${WXESELECT_VER} wxwidgets.eselect \
499 || die "Failed installing module"
500
501 insinto /usr/share/aclocal
502 newins "${FILESDIR}"/wxwin.m4-2.9 wxwin.m4 || die "Failed installing m4"
503
504 newbin "${FILESDIR}"/wx-config-${WXWRAP_VER} wx-config \
505 || die "Failed installing wx-config"
506 newbin "${FILESDIR}"/wxrc-${WXWRAP_VER} wxrc \
507 || die "Failed installing wxrc"
508
509 keepdir /var/lib/wxwidgets
510 keepdir /usr/share/bakefile/presets
511 }
512
513 pkg_postinst() {
514 if [[ ! -e ${ROOT}/var/lib/wxwidgets/current ]]; then
515 echo 'WXCONFIG="none"' > "${ROOT}"/var/lib/wxwidgets/current
516 fi
517
518 echo
519 elog "By default the system wxWidgets profile is set to \"none\"."
520 elog
521 elog "It is unnecessary to change this unless you are doing development work"
522 elog "with wxGTK outside of portage. The package manager ignores the profile"
523 elog "setting altogether."
524 echo
525 }