Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-qt/qt-creator: qt-creator-2.6.2.ebuild ChangeLog qt-creator-2.5.2.ebuild metadata.xml qt-creator-2.6.1.ebuild qt-creator-2.7.0_beta.ebuild
Date: Sat, 02 Mar 2013 15:24:34
Message-Id: 20130302152429.C89B92171D@flycatcher.gentoo.org
1 yngwin 13/03/02 15:24:29
2
3 Added: qt-creator-2.6.2.ebuild ChangeLog
4 qt-creator-2.5.2.ebuild metadata.xml
5 qt-creator-2.6.1.ebuild
6 qt-creator-2.7.0_beta.ebuild
7 Log:
8 Move to new dev-qt category
9
10 (Portage version: 2.2.0_alpha164/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0x2B2474AD43CE296E!)
11
12 Revision Changes Path
13 1.1 dev-qt/qt-creator/qt-creator-2.6.2.ebuild
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.6.2.ebuild?rev=1.1&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.6.2.ebuild?rev=1.1&content-type=text/plain
17
18 Index: qt-creator-2.6.2.ebuild
19 ===================================================================
20 # Copyright 1999-2013 Gentoo Foundation
21 # Distributed under the terms of the GNU General Public License v2
22 # $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.6.2.ebuild,v 1.1 2013/03/02 15:24:29 yngwin Exp $
23
24 EAPI=4
25
26 PLOCALES="cs de fr hu ja pl ru sl zh_CN"
27
28 inherit eutils flag-o-matic l10n multilib qt4-r2
29
30 DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
31 HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
32 LICENSE="LGPL-2.1"
33
34 if [[ ${PV} == *9999* ]]; then
35 inherit git-2
36 EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
37 https://git.gitorious.org/${PN}/${PN}.git"
38 else
39 MY_PV=${PV/_/-}
40 MY_P=${PN}-${MY_PV}-src
41 SRC_URI="http://releases.qt-project.org/qtcreator/${MY_PV}/${MY_P}.tar.gz"
42 S=${WORKDIR}/${MY_P}
43 fi
44
45 SLOT="0"
46 KEYWORDS="~amd64 ~x86"
47
48 QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar
49 clearcase cmake:cmakeprojectmanager cvs fakevim git
50 madde mercurial perforce qnx subversion valgrind)
51 IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}"
52
53 # minimum Qt version required
54 QT_PV="4.8.0:4"
55
56 CDEPEND="
57 >=dev-qt/qthelp-${QT_PV}[doc?]
58 >=dev-qt/qtcore-${QT_PV}[ssl]
59 >=dev-qt/qtdeclarative-${QT_PV}
60 >=dev-qt/qtgui-${QT_PV}
61 >=dev-qt/qtscript-${QT_PV}
62 >=dev-qt/qtsql-${QT_PV}
63 >=dev-qt/qtsvg-${QT_PV}
64 debug? ( >=dev-qt/qttest-${QT_PV} )
65 !botan-bundled? ( >=dev-libs/botan-1.10.2 )
66 "
67 DEPEND="${CDEPEND}
68 !botan-bundled? ( virtual/pkgconfig )
69 "
70 RDEPEND="${CDEPEND}
71 >=sys-devel/gdb-7.2[python]
72 examples? ( >=dev-qt/qtdemo-${QT_PV} )
73 "
74 PDEPEND="
75 autotools? ( sys-devel/autoconf )
76 bazaar? ( dev-vcs/bzr )
77 cmake? ( dev-util/cmake )
78 cvs? ( dev-vcs/cvs )
79 git? ( dev-vcs/git )
80 mercurial? ( dev-vcs/mercurial )
81 subversion? ( dev-vcs/subversion )
82 valgrind? ( dev-util/valgrind )
83 "
84
85 src_prepare() {
86 qt4-r2_src_prepare
87
88 # disable unwanted plugins
89 for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
90 if ! use ${plugin%:*}; then
91 einfo "Disabling ${plugin%:*} plugin"
92 sed -i -re "/(^|SUBDIRS\s+\+=)\s+plugin_${plugin#*:}\>/d" src/plugins/plugins.pro \
93 || die "failed to disable ${plugin} plugin"
94 fi
95 done
96
97 # fix translations
98 sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
99 share/qtcreator/translations/translations.pro || die
100
101 if ! use botan-bundled; then
102 # identify system botan and pkg-config file
103 local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2)
104 local lib_botan=$(pkg-config --libs botan-${botan_version})
105 einfo "Major version of system's botan library to be used: ${botan_version}"
106
107 # drop bundled libBotan. Bug #383033
108 rm -rf "${S}"/src/libs/3rdparty/botan || die
109 # remove references to bundled botan
110 sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die
111 for x in testrunner parsertests modeldemo; do
112 sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die
113 done
114 sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die
115 sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die
116 # link to system botan
117 sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die
118 sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die
119 # append botan refs to compiler flags
120 append-flags $(pkg-config --cflags --libs botan-${botan_version})
121 fi
122 }
123
124 src_configure() {
125 eqmake4 qtcreator.pro \
126 IDE_LIBRARY_BASENAME="$(get_libdir)" \
127 IDE_PACKAGE_MODE=yes
128 }
129
130 src_compile() {
131 emake
132 use doc && emake docs
133 }
134
135 src_install() {
136 emake INSTALL_ROOT="${ED}usr" install
137
138 dodoc dist/{changes-2.*,known-issues}
139
140 # Install documentation
141 if use doc; then
142 insinto /usr/share/doc/${PF}
143 doins share/doc/qtcreator/qtcreator{,-dev}.qch
144 docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
145 fi
146
147 # Install desktop file
148 make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
149 }
150
151
152
153 1.1 dev-qt/qt-creator/ChangeLog
154
155 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/ChangeLog?rev=1.1&view=markup
156 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/ChangeLog?rev=1.1&content-type=text/plain
157
158 Index: ChangeLog
159 ===================================================================
160 # ChangeLog for dev-qt/qt-creator
161 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
162 # $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/ChangeLog,v 1.1 2013/03/02 15:24:29 yngwin Exp $
163
164 *qt-creator-2.7.0_beta (17 Feb 2013)
165
166 17 Feb 2013; Davide Pesavento <pesa@g.o> +qt-creator-2.7.0_beta.ebuild:
167 Version bump, implement src_test().
168
169 *qt-creator-2.6.2 (02 Feb 2013)
170
171 02 Feb 2013; Davide Pesavento <pesa@g.o> +qt-creator-2.6.2.ebuild,
172 -qt-creator-2.6.0.ebuild:
173 Version bump; remove old.
174
175 *qt-creator-2.6.1 (30 Dec 2012)
176
177 30 Dec 2012; Davide Pesavento <pesa@g.o> +qt-creator-2.6.1.ebuild:
178 Version bump.
179
180 *qt-creator-2.6.0 (09 Nov 2012)
181
182 09 Nov 2012; Davide Pesavento <pesa@g.o> +qt-creator-2.6.0.ebuild,
183 -qt-creator-2.6.0_rc.ebuild:
184 Version bump.
185
186 28 Oct 2012; Davide Pesavento <pesa@g.o> qt-creator-2.6.0_rc.ebuild:
187 Fix icon name in .desktop file. Thanks to Rion in bug 439956.
188
189 27 Oct 2012; Davide Pesavento <pesa@g.o> qt-creator-2.6.0_rc.ebuild:
190 Drop ppc/ppc64 keywords wrt bug 439514.
191
192 *qt-creator-2.6.0_rc (20 Oct 2012)
193
194 20 Oct 2012; Davide Pesavento <pesa@g.o> +qt-creator-2.6.0_rc.ebuild,
195 -qt-creator-2.6.0_beta.ebuild:
196 Bump to RC
197
198 18 Sep 2012; Johannes Huber <johu@g.o> -qt-creator-2.5.0.ebuild:
199 Remove old.
200
201 18 Sep 2012; Johannes Huber <johu@g.o> qt-creator-2.5.2.ebuild:
202 Stable for x86, wrt bug #434392
203
204 13 Sep 2012; Agostino Sarubbo <ago@g.o> qt-creator-2.5.2.ebuild:
205 Stable for amd64, wrt bug #434392
206
207 13 Sep 2012; Davide Pesavento <pesa@g.o> qt-creator-2.6.0_beta.ebuild:
208 Tweak sed expression to correctly disable clearcase plugin.
209
210 12 Sep 2012; Davide Pesavento <pesa@g.o> qt-creator-2.6.0_beta.ebuild:
211 Delete useless doicon since icons are already installed by the buildsystem.
212
213 12 Sep 2012; Davide Pesavento <pesa@g.o> qt-creator-2.6.0_beta.ebuild:
214 Use l10n.eclass
215
216 *qt-creator-2.6.0_beta (12 Sep 2012)
217
218 12 Sep 2012; Davide Pesavento <pesa@g.o> +qt-creator-2.6.0_beta.ebuild,
219 metadata.xml:
220 Version bump.
221
222 09 Sep 2012; Anthony G. Basile <blueness@g.o> qt-creator-2.5.2.ebuild:
223 Stable ppc64, bug #434392
224
225 09 Sep 2012; Anthony G. Basile <blueness@g.o> qt-creator-2.5.2.ebuild:
226 Stable ppc, bug #434392
227
228 13 Aug 2012; Davide Pesavento <pesa@g.o> qt-creator-2.5.2.ebuild:
229 Merge with live ebuild.
230
231 *qt-creator-2.5.2 (10 Aug 2012)
232
233 10 Aug 2012; Davide Pesavento <pesa@g.o> +qt-creator-2.5.2.ebuild,
234 -qt-creator-2.5.1.ebuild:
235 Version bump.
236
237 *qt-creator-2.5.1 (27 Jul 2012)
238
239 27 Jul 2012; Davide Pesavento <pesa@g.o> +qt-creator-2.5.1.ebuild:
240 Version bump.
241
242 12 Jul 2012; Davide Pesavento <pesa@g.o>
243 -files/qt-creator-2.1.0_rc1-qml-plugin.patch, -qt-creator-2.1.0.ebuild,
244 -qt-creator-2.4.1.ebuild, metadata.xml:
245 Cleanup
246
247 11 Jul 2012; Michael Weber <xmw@g.o> qt-creator-2.5.0.ebuild:
248 ppc stable (bug 408711)
249
250 22 Jun 2012; Brent Baude <ranger@g.o> qt-creator-2.5.0.ebuild:
251 Marking qt-creator-2.5.0 ppc64 for bug 408711
252
253 18 Jun 2012; Jeff Horelick <jdhore@g.o> qt-creator-2.5.0.ebuild:
254 marked x86 per bug 408711
255
256 17 Jun 2012; Agostino Sarubbo <ago@g.o> qt-creator-2.5.0.ebuild:
257 Stable for amd64, wrt bug #408711
258
259 21 May 2012; Samuli Suominen <ssuominen@g.o> qt-creator-2.1.0.ebuild:
260 inherit eutils for make_desktop_entry
261
262 12 May 2012; Davide Pesavento <pesa@g.o> -qt-creator-2.5.0_rc.ebuild,
263 qt-creator-2.5.0.ebuild:
264 USE=ssl is required in qt-core.
265
266 *qt-creator-2.5.0 (11 May 2012)
267
268 11 May 2012; Markos Chandras <hwoarang@g.o> +qt-creator-2.5.0.ebuild:
269 version bump. Bug #415471
270
271 03 May 2012; Davide Pesavento <pesa@g.o> qt-creator-2.4.1.ebuild,
272 qt-creator-2.5.0_rc.ebuild:
273 Migrate to virtual/pkgconfig.
274
275 *qt-creator-2.5.0_rc (23 Apr 2012)
276
277 23 Apr 2012; Davide Pesavento <pesa@g.o> +qt-creator-2.5.0_rc.ebuild,
278 -qt-creator-2.3.1.ebuild, -qt-creator-2.5.0_beta.ebuild:
279 Version bump to 2.5 RC; remove old.
280
281 24 Mar 2012; Pawel Hajdan jr <phajdan.jr@g.o> qt-creator-2.4.1.ebuild:
282 x86 stable wrt bug #408711
283
284 20 Mar 2012; Agostino Sarubbo <ago@g.o> qt-creator-2.4.1.ebuild:
285 Stable for amd64, wrt bug #408711
286
287 *qt-creator-2.5.0_beta (17 Mar 2012)
288
289 17 Mar 2012; Davide Pesavento <pesa@g.o> +qt-creator-2.5.0_beta.ebuild,
290 metadata.xml:
291 Version bump.
292
293 17 Mar 2012; Davide Pesavento <pesa@g.o> qt-creator-2.4.1.ebuild:
294 Add missing 'docompress -x' call wrt bug 408129 by Jaak Ristioja
295 <jaak@××××××××.ee>.
296
297 15 Mar 2012; Davide Pesavento <pesa@g.o> -qt-creator-2.4.0-r1.ebuild,
298 qt-creator-2.4.1.ebuild:
299 Fix installation of qch files (bug #408129) and cleanup usage of prefix
300 variables. Remove old.
301
302 *qt-creator-2.4.1 (02 Feb 2012)
303
304 02 Feb 2012; Markos Chandras <hwoarang@g.o> +qt-creator-2.4.1.ebuild:
305 version bump
306
307 15 Jan 2012; Markos Chandras <hwoarang@g.o> qt-creator-2.4.0-r1.ebuild:
308 make dependency to qt-assistant[doc] optionally
309
310 14 Jan 2012; Markos Chandras <hwoarang@g.o> qt-creator-2.4.0-r1.ebuild:
311 x11-libs/qt-assistant is a mandatory dependency. Bug #398583
312
313 *qt-creator-2.4.0-r1 (03 Jan 2012)
314
315 03 Jan 2012; Davide Pesavento <pesa@g.o> +qt-creator-2.4.0-r1.ebuild,
316 -qt-creator-2.4.0.ebuild, metadata.xml:
317 Revbump with major changes: remove USE=qml and always depend on qt-declarative
318 and qt-script (they're required by some core plugins); remove pointless and/or
319 obsolete USE flags; add madde and valgrind USE flags; move VCS packages to
320 PDEPEND; stop adding a custom rpath, the build system already takes care of
321 setting it; install a better icon; other misc cleanups. Also added myself as
322 maintainer.
323
324 02 Jan 2012; Davide Pesavento <pesa@g.o> -files/docs_gen.patch,
325 -files/qt-creator-1.3.1-qt47.patch, metadata.xml:
326 Delete old and unused patches. Remove obsolete 'debugger' USE flag from
327 metadata.
328
329 31 Dec 2011; Markos Chandras <hwoarang@g.o> -qt-creator-2.2.1.ebuild:
330 drop old
331
332 31 Dec 2011; Markos Chandras <hwoarang@g.o> qt-creator-2.4.0.ebuild:
333 private-headers is gone from Qt-4.8.0 hence we make it mandatory only when
334 applicable
335
336 27 Dec 2011; Markus Meier <maekke@g.o> qt-creator-2.3.1.ebuild:
337 x86 stable, bug #378753
338
339 *qt-creator-2.4.0 (23 Dec 2011)
340
341 23 Dec 2011; Markos Chandras <hwoarang@g.o> +qt-creator-2.4.0.ebuild,
342 -qt-creator-2.4.0_rc.ebuild:
343 Version bump. Drop old. Bug #394697
344
345 22 Dec 2011; Agostino Sarubbo <ago@g.o> qt-creator-2.3.1.ebuild:
346 Stable for AMD64, wrt bug #378753
347
348 20 Nov 2011; Markos Chandras <hwoarang@g.o> qt-creator-2.4.0_rc.ebuild:
349 Fix compilation failure for rss useflag
350
351 19 Nov 2011; Markos Chandras <hwoarang@g.o>
352 -qt-creator-2.2.0-r1.ebuild, -qt-creator-2.3.0-r2.ebuild,
353 -qt-creator-2.3.0.ebuild:
354 remove old ebuilds
355
356 *qt-creator-2.4.0_rc (19 Nov 2011)
357
358 19 Nov 2011; Markos Chandras <hwoarang@g.o>
359 +qt-creator-2.4.0_rc.ebuild:
360 version bump. EAPI4, code fixes from qting-edge overlay
361
362 20 Oct 2011; Markos Chandras <hwoarang@g.o> qt-creator-2.1.0.ebuild,
363 qt-creator-2.2.0-r1.ebuild, qt-creator-2.2.1.ebuild, qt-creator-2.3.0.ebuild,
364 qt-creator-2.3.0-r2.ebuild, qt-creator-2.3.1.ebuild:
365 Depend on dev-devel/gdb[python]. Bug #387873
366
367 08 Oct 2011; Markos Chandras <hwoarang@g.o>
368 -qt-creator-1.3.1-r1.ebuild, -qt-creator-1.3.1-r2.ebuild:
369 Remove old vulnerable versions per bug #386361
370
371 *qt-creator-2.3.1 (01 Oct 2011)
372
373 01 Oct 2011; Markos Chandras <hwoarang@g.o> +qt-creator-2.3.1.ebuild:
374 Version bump
375
376 *qt-creator-2.3.0-r2 (29 Sep 2011)
377
378 29 Sep 2011; Brian Harring <ferringb@g.o> -qt-creator-2.3.0-r1.ebuild,
379 +qt-creator-2.3.0-r2.ebuild:
380 fix broken DEPEND assignment, restoring DEPEND metadata and removing
381 it trying to execute the contents of ${CDEPEND}
382
383 24 Sep 2011; Markos Chandras <hwoarang@g.o>
384 qt-creator-2.3.0-r1.ebuild:
385 Refactor dependency variables and introduce pkgconfig dependency
386
387 *qt-creator-2.3.0-r1 (21 Sep 2011)
388
389 21 Sep 2011; Markos Chandras <hwoarang@g.o>
390 +qt-creator-2.3.0-r1.ebuild, metadata.xml:
391 Introduce botan-bundled useflag as a temp fix for bug #383033
392
393 *qt-creator-2.3.0 (08 Sep 2011)
394
395 08 Sep 2011; Markos Chandras <hwoarang@g.o>
396 -qt-creator-2.3.0_beta.ebuild, +qt-creator-2.3.0.ebuild:
397 Version bump. Remove old
398
399 21 Aug 2011; Pawel Hajdan jr <phajdan.jr@g.o> qt-creator-2.2.1.ebuild:
400 x86 stable wrt bug #378753
401
402 20 Aug 2011; Markos Chandras <hwoarang@g.o> qt-creator-2.1.0.ebuild,
403 qt-creator-2.2.0-r1.ebuild, qt-creator-2.2.1.ebuild:
404 Add app-arch/unzip dependency per bug #379677
405
406 17 Aug 2011; Markos Chandras <hwoarang@g.o> qt-creator-2.2.1.ebuild:
407 Stable on amd64 wrt bug #378753
408
409 *qt-creator-2.3.0_beta (18 Jul 2011)
410
411 18 Jul 2011; Markos Chandras <hwoarang@g.o>
412 +qt-creator-2.3.0_beta.ebuild:
413 Bump to 2.3.0 beta
414
415 13 Jul 2011; Kacper Kowalik <xarthisius@g.o> qt-creator-2.1.0.ebuild:
416 ppc64 stable wrt #354033
417
418 08 Jul 2011; Samuli Suominen <ssuominen@g.o>
419 qt-creator-1.3.1-r1.ebuild, qt-creator-1.3.1-r2.ebuild:
420 Convert from "hasq" to "has".
421
422 *qt-creator-2.2.1 (23 Jun 2011)
423
424 23 Jun 2011; Markos Chandras <hwoarang@g.o> +qt-creator-2.2.1.ebuild:
425 Version bump to 2.2.1 bugfix release
426
427 01 Jun 2011; Brent Baude <ranger@g.o> qt-creator-2.1.0.ebuild:
428 Marking qt-creator-2.1.0 ppc stable for bug 354033
429
430 *qt-creator-2.2.0-r1 (17 May 2011)
431
432 17 May 2011; Markos Chandras <hwoarang@g.o> -qt-creator-2.2.0.ebuild,
433 +qt-creator-2.2.0-r1.ebuild:
434 Install missing qtpromaker and qmlpuppet binaries. Bug #367383
435
436 13 May 2011; Markos Chandras <hwoarang@g.o> qt-creator-2.1.0.ebuild,
437 qt-creator-2.2.0.ebuild:
438 Add qt-test dependency. Bug #365901
439
440 *qt-creator-2.2.0 (10 May 2011)
441
442 10 May 2011; Markos Chandras <hwoarang@g.o>
443 -qt-creator-2.2.0_rc1.ebuild, +qt-creator-2.2.0.ebuild:
444 Version bump. Remove RC release
445
446 09 May 2011; Markos Chandras <hwoarang@g.o> qt-creator-2.1.0.ebuild:
447 Stable on amd64 wrt bug #354033
448
449 09 May 2011; Thomas Kahle <tomka@g.o> qt-creator-2.1.0.ebuild:
450 x86 stable per bug 354033
451
452 28 Apr 2011; Tomáš Chvátal <scarabeus@g.o>
453 qt-creator-2.2.0_rc1.ebuild:
454 Add more linguas that are availible in the tarball.
455
456 *qt-creator-2.2.0_rc1 (26 Apr 2011)
457
458 26 Apr 2011; Markos Chandras <hwoarang@g.o>
459 -qt-creator-2.2.0_beta.ebuild, +qt-creator-2.2.0_rc1.ebuild:
460 Bump to RC release. Remove beta ebuild
461
462 *qt-creator-1.3.1-r2 (04 Apr 2011)
463
464 04 Apr 2011; Markos Chandras <hwoarang@g.o> -qt-creator-1.2.1.ebuild,
465 +qt-creator-1.3.1-r2.ebuild, +files/qt-creator-1.3.1-qt47.patch:
466 Add patch to make qt-creator-1.3.1 compile against Qt-4.7. Thanks to David
467 Flogeras <dflogeras2@×××××.com>. Bug #361813
468
469 02 Apr 2011; Markos Chandras <hwoarang@g.o>
470 qt-creator-2.2.0_beta.ebuild, metadata.xml:
471 Fix qml plugin support. Remove designer plugin. Bug #360451
472
473 26 Mar 2011; Andreas K. Huettel <dilfridge@g.o>
474 qt-creator-1.2.1.ebuild, qt-creator-1.3.1-r1.ebuild:
475 Adapt phonon dependency for package move
476
477 *qt-creator-2.2.0_beta (25 Mar 2011)
478
479 25 Mar 2011; Markos Chandras <hwoarang@g.o>
480 +qt-creator-2.2.0_beta.ebuild:
481 Version bump to 2.2.0 beta
482
483 10 Mar 2011; Markos Chandras <hwoarang@g.o> -qt-creator-2.0.1.ebuild,
484 -qt-creator-2.1.0_rc1.ebuild, -qt-creator-2.1.0_rc1-r1.ebuild:
485 Remove old ebuilds
486
487 *qt-creator-2.1.0 (01 Mar 2011)
488
489 01 Mar 2011; Markos Chandras <hwoarang@g.o> +qt-creator-2.1.0.ebuild:
490 Version bump to 2.1.0
491
492 *qt-creator-2.1.0_rc1-r1 (11 Feb 2011)
493
494 11 Feb 2011; Markos Chandras <hwoarang@g.o>
495 +qt-creator-2.1.0_rc1-r1.ebuild,
496 +files/qt-creator-2.1.0_rc1-qml-plugin.patch:
497 Apply patch to fix missing qml components. Bug #347987. Thanks to Bas
498 Nedermeijer <bas@×××××.nl>
499
500 *qt-creator-2.1.0_rc1 (25 Nov 2010)
501
502 25 Nov 2010; Markos Chandras <hwoarang@g.o>
503 -qt-creator-2.1.0_beta2-r1.ebuild, +qt-creator-2.1.0_rc1.ebuild:
504 Version bump. Remove beta package
505
506 *qt-creator-2.1.0_beta2-r1 (17 Nov 2010)
507
508 17 Nov 2010; Markos Chandras <hwoarang@g.o>
509 -qt-creator-2.1.0_beta2.ebuild, +qt-creator-2.1.0_beta2-r1.ebuild:
510 Revbump to fix broken package when building with -qml. At this point, qml
511 is by far the safest choice in order to have a fully working qt-creator.
512 Building with -qml is ideal for pure C++ development yet many qt-creator
513 plugins will be missing because of this. Bug #345757
514
515 15 Nov 2010; Markos Chandras <hwoarang@g.o>
516 qt-creator-2.0.1.ebuild, qt-creator-2.1.0_beta2.ebuild, metadata.xml:
517 Refactor dependencies. Drop qt3support entirely and kde/phonon
518 dependencies as well. Bug #345443
519
520 15 Nov 2010; Markos Chandras <hwoarang@g.o>
521 qt-creator-2.0.1.ebuild, qt-creator-2.1.0_beta2.ebuild, metadata.xml:
522 Add new qt3support useflag per user request. Bug #345443
523
524 11 Nov 2010; Markos Chandras <hwoarang@g.o>
525 qt-creator-2.1.0_beta2.ebuild:
526 Disable qt4designer plugins when qml is disabled. Bug #344957. Force qml
527 use flag as well
528
529 *qt-creator-2.1.0_beta2 (10 Nov 2010)
530
531 10 Nov 2010; Markos Chandras <hwoarang@g.o>
532 qt-creator-2.0.1.ebuild, -qt-creator-2.1.0_beta1.ebuild,
533 +qt-creator-2.1.0_beta2.ebuild:
534 Bump to beta2. Remove beta1. Apply stricter dependencies to 2.* ebuilds
535
536 *qt-creator-2.1.0_beta1 (08 Nov 2010)
537
538 08 Nov 2010; Markos Chandras <hwoarang@g.o>
539 +qt-creator-2.1.0_beta1.ebuild:
540 Version bump to beta1. Bug #341587
541
542 01 Nov 2010; Samuli Suominen <ssuominen@g.o>
543 qt-creator-2.0.1.ebuild:
544 Keyword ~ppc64 wrt #338835.
545
546 20 Oct 2010; Brent Baude <ranger@g.o> qt-creator-2.0.1.ebuild:
547 Marking qt-creator-2.0.1 ~ppc for bug 338835
548
549 *qt-creator-2.0.1 (26 Sep 2010)
550
551 26 Sep 2010; Markos Chandras <hwoarang@g.o>
552 +qt-creator-2.0.1.ebuild:
553 Versionb bump. Keywords dropped for some arches
554
555 20 Aug 2010; Samuli Suominen <ssuominen@g.o>
556 qt-creator-1.3.1-r1.ebuild:
557 ppc64 stable wrt #325041
558
559 01 Aug 2010; Markos Chandras <hwoarang@g.o>
560 qt-creator-1.2.1.ebuild, qt-creator-1.3.1-r1.ebuild:
561 Remove dbus dependency from qt-gui. Bug #330385
562
563 18 Jul 2010; <nixnut@g.o> qt-creator-1.3.1-r1.ebuild:
564 ppc stable #325041
565
566 11 Jul 2010; Christian Faulhammer <fauli@g.o>
567 qt-creator-1.3.1-r1.ebuild:
568 stable x86, bug 325041
569
570 08 Jul 2010; Markos Chandras <hwoarang@g.o>
571 qt-creator-1.3.1-r1.ebuild:
572 Disable qt4projectmanager when designer use flag is disabled. Fixes bug
573 #327477
574
575 24 Jun 2010; Pacho Ramos <pacho@g.o> qt-creator-1.3.1-r1.ebuild:
576 stable amd64, bug 325041
577
578 22 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
579 qt-creator-1.2.1.ebuild, qt-creator-1.3.1-r1.ebuild:
580 dev-util/subversion renamed to dev-vcs/subversion.
581
582 *qt-creator-1.3.1-r1 (22 Jun 2010)
583
584 22 Jun 2010; Markos Chandras <hwoarang@g.o>
585 -qt-creator-1.3.1.ebuild, +qt-creator-1.3.1-r1.ebuild:
586 Refactor translations logic. Drop qml use flag
587
588 19 Jun 2010; Jonathan Callen <abcd@g.o> qt-creator-1.3.1.ebuild:
589 Moving dev-util/cvs* to dev-vcs/cvs*
590
591 06 Apr 2010; Dror Levin <spatz@g.o> qt-creator-1.2.1.ebuild,
592 qt-creator-1.3.1.ebuild:
593 Fix homepage.
594
595 17 Mar 2010; Sebastian Pipping <sping@g.o> qt-creator-1.2.1.ebuild,
596 qt-creator-1.3.1.ebuild:
597 Propagate move of dev-util/git to dev-vcs/git
598
599 07 Mar 2010; Markos Chandras <hwoarang@g.o>
600 -qt-creator-1.3.0.ebuild, qt-creator-1.3.1.ebuild:
601 Disable rss news on request (bug #302978). Drop old ebuild
602
603 03 Mar 2010; Markos Chandras <hwoarang@g.o>
604 qt-creator-1.3.0.ebuild:
605 Remove debugger use flag from the remaining ebuilds
606
607 02 Mar 2010; Markos Chandras <hwoarang@g.o>
608 qt-creator-1.3.1.ebuild:
609 Remove obsolete debugger use dependency
610
611 28 Feb 2010; Markos Chandras <hwoarang@g.o>
612 qt-creator-1.3.0.ebuild, qt-creator-1.3.1.ebuild:
613 Remove debugger plugin use flag wrt bug #298852
614
615 23 Jan 2010; Fabian Groffen <grobian@g.o> qt-creator-1.3.1.ebuild:
616 Marked ~amd64-linux, fix for Prefix, bug #300037
617
618 21 Jan 2010; Markos Chandras <hwoarang@g.o>
619 qt-creator-1.3.1.ebuild:
620 Fix typo on src_prepare function
621
622 20 Jan 2010; Markos Chandras <hwoarang@g.o>
623 qt-creator-1.3.1.ebuild:
624 Fix qt-declarative dependency version. Thanks to Mr_Bones
625
626 *qt-creator-1.3.1 (19 Jan 2010)
627
628 19 Jan 2010; Markos Chandras <hwoarang@g.o>
629 +qt-creator-1.3.1.ebuild, metadata.xml:
630 Version bump. Add qml use flag for Qt Declarative module
631
632 11 Jan 2010; Brent Baude <ranger@g.o> qt-creator-1.2.1.ebuild:
633 Marking qt-creator-1.2.1 ppc64 for bug 281662
634
635 06 Jan 2010; <hwoarang@g.o> qt-creator-1.3.0.ebuild:
636 Migrate to qt4-r2 eclass
637
638 16 Dec 2009; Markos Chandras <hwoarang@g.o>
639 -qt-creator-1.1.0.ebuild:
640 Remove old ebuild
641
642 01 Dec 2009; Dominik Kapusta <ayoy@g.o>
643 -files/docs_gen-1.2.90.patch, qt-creator-1.3.0.ebuild:
644 Switch to .tar.gz from .zip plus remove obsolete patch
645
646 01 Dec 2009; Dominik Kapusta <ayoy@g.o> -qt-creator-1.2.90.ebuild,
647 qt-creator-1.3.0.ebuild:
648 Restoring ~ppc and ~ppc64 keywords and masking examples in powerpc profile
649
650 *qt-creator-1.3.0 (01 Dec 2009)
651
652 01 Dec 2009; <hwoarang@g.o> +qt-creator-1.3.0.ebuild:
653 Bump to 1.3.0 . Drop ~ppc and ~ppc64 keywords since qt-demo is not marked ~ach for those arches
654
655 09 Nov 2009; Jonathan Callen <abcd@g.o>
656 -files/add_missing_plugins.patch:
657 Drop unneeded patch
658
659 03 Oct 2009; Markos Chandras <hwoarang@g.o>
660 qt-creator-1.2.90.ebuild:
661 Fix docs_gen patch line ( bug 287549 )
662
663 *qt-creator-1.2.90 (03 Oct 2009)
664
665 03 Oct 2009; Markos Chandras <hwoarang@g.o>
666 +qt-creator-1.2.90.ebuild, +files/docs_gen-1.2.90.patch:
667 Version bump to 1.2.90
668
669 27 Sep 2009; nixnut <nixnut@g.o> qt-creator-1.2.1.ebuild:
670 ppc stable #281662
671
672 06 Sep 2009; Markus Meier <maekke@g.o> qt-creator-1.2.1.ebuild:
673 amd64/x86 stable, bug #281662
674
675 12 Aug 2009; Alex Alexander <wired@g.o> qt-creator-1.1.0.ebuild,
676 qt-creator-1.2.1.ebuild:
677 added app-arch/unzip to DEPEND, thanks to d3vion
678
679 09 Aug 2009; nixnut <nixnut@g.o> qt-creator-1.1.0.ebuild:
680 ppc stable #275505
681
682 26 Jul 2009; Marcus D. Hanwell <cryos@g.o> qt-creator-1.1.0.ebuild:
683 Stable on amd64, bug 275505.
684
685 17 Jul 2009; Markos Chandras <hwoarang@g.o>
686 -qt-creator-1.2.0-r2.ebuild:
687 Remove old buggy package
688
689 *qt-creator-1.2.1 (14 Jul 2009)
690
691 14 Jul 2009; Markos Chandras <hwoarang@g.o>
692 +qt-creator-1.2.1.ebuild:
693 Version bump
694
695 30 Jun 2009; Markos Chandras <hwoarang@g.o>
696 -qt-creator-1.2.0.ebuild, -qt-creator-1.2.0-r1.ebuild:
697 Remove old ebuilds
698
699 30 Jun 2009; Christian Faulhammer <fauli@g.o>
700 qt-creator-1.1.0.ebuild:
701 stable x86, bug 275505
702
703 *qt-creator-1.2.0-r2 (29 Jun 2009)
704
705 29 Jun 2009; Markos Chandras <hwoarang@g.o>
706 +qt-creator-1.2.0-r2.ebuild:
707 Rename binary file ( bug 275859 )
708
709 *qt-creator-1.2.0-r1 (28 Jun 2009)
710
711 28 Jun 2009; Markos Chandras <hwoarang@g.o>
712 +qt-creator-1.2.0-r1.ebuild:
713 remove broken sed, fix multilib support using a more clean way. Thanks to
714 Davide Pesavento for all the help
715
716 *qt-creator-1.2.0 (28 Jun 2009)
717
718 28 Jun 2009; Markos Chandras <hwoarang@g.o>
719 +qt-creator-1.2.0.ebuild, metadata.xml:
720 Version bump, ebuild clean up, update manifest
721
722 23 Jun 2009; Markos Chandras <hwoarang@g.o>
723 qt-creator-1.1.0.ebuild:
724 Fix phonon dependencies. Bug 270188
725
726 07 Jun 2009; Markos Chandras <hwoarang@g.o>
727 -qt-creator-1.0.0.ebuild, -qt-creator-1.0.0-r1.ebuild:
728 Remove old ebuilds
729
730 03 Jun 2009; Ben de Groot <yngwin@g.o> qt-creator-1.1.0.ebuild,
731 metadata.xml:
732 Add kde useflag, for selecting media-sound/phonon, bug 270188
733
734 23 Apr 2009; Markos Chandras <hwoarang@g.o> qt-creator-1.1.0:
735 Fix proper library installation, Unmasking
736
737 23 Apr 2009; Markos Chandras <hwoarang@g.o> qt-creator-1.1.0:
738 Updating manifest because upstream changed source package.
739
740 *qt-creator-1.1.0 (23 Apr 2009)
741
742 23 Apr 2009; Markos Chandras <hwoarang@g.o>
743 +qt-creator-1.1.0.ebuild:
744 Bumping to 1.1.0
745
746 01 Apr 2009; Joseph Jezak <josejx@g.o> qt-creator-1.0.0-r1.ebuild:
747 Marked ~ppc/~ppc64 for bug #263049.
748
749 *qt-creator-1.0.0-r1 (24 Mar 2009)
750
751 24 Mar 2009; Markos Chandras <hwoarang@g.o>
752 +files/add_missing_plugins.patch, -files/fix_headers_git.patch,
753 +qt-creator-1.0.0-r1.ebuild:
754 Introduce use flags for qt-creator plugins. Thanks to Livid
755 <g.livid@×××××.com> for his ebuilds,patches and effort. Dropping old
756 obsolete patch
757
758 12 Mar 2009; Markos Chandras <hwoarang@g.o> qt-creator-1.0.0:
759 Updating homepage
760
761 09 Mar 2009; Markos Chandras <hwoarang@g.o> qt-creator-1.0.0:
762 Adding doc use flag for proper doc installation
763
764 08 Mar 2009; Markos Chandras <hwoarang@g.o>
765 -qt-creator-0.9.2_rc1.ebuild:
766 Removing old
767
768 07 Mar 2009; Markos Chandras <hwoarang@g.o> qt-creator-1.0.0:
769 Fixing multilib-strict issue ( bug #261448 )
770
771 *qt-creator-1.0.0 (04 Mar 2009)
772
773 04 Mar 2009; Markos Chandras <hwoarang@g.o>
774 +qt-creator-1.0.0.ebuild:
775 Bumping qt-creator to 1.0.0 version
776
777 25 Feb 2009; Markos Chandras <hwoarang@g.o> qt-creator-0.9.2_rc1:
778 Removing pre-stripped workarounds since the fix was added on qt4.eclass
779
780 16 Feb 2009; Markos Chandras <hwoarang@g.o>
781 qt-creator-0.9.2_rc1.ebuild:
782 Fixing pre-stripped files
783
784 *qt-creator-0.9.2_rc1 (11 Feb 2009)
785
786 11 Feb 2009; Markos Chandras <hwoarang@g.o> +files/docs_gen.patch,
787 +files/fix_headers_git.patch, +metadata.xml, +qt-creator-0.9.2_rc1.ebuild:
788 Initial import of qt-creator package
789
790
791
792 1.1 dev-qt/qt-creator/qt-creator-2.5.2.ebuild
793
794 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.5.2.ebuild?rev=1.1&view=markup
795 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.5.2.ebuild?rev=1.1&content-type=text/plain
796
797 Index: qt-creator-2.5.2.ebuild
798 ===================================================================
799 # Copyright 1999-2012 Gentoo Foundation
800 # Distributed under the terms of the GNU General Public License v2
801 # $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.5.2.ebuild,v 1.1 2013/03/02 15:24:29 yngwin Exp $
802
803 EAPI=4
804
805 LANGS="cs de es fr hu it ja pl ru sl uk zh_CN"
806
807 inherit multilib eutils flag-o-matic qt4-r2
808
809 DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
810 HOMEPAGE="http://qt.nokia.com/products/developer-tools"
811 LICENSE="LGPL-2.1"
812
813 if [[ ${PV} == *9999* ]]; then
814 inherit git-2
815 EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
816 https://git.gitorious.org/${PN}/${PN}.git"
817 else
818 MY_P=${PN}-${PV/_/-}-src
819 SRC_URI="http://get.qt.nokia.com/qtcreator/${MY_P}.tar.gz"
820 S=${WORKDIR}/${MY_P}
821 fi
822
823 SLOT="0"
824 KEYWORDS="amd64 ppc ppc64 x86"
825
826 QTC_PLUGINS=(autotools:autotoolsprojectmanager bazaar cmake:cmakeprojectmanager
827 cvs fakevim git madde mercurial perforce subversion valgrind)
828 IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}"
829
830 QT_PV="4.7.4:4"
831
832 CDEPEND="
833 >=dev-qt/qthelp-${QT_PV}[doc?]
834 >=dev-qt/qtcore-${QT_PV}[private-headers(+),ssl]
835 >=dev-qt/qtdeclarative-${QT_PV}[private-headers(+)]
836 >=dev-qt/qtgui-${QT_PV}[private-headers(+)]
837 >=dev-qt/qtscript-${QT_PV}[private-headers(+)]
838 >=dev-qt/qtsql-${QT_PV}
839 >=dev-qt/qtsvg-${QT_PV}
840 debug? ( >=dev-qt/qttest-${QT_PV} )
841 !botan-bundled? ( =dev-libs/botan-1.8* )
842 "
843 DEPEND="${CDEPEND}
844 !botan-bundled? ( virtual/pkgconfig )
845 "
846 RDEPEND="${CDEPEND}
847 >=sys-devel/gdb-7.2[python]
848 examples? ( >=dev-qt/qtdemo-${QT_PV} )
849 "
850 PDEPEND="
851 autotools? ( sys-devel/autoconf )
852 bazaar? ( dev-vcs/bzr )
853 cmake? ( dev-util/cmake )
854 cvs? ( dev-vcs/cvs )
855 git? ( dev-vcs/git )
856 mercurial? ( dev-vcs/mercurial )
857 subversion? ( dev-vcs/subversion )
858 valgrind? ( dev-util/valgrind )
859 "
860
861 src_prepare() {
862 qt4-r2_src_prepare
863
864 # disable unwanted plugins
865 for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
866 if ! use ${plugin%:*}; then
867 einfo "Disabling ${plugin%:*} plugin"
868 sed -i -e "/^[[:space:]]\+plugin_${plugin#*:}/d" src/plugins/plugins.pro \
869 || die "failed to disable ${plugin} plugin"
870 fi
871 done
872
873 if use perforce; then
874 echo
875 ewarn "You have enabled the perforce plugin."
876 ewarn "In order to use it, you need to manually download the perforce client from"
877 ewarn " http://www.perforce.com/perforce/downloads/index.html"
878 echo
879 fi
880
881 # fix translations
882 sed -i -e "/^LANGUAGES/s:=.*:= ${LANGS}:" \
883 share/qtcreator/translations/translations.pro || die
884
885 if ! use botan-bundled; then
886 # identify system botan and pkg-config file
887 local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2)
888 local lib_botan=$(pkg-config --libs botan-${botan_version})
889 einfo "Major version of system's botan library to be used: ${botan_version}"
890
891 # drop bundled libBotan. Bug #383033
892 rm -rf "${S}"/src/libs/3rdparty/botan || die
893 # remove references to bundled botan
894 sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die
895 for x in testrunner parsertests modeldemo; do
896 sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die
897 done
898 sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die
899 sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die
900 # link to system botan
901 sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die
902 sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die
903 # append botan refs to compiler flags
904 append-flags $(pkg-config --cflags --libs botan-${botan_version})
905 fi
906 }
907
908 src_configure() {
909 eqmake4 qtcreator.pro \
910 IDE_LIBRARY_BASENAME="$(get_libdir)" \
911 IDE_PACKAGE_MODE=true
912 }
913
914 src_compile() {
915 emake
916 use doc && emake docs
917 }
918
919 src_install() {
920 emake INSTALL_ROOT="${ED}usr" install
921
922 # Install documentation
923 if use doc; then
924 insinto /usr/share/doc/${PF}
925 doins share/doc/qtcreator/qtcreator{,-dev}.qch
926 docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
927 fi
928
929 # Install icon & desktop file
930 doicon src/plugins/coreplugin/images/logo/128/qtcreator.png
931 make_desktop_entry qtcreator 'Qt Creator' qtcreator 'Qt;Development;IDE'
932
933 # Remove unneeded translations
934 local lang
935 for lang in ${LANGS}; do
936 if ! has ${lang} ${LINGUAS}; then
937 rm "${ED}"usr/share/qtcreator/translations/qtcreator_${lang}.qm \
938 || eqawarn "Failed to remove ${lang} translation"
939 fi
940 done
941 }
942
943
944
945 1.1 dev-qt/qt-creator/metadata.xml
946
947 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/metadata.xml?rev=1.1&view=markup
948 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/metadata.xml?rev=1.1&content-type=text/plain
949
950 Index: metadata.xml
951 ===================================================================
952 <?xml version="1.0" encoding="UTF-8"?>
953 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
954 <pkgmetadata>
955 <herd>qt</herd>
956 <maintainer>
957 <email>hwoarang@g.o</email>
958 <name>Markos Chandras</name>
959 </maintainer>
960 <maintainer>
961 <email>pesa@g.o</email>
962 <name>Davide Pesavento</name>
963 </maintainer>
964 <use>
965 <flag name="android">Build Android plugin</flag>
966 <flag name="autotools">Enable autotools project manager plugin</flag>
967 <flag name="bazaar">Add support for <pkg>dev-vcs/bzr</pkg> version control system</flag>
968 <flag name="botan-bundled">Use the bundled copy of <pkg>dev-libs/botan</pkg></flag>
969 <flag name="clearcase">Add support for IBM ClearCase version control system (requires manual installation of ClearCase client)</flag>
970 <flag name="cmake">Enable cmake project manager plugin</flag>
971 <flag name="fakevim">Enable support for vim-like key bindings</flag>
972 <flag name="git">Add support for <pkg>dev-vcs/git</pkg> version control system</flag>
973 <flag name="madde">Enable integration with MADDE (Maemo Application Development and Debugging Environment)</flag>
974 <flag name="mercurial">Add support for <pkg>dev-vcs/mercurial</pkg> version control system</flag>
975 <flag name="perforce">Add support for Perforce version control system (requires manual installation of Perforce client)</flag>
976 <flag name="qnx">Build QNX/Blackberry plugin</flag>
977 <flag name="valgrind">Add support for memory debugging using <pkg>dev-util/valgrind</pkg></flag>
978 </use>
979 </pkgmetadata>
980
981
982
983 1.1 dev-qt/qt-creator/qt-creator-2.6.1.ebuild
984
985 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.6.1.ebuild?rev=1.1&view=markup
986 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.6.1.ebuild?rev=1.1&content-type=text/plain
987
988 Index: qt-creator-2.6.1.ebuild
989 ===================================================================
990 # Copyright 1999-2012 Gentoo Foundation
991 # Distributed under the terms of the GNU General Public License v2
992 # $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.6.1.ebuild,v 1.1 2013/03/02 15:24:29 yngwin Exp $
993
994 EAPI=4
995
996 PLOCALES="cs de fr hu ja pl ru sl zh_CN"
997
998 inherit eutils flag-o-matic l10n multilib qt4-r2
999
1000 DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
1001 HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
1002 LICENSE="LGPL-2.1"
1003
1004 if [[ ${PV} == *9999* ]]; then
1005 inherit git-2
1006 EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
1007 https://git.gitorious.org/${PN}/${PN}.git"
1008 else
1009 MY_PV=${PV/_/-}
1010 MY_P=${PN}-${MY_PV}-src
1011 SRC_URI="http://releases.qt-project.org/qtcreator/${MY_PV}/${MY_P}.tar.gz"
1012 S=${WORKDIR}/${MY_P}
1013 fi
1014
1015 SLOT="0"
1016 KEYWORDS="~amd64 ~x86"
1017
1018 QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar
1019 clearcase cmake:cmakeprojectmanager cvs fakevim git
1020 madde mercurial perforce qnx subversion valgrind)
1021 IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}"
1022
1023 # minimum Qt version required
1024 QT_PV="4.8.0:4"
1025
1026 CDEPEND="
1027 >=dev-qt/qthelp-${QT_PV}[doc?]
1028 >=dev-qt/qtcore-${QT_PV}[ssl]
1029 >=dev-qt/qtdeclarative-${QT_PV}
1030 >=dev-qt/qtgui-${QT_PV}
1031 >=dev-qt/qtscript-${QT_PV}
1032 >=dev-qt/qtsql-${QT_PV}
1033 >=dev-qt/qtsvg-${QT_PV}
1034 debug? ( >=dev-qt/qttest-${QT_PV} )
1035 !botan-bundled? ( >=dev-libs/botan-1.10.2 )
1036 "
1037 DEPEND="${CDEPEND}
1038 !botan-bundled? ( virtual/pkgconfig )
1039 "
1040 RDEPEND="${CDEPEND}
1041 >=sys-devel/gdb-7.2[python]
1042 examples? ( >=dev-qt/qtdemo-${QT_PV} )
1043 "
1044 PDEPEND="
1045 autotools? ( sys-devel/autoconf )
1046 bazaar? ( dev-vcs/bzr )
1047 cmake? ( dev-util/cmake )
1048 cvs? ( dev-vcs/cvs )
1049 git? ( dev-vcs/git )
1050 mercurial? ( dev-vcs/mercurial )
1051 subversion? ( dev-vcs/subversion )
1052 valgrind? ( dev-util/valgrind )
1053 "
1054
1055 src_prepare() {
1056 qt4-r2_src_prepare
1057
1058 # disable unwanted plugins
1059 for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
1060 if ! use ${plugin%:*}; then
1061 einfo "Disabling ${plugin%:*} plugin"
1062 sed -i -re "/(^|SUBDIRS\s+\+=)\s+plugin_${plugin#*:}\>/d" src/plugins/plugins.pro \
1063 || die "failed to disable ${plugin} plugin"
1064 fi
1065 done
1066
1067 # fix translations
1068 sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
1069 share/qtcreator/translations/translations.pro || die
1070
1071 if ! use botan-bundled; then
1072 # identify system botan and pkg-config file
1073 local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2)
1074 local lib_botan=$(pkg-config --libs botan-${botan_version})
1075 einfo "Major version of system's botan library to be used: ${botan_version}"
1076
1077 # drop bundled libBotan. Bug #383033
1078 rm -rf "${S}"/src/libs/3rdparty/botan || die
1079 # remove references to bundled botan
1080 sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die
1081 for x in testrunner parsertests modeldemo; do
1082 sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die
1083 done
1084 sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die
1085 sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die
1086 # link to system botan
1087 sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die
1088 sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die
1089 # append botan refs to compiler flags
1090 append-flags $(pkg-config --cflags --libs botan-${botan_version})
1091 fi
1092 }
1093
1094 src_configure() {
1095 eqmake4 qtcreator.pro \
1096 IDE_LIBRARY_BASENAME="$(get_libdir)" \
1097 IDE_PACKAGE_MODE=yes
1098 }
1099
1100 src_compile() {
1101 emake
1102 use doc && emake docs
1103 }
1104
1105 src_install() {
1106 emake INSTALL_ROOT="${ED}usr" install
1107
1108 dodoc dist/{changes-2.*,known-issues}
1109
1110 # Install documentation
1111 if use doc; then
1112 insinto /usr/share/doc/${PF}
1113 doins share/doc/qtcreator/qtcreator{,-dev}.qch
1114 docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
1115 fi
1116
1117 # Install desktop file
1118 make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
1119 }
1120
1121
1122
1123 1.1 dev-qt/qt-creator/qt-creator-2.7.0_beta.ebuild
1124
1125 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0_beta.ebuild?rev=1.1&view=markup
1126 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0_beta.ebuild?rev=1.1&content-type=text/plain
1127
1128 Index: qt-creator-2.7.0_beta.ebuild
1129 ===================================================================
1130 # Copyright 1999-2013 Gentoo Foundation
1131 # Distributed under the terms of the GNU General Public License v2
1132 # $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0_beta.ebuild,v 1.1 2013/03/02 15:24:29 yngwin Exp $
1133
1134 EAPI=4
1135
1136 PLOCALES="cs de fr hu ja pl ru sl zh_CN"
1137
1138 inherit eutils flag-o-matic l10n multilib qt4-r2
1139
1140 DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
1141 HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
1142 LICENSE="LGPL-2.1"
1143
1144 if [[ ${PV} == *9999* ]]; then
1145 inherit git-2
1146 EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
1147 https://git.gitorious.org/${PN}/${PN}.git"
1148 else
1149 MY_PV=${PV/_/-}
1150 MY_P=${PN}-${MY_PV}-src
1151 SRC_URI="http://releases.qt-project.org/qtcreator/${MY_PV}/${MY_P}.tar.gz"
1152 S=${WORKDIR}/${MY_P}
1153 fi
1154
1155 SLOT="0"
1156 KEYWORDS="~amd64 ~x86"
1157
1158 QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar
1159 clearcase cmake:cmakeprojectmanager cvs fakevim git
1160 madde mercurial perforce qnx subversion valgrind)
1161 IUSE="+botan-bundled debug doc examples test ${QTC_PLUGINS[@]%:*}"
1162
1163 # minimum Qt version required
1164 QT_PV="4.8.0:4"
1165
1166 CDEPEND="
1167 >=dev-qt/qthelp-${QT_PV}[doc?]
1168 >=dev-qt/qtcore-${QT_PV}[ssl]
1169 >=dev-qt/qtdeclarative-${QT_PV}
1170 >=dev-qt/qtgui-${QT_PV}
1171 >=dev-qt/qtscript-${QT_PV}
1172 >=dev-qt/qtsql-${QT_PV}
1173 >=dev-qt/qtsvg-${QT_PV}
1174 !botan-bundled? ( >=dev-libs/botan-1.10.2 )
1175 "
1176 DEPEND="${CDEPEND}
1177 !botan-bundled? ( virtual/pkgconfig )
1178 test? ( >=dev-qt/qttest-${QT_PV} )
1179 "
1180 RDEPEND="${CDEPEND}
1181 >=sys-devel/gdb-7.2[python]
1182 examples? ( >=dev-qt/qtdemo-${QT_PV} )
1183 "
1184 PDEPEND="
1185 autotools? ( sys-devel/autoconf )
1186 bazaar? ( dev-vcs/bzr )
1187 cmake? ( dev-util/cmake )
1188 cvs? ( dev-vcs/cvs )
1189 git? ( dev-vcs/git )
1190 mercurial? ( dev-vcs/mercurial )
1191 subversion? ( dev-vcs/subversion )
1192 valgrind? ( dev-util/valgrind )
1193 "
1194
1195 src_prepare() {
1196 qt4-r2_src_prepare
1197
1198 # disable unwanted plugins
1199 for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
1200 if ! use ${plugin%:*}; then
1201 einfo "Disabling ${plugin%:*} plugin"
1202 sed -i -re "/(^|SUBDIRS\s+\+=)\s+plugin_${plugin#*:}\>/d" src/plugins/plugins.pro \
1203 || die "failed to disable ${plugin} plugin"
1204 fi
1205 done
1206
1207 # fix translations
1208 sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
1209 share/qtcreator/translations/translations.pro || die
1210
1211 if ! use botan-bundled; then
1212 # identify system botan and pkg-config file
1213 local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2)
1214 local lib_botan=$(pkg-config --libs botan-${botan_version})
1215 einfo "Major version of system's botan library to be used: ${botan_version}"
1216
1217 # drop bundled libBotan. Bug #383033
1218 rm -rf "${S}"/src/libs/3rdparty/botan || die
1219 # remove references to bundled botan
1220 sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die
1221 for x in testrunner parsertests modeldemo; do
1222 sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die
1223 done
1224 sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die
1225 sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die
1226 # link to system botan
1227 sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die
1228 sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die
1229 # append botan refs to compiler flags
1230 append-flags $(pkg-config --cflags --libs botan-${botan_version})
1231 fi
1232 }
1233
1234 src_configure() {
1235 eqmake4 qtcreator.pro \
1236 IDE_LIBRARY_BASENAME="$(get_libdir)" \
1237 IDE_PACKAGE_MODE=1 \
1238 TEST=$(use test && echo 1 || echo 0)
1239 }
1240
1241 src_compile() {
1242 emake
1243 use doc && emake docs
1244 }
1245
1246 src_test() {
1247 echo ">>> Test phase [QTest]: ${CATEGORY}/${PF}"
1248 cd tests/auto || die
1249 eqmake4 IDE_LIBRARY_BASENAME="$(get_libdir)"
1250 emake check
1251 }
1252
1253 src_install() {
1254 emake INSTALL_ROOT="${ED}usr" install
1255
1256 dodoc dist/{changes-2.*,known-issues}
1257
1258 # Install documentation
1259 if use doc; then
1260 insinto /usr/share/doc/${PF}
1261 doins share/doc/qtcreator/qtcreator{,-dev}.qch
1262 docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
1263 fi
1264
1265 # Install desktop file
1266 make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
1267 }