Gentoo Archives: gentoo-commits

From: Markos Chandras <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: x11-libs/qt-opengl/, x11-libs/qt-script/, x11-libs/qt-qt3support/, ...
Date: Sat, 04 Feb 2012 09:14:17
Message-Id: a4f70ce98520b4b2c3fd9adb3e1dcd8ef40951b8.hwoarang@gentoo
1 commit: a4f70ce98520b4b2c3fd9adb3e1dcd8ef40951b8
2 Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 4 09:13:35 2012 +0000
4 Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 4 09:13:35 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=a4f70ce9
7
8 qt-*-4.7.9999: Removed from tree. Please upgrade to 4.8.9999
9
10 ---
11 profiles/package.mask | 21 ---
12 x11-libs/qt-assistant/qt-assistant-4.7.9999.ebuild | 93 ------------
13 x11-libs/qt-core/qt-core-4.7.9999.ebuild | 156 --------------------
14 x11-libs/qt-dbus/qt-dbus-4.7.9999.ebuild | 39 -----
15 .../qt-declarative/qt-declarative-4.7.9999.ebuild | 54 -------
16 x11-libs/qt-demo/qt-demo-4.7.9999.ebuild | 51 -------
17 x11-libs/qt-gui/qt-gui-4.7.9999.ebuild | 155 -------------------
18 .../qt-multimedia/qt-multimedia-4.7.9999.ebuild | 47 ------
19 x11-libs/qt-opengl/qt-opengl-4.7.9999.ebuild | 48 ------
20 x11-libs/qt-openvg/Manifest | 2 +-
21 x11-libs/qt-phonon/qt-phonon-4.7.9999.ebuild | 39 -----
22 .../qt-qt3support/qt-qt3support-4.7.9999.ebuild | 40 -----
23 x11-libs/qt-script/qt-script-4.7.9999.ebuild | 45 ------
24 x11-libs/qt-simulator/qt-simulator-4.7.9999.ebuild | 87 -----------
25 x11-libs/qt-sql/qt-sql-4.7.9999.ebuild | 71 ---------
26 x11-libs/qt-svg/qt-svg-4.7.9999.ebuild | 48 ------
27 x11-libs/qt-test/qt-test-4.7.9999.ebuild | 34 -----
28 x11-libs/qt-webkit/qt-webkit-4.7.9999.ebuild | 52 -------
29 .../qt-xmlpatterns/qt-xmlpatterns-4.7.9999.ebuild | 36 -----
30 19 files changed, 1 insertions(+), 1117 deletions(-)
31
32 diff --git a/profiles/package.mask b/profiles/package.mask
33 index 08d7840..1a2ecf4 100644
34 --- a/profiles/package.mask
35 +++ b/profiles/package.mask
36 @@ -2,27 +2,6 @@
37 # Add your name and the date, as well as an explanation for the mask
38 # Make sure the atoms you add are valid!
39
40 -# Markos Chandras <hwoarang@g.o> (28 Jan 2012)
41 -# 4.7.9999 ebuilds are outdated and not supported anymore
42 -# Please upgrade to 4.8.9999 or 4.99999
43 -# 4.7.9999 ebuild will be removed in 10 days
44 -~x11-libs/qt-assistant-4.7.9999
45 -~x11-libs/qt-core-4.7.9999
46 -~x11-libs/qt-declarative-4.7.9999
47 -~x11-libs/qt-dbus-4.7.9999
48 -~x11-libs/qt-demo-4.7.9999
49 -~x11-libs/qt-gui-4.7.9999
50 -~x11-libs/qt-multimedia-4.7.9999
51 -~x11-libs/qt-opengl-4.7.9999
52 -~x11-libs/qt-phonon-4.7.9999
53 -~x11-libs/qt-qt3support-4.7.9999
54 -~x11-libs/qt-script-4.7.9999
55 -~x11-libs/qt-sql-4.7.9999
56 -~x11-libs/qt-svg-4.7.9999
57 -~x11-libs/qt-test-4.7.9999
58 -~x11-libs/qt-webkit-4.7.9999
59 -~x11-libs/qt-xmlpatterns-4.7.9999
60 -
61 # Markos Chandras <hwoarang@g.o> (31 Dec 2011)
62 # Masking latest releases
63 =dev-python/sip-4.13.1_pre*
64
65 diff --git a/x11-libs/qt-assistant/qt-assistant-4.7.9999.ebuild b/x11-libs/qt-assistant/qt-assistant-4.7.9999.ebuild
66 deleted file mode 100644
67 index 3a64092..0000000
68 --- a/x11-libs/qt-assistant/qt-assistant-4.7.9999.ebuild
69 +++ /dev/null
70 @@ -1,93 +0,0 @@
71 -# Copyright 1999-2010 Gentoo Foundation
72 -# Distributed under the terms of the GNU General Public License v2
73 -# $Header: $
74 -
75 -EAPI="3"
76 -inherit qt4-build-edge
77 -
78 -DESCRIPTION="The assistant help module for the Qt toolkit"
79 -SLOT="4"
80 -KEYWORDS=""
81 -IUSE="doc +glib qt3support trace"
82 -
83 -DEPEND="~x11-libs/qt-gui-${PV}[stable-branch=,glib=,trace?,qt3support=]
84 - ~x11-libs/qt-sql-${PV}[sqlite,stable-branch=,qt3support=]
85 - ~x11-libs/qt-webkit-${PV}[stable-branch=]
86 - ~x11-libs/qt-declarative-${PV}[stable-branch=,qt3support=]"
87 -RDEPEND="${DEPEND}"
88 -
89 -# Pixeltool isn't really assistant related, but it relies on
90 -# the assistant libraries. doc/qch/
91 -QT4_TARGET_DIRECTORIES="
92 - tools/assistant
93 - tools/pixeltool
94 - tools/qdoc3"
95 -QT4_EXTRACT_DIRECTORIES="
96 - tools/
97 - demos/
98 - examples/
99 - src/
100 - include/
101 - doc/"
102 -
103 -pkg_setup() {
104 - use trace && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
105 - tools/qttracereplay"
106 - QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
107 - ${QT4_EXTRACT_DIRECTORIES}"
108 - qt4-build-edge_pkg_setup
109 -}
110 -
111 -src_prepare() {
112 - qt4-build-edge_src_prepare
113 - sed -e "s/\(sub-qdoc3\.depends =\).*/\1/" \
114 - -i doc/doc.pri || die "patching qdoc3 depends failed"
115 -}
116 -
117 -src_configure() {
118 - myconf="${myconf} -no-xkb -no-fontconfig -no-xrender -no-xrandr
119 - -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
120 - -no-nas-sound -no-dbus -iconv -no-cups -no-nis -no-gif -no-libpng
121 - -no-libmng -no-libjpeg -no-openssl -system-zlib -no-phonon
122 - -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
123 - -no-fontconfig -no-multimedia -no-qt3support -no-svg
124 - $(qt_use qt3support)"
125 - ! use glib && myconf="${myconf} -no-glib"
126 - qt4-build-edge_src_configure
127 -}
128 -
129 -src_compile() {
130 - # help libQtHelp find freshly built libQtCLucene (bug #289811)
131 - export LD_LIBRARY_PATH="${S}/lib:${QTLIBDIR}"
132 - export DYLD_LIBRARY_PATH="${S}/lib:${S}/lib/QtHelp.framework"
133 -
134 - qt4-build-edge_src_compile
135 -
136 - # ugly hack to build docs
137 - cd "${S}"
138 - qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" projects.pro || die
139 - emake qch_docs || die "emake qch_docs failed"
140 - if use doc; then
141 - emake docs || die "emake docs failed"
142 - fi
143 - qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" projects.pro || die
144 -}
145 -
146 -src_install() {
147 - qt4-build-edge_src_install
148 - cd "${S}"
149 - emake INSTALL_ROOT="${D}" install_qchdocs \
150 - || die "failed to install qch docs"
151 - if use doc; then
152 - emake INSTALL_ROOT="${D}" install_htmldocs \
153 - || die "failed to install htmldocs"
154 - fi
155 - dobin "${S}"/bin/qdoc3 || die "Failed to install qdoc3"
156 - # install correct assistant icon, bug 241208
157 - dodir /usr/share/pixmaps/ || die
158 - insinto /usr/share/pixmaps/
159 - doins tools/assistant/tools/assistant/images/assistant.png || die
160 - # Note: absolute image path required here!
161 - make_desktop_entry assistant Assistant \
162 - /usr/share/pixmaps/assistant.png 'Qt;Development;GUIDesigner' || die
163 -}
164
165 diff --git a/x11-libs/qt-core/qt-core-4.7.9999.ebuild b/x11-libs/qt-core/qt-core-4.7.9999.ebuild
166 deleted file mode 100644
167 index 22ae4fe..0000000
168 --- a/x11-libs/qt-core/qt-core-4.7.9999.ebuild
169 +++ /dev/null
170 @@ -1,156 +0,0 @@
171 -# Copyright 1999-2010 Gentoo Foundation
172 -# Distributed under the terms of the GNU General Public License v2
173 -# $Header: $
174 -
175 -EAPI="3"
176 -inherit qt4-build-edge
177 -
178 -DESCRIPTION="The Qt toolkit is a comprehensive C++ application development framework"
179 -SLOT="4"
180 -KEYWORDS=""
181 -IUSE="+glib iconv optimized-qmake private-headers qt3support ssl"
182 -
183 -DEPEND="sys-libs/zlib
184 - glib? ( dev-libs/glib )
185 - ssl? ( dev-libs/openssl )
186 - !<x11-libs/qt-4.4.0:4"
187 -RDEPEND="${DEPEND}"
188 -PDEPEND="qt3support? ( ~x11-libs/qt-gui-${PV}[qt3support,stable-branch=] )"
189 -
190 -pkg_setup() {
191 - QT4_TARGET_DIRECTORIES="
192 - src/tools/bootstrap
193 - src/tools/moc
194 - src/tools/rcc
195 - src/tools/uic
196 - src/corelib
197 - src/xml
198 - src/network
199 - src/plugins/codecs
200 - tools/linguist/lconvert
201 - tools/linguist/lrelease
202 - tools/linguist/lupdate"
203 -
204 - QT4_EXTRACT_DIRECTORIES="
205 - include/Qt
206 - include/QtCore
207 - include/QtNetwork
208 - include/QtScript
209 - include/QtXml
210 - src/plugins/plugins.pro
211 - src/plugins/qpluginbase.pri
212 - src/src.pro
213 - src/3rdparty/des
214 - src/3rdparty/harfbuzz
215 - src/3rdparty/md4
216 - src/3rdparty/md5
217 - src/3rdparty/sha1/
218 - src/3rdparty/easing
219 - src/script
220 - tools/linguist/shared
221 - translations"
222 - qt4-build-edge_pkg_setup
223 - QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
224 - ${QT4_EXTRACT_DIRECTORIES}"
225 -}
226 -
227 -src_prepare() {
228 - # Don't pre-strip, bug 235026
229 - for i in kr jp cn tw ; do
230 - echo "CONFIG+=nostrip" >> "${S}"/src/plugins/codecs/${i}/${i}.pro
231 - done
232 -
233 - qt4-build-edge_src_prepare
234 -
235 - # bug 172219
236 - sed -i -e "s:CXXFLAGS.*=:CXXFLAGS=${CXXFLAGS} :" \
237 - "${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix CXXFLAGS failed"
238 - sed -i -e "s:LFLAGS.*=:LFLAGS=${LDFLAGS} :" \
239 - "${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix LDFLAGS failed"
240 -}
241 -
242 -src_configure() {
243 - unset QMAKESPEC
244 -
245 - myconf="${myconf}
246 - $(qt_use glib)
247 - $(qt_use iconv)
248 - $(qt_use optimized-qmake)
249 - $(qt_use ssl openssl)
250 - $(qt_use qt3support)"
251 -
252 - myconf="${myconf} -no-xkb -no-fontconfig -no-xrender -no-xrandr
253 - -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
254 - -no-nas-sound -no-dbus -no-cups -no-gif -no-libpng
255 - -no-libmng -no-libjpeg -system-zlib -no-webkit -no-phonon -no-xmlpatterns
256 - -no-freetype -no-libtiff -no-accessibility -no-fontconfig -no-opengl
257 - -no-svg -no-gtkstyle -no-phonon-backend -no-script -no-scripttools
258 - -no-cups -no-xsync -no-xinput -no-multimedia"
259 - qt4-build-edge_src_configure
260 -}
261 -
262 -src_compile() {
263 - # bug 259736
264 - unset QMAKESPEC
265 - qt4-build-edge_src_compile
266 -}
267 -
268 -src_install() {
269 - dobin "${S}"/bin/{qmake,moc,rcc,uic,lconvert,lrelease,lupdate} || die
270 -
271 - install_directories src/{corelib,xml,network,plugins/codecs}
272 -
273 - emake INSTALL_ROOT="${D}" install_mkspecs || die
274 -
275 - #install private headers
276 - if use private-headers; then
277 - insinto ${QTHEADERDIR}/QtCore/private
278 - find "${S}"/src/corelib -type f -name "*_p.h" -exec doins {} \;
279 - fi
280 - # use freshly built libraries
281 - local DYLD_FPATH=
282 - [[ -d "${S}"/lib/QtCore.framework ]] \
283 - && DYLD_FPATH=$(for x in "${S}/lib/"*.framework; do echo -n ":$x"; done)
284 - DYLD_LIBRARY_PATH="${S}/lib${DYLD_FPATH}" \
285 - LD_LIBRARY_PATH="${S}/lib" "${S}"/bin/lrelease translations/*.ts || die
286 - insinto ${QTTRANSDIR}
287 - doins translations/*.qm || die
288 -
289 - setqtenv
290 - fix_library_files
291 -
292 - # List all the multilib libdirs
293 - local libdirs=
294 - for libdir in $(get_all_libdirs); do
295 - libdirs="${libdirs}:/usr/${libdir}/qt4"
296 - done
297 -
298 - cat <<-EOF > "${T}/44qt4"
299 - LDPATH=${libdirs:1}
300 - EOF
301 - doenvd "${T}/44qt4"
302 -
303 - dodir /${QTDATADIR}/mkspecs/gentoo
304 - mv "${D}"/${QTDATADIR}/mkspecs/qconfig.pri "${D}${QTDATADIR}"/mkspecs/gentoo \
305 - || die
306 -
307 - sed -i -e '2a#include <Gentoo/gentoo-qconfig.h>\n' \
308 - "${D}${QTHEADERDIR}"/QtCore/qconfig.h \
309 - "${D}${QTHEADERDIR}"/Qt/qconfig.h \
310 - || die
311 - if use glib; then
312 - QCONFIG_DEFINE=" $(use glib && echo QT_GLIB)
313 - $(use ssl && echo QT_OPENSSL)"
314 - install_qconfigs
315 - fi
316 - #remove .la files
317 - find "${D}"${QTLIBDIR} -name "*.la" -print0 | xargs -0 rm
318 - # remove some unnecessary headers
319 - rm -f "${D}${QTHEADERDIR}"/{Qt,QtCore}/{\
320 -qatomic_macosx.h,\
321 -qatomic_windows.h,\
322 -qatomic_windowsce.h,\
323 -qt_windows.h}
324 -
325 - keepdir "${QTSYSCONFDIR}"
326 -}
327
328 diff --git a/x11-libs/qt-dbus/qt-dbus-4.7.9999.ebuild b/x11-libs/qt-dbus/qt-dbus-4.7.9999.ebuild
329 deleted file mode 100644
330 index c1bee69..0000000
331 --- a/x11-libs/qt-dbus/qt-dbus-4.7.9999.ebuild
332 +++ /dev/null
333 @@ -1,39 +0,0 @@
334 -# Copyright 1999-2010 Gentoo Foundation
335 -# Distributed under the terms of the GNU General Public License v2
336 -# $Header: $
337 -
338 -EAPI="3"
339 -inherit qt4-build-edge
340 -
341 -DESCRIPTION="The DBus module for the Qt toolkit"
342 -SLOT="4"
343 -KEYWORDS=""
344 -IUSE=""
345 -
346 -DEPEND="~x11-libs/qt-core-${PV}[debug=,stable-branch=]
347 - >=sys-apps/dbus-1.0.2"
348 -RDEPEND="${DEPEND}"
349 -
350 -pkg_setup() {
351 - QT4_TARGET_DIRECTORIES="
352 - src/dbus
353 - tools/qdbus/qdbus
354 - tools/qdbus/qdbusxml2cpp
355 - tools/qdbus/qdbuscpp2xml"
356 - QCONFIG_ADD="dbus dbus-linked"
357 - QCONFIG_DEFINE="QT_DBUS"
358 -
359 - QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
360 - include/QtCore
361 - include/QtDBus
362 - include/QtXml
363 - src/corelib
364 - src/xml"
365 -
366 - qt4-build-edge_pkg_setup
367 -}
368 -
369 -src_configure() {
370 - myconf="${myconf} -dbus-linked"
371 - qt4-build-edge_src_configure
372 -}
373
374 diff --git a/x11-libs/qt-declarative/qt-declarative-4.7.9999.ebuild b/x11-libs/qt-declarative/qt-declarative-4.7.9999.ebuild
375 deleted file mode 100644
376 index 92b05b3..0000000
377 --- a/x11-libs/qt-declarative/qt-declarative-4.7.9999.ebuild
378 +++ /dev/null
379 @@ -1,54 +0,0 @@
380 -# Copyright 1999-2010 Gentoo Foundation
381 -# Distributed under the terms of the GNU General Public License v2
382 -# $Header: $
383 -
384 -EAPI="3"
385 -inherit qt4-build-edge
386 -
387 -DESCRIPTION="The Declarative module for the Qt toolkit"
388 -SLOT="4"
389 -KEYWORDS=""
390 -IUSE="private-headers qt3support webkit"
391 -
392 -DEPEND="~x11-libs/qt-core-${PV}[stable-branch=,qt3support=]
393 - ~x11-libs/qt-gui-${PV}[stable-branch=,qt3support=]
394 - ~x11-libs/qt-multimedia-${PV}[stable-branch=]
395 - ~x11-libs/qt-opengl-${PV}[stable-branch=,qt3support=]
396 - ~x11-libs/qt-script-${PV}[stable-branch=]
397 - ~x11-libs/qt-sql-${PV}[stable-branch=,qt3support=]
398 - ~x11-libs/qt-svg-${PV}[stable-branch=]
399 - ~x11-libs/qt-webkit-${PV}[stable-branch=]
400 - ~x11-libs/qt-xmlpatterns-${PV}[stable-branch=]
401 - qt3support? ( ~x11-libs/qt-qt3support-${PV}[stable-branch=] )
402 - webkit? ( ~x11-libs/qt-webkit-${PV}[stable-branch=] )"
403 -RDEPEND="${DEPEND}"
404 -
405 -QCONFIG_ADD="declarative"
406 -
407 -pkg_setup() {
408 - QT4_TARGET_DIRECTORIES="
409 - src/declarative
410 - tools/qml"
411 - QT4_EXTRACT_DIRECTORIES="
412 - include/
413 - src/
414 - tools/"
415 - if use webkit; then
416 - QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
417 - src/3rdparty/webkit/WebKit/qt/declarative"
418 - fi
419 - qt4-build-edge_pkg_setup
420 -}
421 -
422 -src_configure() {
423 - myconf="${myconf} -declarative"
424 - qt4-build-edge_src_configure
425 -}
426 -
427 -src_install() {
428 - qt4-build-edge_src_install
429 - if use private-headers; then
430 - insinto ${QTHEADERDIR}/QtDeclarative/private
431 - find "${S}"/src/declarative/ -type f -name "*_p.h" -exec doins {} \;
432 - fi
433 -}
434
435 diff --git a/x11-libs/qt-demo/qt-demo-4.7.9999.ebuild b/x11-libs/qt-demo/qt-demo-4.7.9999.ebuild
436 deleted file mode 100644
437 index e86dcfa..0000000
438 --- a/x11-libs/qt-demo/qt-demo-4.7.9999.ebuild
439 +++ /dev/null
440 @@ -1,51 +0,0 @@
441 -# Copyright 1999-2010 Gentoo Foundation
442 -# Distributed under the terms of the GNU General Public License v2
443 -# $Header: $
444 -
445 -EAPI="3"
446 -inherit qt4-build-edge
447 -
448 -DESCRIPTION="Demonstration module of the Qt toolkit"
449 -SLOT="4"
450 -KEYWORDS=""
451 -IUSE="qt3support"
452 -
453 -DEPEND="~x11-libs/qt-assistant-${PV}:${SLOT}[stable-branch=]
454 - ~x11-libs/qt-core-${PV}:${SLOT}[stable-branch=,qt3support=]
455 - ~x11-libs/qt-dbus-${PV}:${SLOT}[stable-branch=]
456 - ~x11-libs/qt-gui-${PV}:${SLOT}[stable-branch=,qt3support]
457 - ~x11-libs/qt-declarative-${PV}:${SLOT}[stable-branch=,webkit]
458 - ~x11-libs/qt-multimedia-${PV}:${SLOT}[stable-branch=]
459 - ~x11-libs/qt-opengl-${PV}:${SLOT}[stable-branch=,qt3support=]
460 - || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[stable-branch=] media-libs/phonon )
461 - ~x11-libs/qt-script-${PV}:${SLOT}[stable-branch=]
462 - ~x11-libs/qt-sql-${PV}:${SLOT}[stable-branch=]
463 - ~x11-libs/qt-svg-${PV}:${SLOT}[stable-branch=]
464 - ~x11-libs/qt-test-${PV}:${SLOT}[stable-branch=]
465 - ~x11-libs/qt-webkit-${PV}:${SLOT}[stable-branch=]
466 - ~x11-libs/qt-xmlpatterns-${PV}:${SLOT}[stable-branch=]"
467 -RDEPEND="${DEPEND}"
468 -
469 -pkg_setup() {
470 - QT4_TARGET_DIRECTORIES="demos
471 - examples"
472 - QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
473 - doc/src/images
474 - src/
475 - include/
476 - tools/"
477 -
478 - qt4-build-edge_pkg_setup
479 -}
480 -
481 -src_configure() {
482 - myconf="${myconf} $(qt_use qt3support)"
483 - qt4-build-edge_src_configure
484 -}
485 -
486 -src_install() {
487 - insinto ${QTDOCDIR}/src
488 - doins -r "${S}"/doc/src/images || die
489 -
490 - qt4-build-edge_src_install
491 -}
492
493 diff --git a/x11-libs/qt-gui/qt-gui-4.7.9999.ebuild b/x11-libs/qt-gui/qt-gui-4.7.9999.ebuild
494 deleted file mode 100644
495 index d756e71..0000000
496 --- a/x11-libs/qt-gui/qt-gui-4.7.9999.ebuild
497 +++ /dev/null
498 @@ -1,155 +0,0 @@
499 -# Copyright 1999-2010 Gentoo Foundation
500 -# Distributed under the terms of the GNU General Public License v2
501 -# $Header: $
502 -
503 -EAPI="3"
504 -inherit confutils eutils qt4-build-edge
505 -
506 -DESCRIPTION="The GUI module for the Qt toolkit"
507 -SLOT="4"
508 -KEYWORDS=""
509 -IUSE="+accessibility cups dbus egl +glib gtkstyle mng nas nis private-headers +raster tiff trace qt3support xinerama"
510 -
511 -RDEPEND="media-libs/fontconfig
512 - media-libs/freetype:2
513 - virtual/jpeg
514 - media-libs/libpng
515 - sys-libs/zlib
516 - x11-libs/libX11
517 - x11-libs/libXext
518 - x11-libs/libXrandr
519 - x11-libs/libXcursor
520 - x11-libs/libXfont
521 - x11-libs/libSM
522 - x11-libs/libXi
523 - ~x11-libs/qt-core-${PV}[debug=,glib=,qt3support=,stable-branch=]
524 - ~x11-libs/qt-script-${PV}[debug=,stable-branch=]
525 - cups? ( net-print/cups )
526 - dbus? ( ~x11-libs/qt-dbus-${PV}[debug=,stable-branch=] )
527 - gtkstyle? ( x11-libs/gtk+:2 )
528 - mng? ( >=media-libs/libmng-1.0.9 )
529 - nas? ( >=media-libs/nas-1.5 )
530 - tiff? ( media-libs/tiff )
531 - xinerama? ( x11-libs/libXinerama )"
532 -DEPEND="${RDEPEND}
533 - xinerama? ( x11-proto/xineramaproto )
534 - gtkstyle? ( || ( >=x11-libs/cairo-1.10.0[-qt4] <x11-libs/cairo-1.10.0 ) )
535 - x11-proto/xextproto
536 - x11-proto/inputproto"
537 -PDEPEND="qt3support? ( ~x11-libs/qt-qt3support-${PV}[debug=,stable-branch=] )"
538 -
539 -pkg_setup() {
540 - if ! use qt3support; then
541 - ewarn "WARNING: if you need 'qtconfig', you _must_ enable qt3support."
542 - fi
543 -
544 - confutils_use_depend_all gtk glib
545 -
546 - QT4_TARGET_DIRECTORIES="
547 - src/gui
548 - src/scripttools
549 - tools/designer
550 - tools/linguist/linguist
551 - src/plugins/imageformats/gif
552 - src/plugins/imageformats/ico
553 - src/plugins/imageformats/jpeg
554 - src/plugins/inputmethods"
555 -
556 - QT4_EXTRACT_DIRECTORIES="
557 - include
558 - src
559 - tools/linguist/phrasebooks
560 - tools/linguist/shared
561 - tools/shared"
562 -
563 - use dbus && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} tools/qdbus/qdbusviewer"
564 - use mng && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/mng"
565 - use tiff && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/tiff"
566 - use accessibility && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/accessible/widgets"
567 - use trace && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/graphicssystems/trace"
568 -
569 - QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} ${QT4_EXTRACT_DIRECTORIES}"
570 -
571 - qt4-build-edge_pkg_setup
572 -}
573 -
574 -src_prepare() {
575 - qt4-build-edge_src_prepare
576 -
577 - # Don't build plugins this go around, because they depend on qt3support lib
578 - sed -i -e "s:CONFIG(shared:# &:g" "${S}"/tools/designer/src/src.pro
579 -}
580 -
581 -src_configure() {
582 - export PATH="${S}/bin:${PATH}"
583 - export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}"
584 -
585 - myconf="$(qt_use accessibility)
586 - $(qt_use cups)
587 - $(qt_use egl)
588 - $(qt_use glib)
589 - $(qt_use mng libmng system)
590 - $(qt_use nis)
591 - $(qt_use tiff libtiff system)
592 - $(qt_use dbus qdbus)
593 - $(qt_use dbus)
594 - $(qt_use qt3support)
595 - $(qt_use gtkstyle)
596 - $(qt_use xinerama)"
597 -
598 - use nas && myconf="${myconf} -system-nas-sound"
599 - use raster && myconf="${myconf} -graphicssystem raster"
600 -
601 - myconf="${myconf} -qt-gif -system-libpng -system-libjpeg
602 - -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite -no-sql-sqlite2
603 - -no-sql-odbc -xrender -xrandr -xkb -xshape -sm -no-svg -no-webkit
604 - -no-phonon -no-opengl"
605 -
606 - qt4-build-edge_src_configure
607 -}
608 -
609 -src_install() {
610 - QCONFIG_ADD="x11sm xshape xcursor xfixes xrandr xrender xkb fontconfig
611 - $(usev accessibility) $(usev xinerama) $(usev cups) $(usev nas)
612 - gif png system-png system-jpeg
613 - $(use mng && echo system-mng)
614 - $(use tiff && echo system-tiff)"
615 - QCONFIG_REMOVE="no-gif no-png"
616 - QCONFIG_DEFINE="$(use accessibility && echo QT_ACCESSIBILITY)
617 - $(use cups && echo QT_CUPS) QT_FONTCONFIG QT_IMAGEFORMAT_JPEG
618 - $(use mng && echo QT_IMAGEFORMAT_MNG)
619 - $(use nas && echo QT_NAS)
620 - $(use nis && echo QT_NIS) QT_IMAGEFORMAT_PNG QT_SESSIONMANAGER QT_SHAPE
621 - $(use tiff && echo QT_IMAGEFORMAT_TIFF) QT_XCURSOR
622 - $(use xinerama && echo QT_XINERAMA) QT_XFIXES QT_XKB QT_XRANDR QT_XRENDER"
623 -
624 - qt4-build-edge_src_install
625 -
626 - # qt-creator
627 - # some qt-creator headers are located
628 - # under /usr/include/qt4/QtDesigner/private.
629 - # those headers are just includes of the headers
630 - # which are located under tools/designer/src/lib/*
631 - # So instead of installing both, we create the private folder
632 - # and drop tools/designer/src/lib/* headers in it.
633 - dodir /usr/include/qt4/QtDesigner/private/ || die
634 - insinto /usr/include/qt4/QtDesigner/private/
635 - doins "${S}"/tools/designer/src/lib/shared/* || die
636 - doins "${S}"/tools/designer/src/lib/sdk/* || die
637 - #install private headers
638 - if use private-headers; then
639 - insinto ${QTHEADERDIR}/QtGui/private
640 - find "${S}"/src/gui -type f -name "*_p.h" -exec doins {} \;
641 - fi
642 -
643 - # install correct designer and linguist icons, bug 241208
644 - doicon tools/linguist/linguist/images/icons/linguist-128-32.png \
645 - tools/designer/src/designer/images/designer.png || die
646 - # Note: absolute image path required here!
647 - make_desktop_entry linguist Linguist \
648 - /usr/share/pixmaps/linguist-128-32.png \
649 - 'Qt;Development;GUIDesigner' || die
650 - make_desktop_entry designer Designer \
651 - /usr/share/pixmaps/designer.png \
652 - 'Qt;Development;GUIDesigner' || die
653 -}
654
655 diff --git a/x11-libs/qt-multimedia/qt-multimedia-4.7.9999.ebuild b/x11-libs/qt-multimedia/qt-multimedia-4.7.9999.ebuild
656 deleted file mode 100644
657 index 2cd10c8..0000000
658 --- a/x11-libs/qt-multimedia/qt-multimedia-4.7.9999.ebuild
659 +++ /dev/null
660 @@ -1,47 +0,0 @@
661 -# Copyright 1999-2010 Gentoo Foundation
662 -# Distributed under the terms of the GNU General Public License v2
663 -# $Header: $
664 -
665 -EAPI="3"
666 -inherit qt4-build-edge
667 -
668 -DESCRIPTION="The Qt multimedia module"
669 -SLOT="4"
670 -KEYWORDS=""
671 -IUSE="iconv"
672 -
673 -DEPEND="media-libs/alsa-lib
674 - ~x11-libs/qt-core-${PV}[debug=,stable-branch=]
675 - ~x11-libs/qt-gui-${PV}[debug=,stable-branch=]"
676 -RDEPEND="${DEPEND}"
677 -
678 -pkg_setup() {
679 - QT4_TARGET_DIRECTORIES="src/multimedia"
680 - QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
681 - include/Qt/
682 - include/QtCore/
683 - include/QtGui/
684 - include/QtMultimedia/
685 - src/src.pro
686 - src/corelib/
687 - src/gui/
688 - src/plugins
689 - src/3rdparty
690 - src/tools"
691 -
692 - qt4-build-edge_pkg_setup
693 -}
694 -
695 -src_configure() {
696 - myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender
697 - -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm
698 - -no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
699 - -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
700 - -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
701 - -no-fontconfig -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite
702 - -no-sql-sqlite2 -no-sql-odbc -no-glib -no-opengl -no-svg -no-gtkstyle
703 - -no-phonon-backend -no-script -no-scripttools -no-cups -no-xsync
704 - -no-xinput"
705 -
706 - qt4-build-edge_src_configure
707 -}
708
709 diff --git a/x11-libs/qt-opengl/qt-opengl-4.7.9999.ebuild b/x11-libs/qt-opengl/qt-opengl-4.7.9999.ebuild
710 deleted file mode 100644
711 index 9d8e4c9..0000000
712 --- a/x11-libs/qt-opengl/qt-opengl-4.7.9999.ebuild
713 +++ /dev/null
714 @@ -1,48 +0,0 @@
715 -# Copyright 1999-2010 Gentoo Foundation
716 -# Distributed under the terms of the GNU General Public License v2
717 -# $Header: $
718 -
719 -EAPI="3"
720 -inherit qt4-build-edge
721 -
722 -DESCRIPTION="The OpenGL module for the Qt toolkit"
723 -SLOT="4"
724 -KEYWORDS=""
725 -IUSE="egl qt3support"
726 -
727 -DEPEND="~x11-libs/qt-core-${PV}[debug=,qt3support=,stable-branch=]
728 - ~x11-libs/qt-gui-${PV}[debug=,egl=,qt3support=,stable-branch=]
729 - virtual/opengl"
730 -RDEPEND="${DEPEND}"
731 -
732 -pkg_setup() {
733 - QT4_TARGET_DIRECTORIES="
734 - src/opengl
735 - src/plugins/graphicssystems/opengl"
736 -
737 - QT4_EXTRACT_DIRECTORIES="
738 - include/QtCore
739 - include/QtGui
740 - include/QtOpenGL
741 - src/corelib
742 - src/gui
743 - src/opengl
744 - src/plugins
745 - src/3rdparty"
746 -
747 - QCONFIG_ADD="opengl"
748 - QCONFIG_DEFINE="QT_OPENGL $(use egl && echo QT_EGL)"
749 -
750 - qt4-build-edge_pkg_setup
751 -}
752 -
753 -src_configure() {
754 - myconf="${myconf} -opengl
755 - $(qt_use egl)
756 - $(qt_use qt3support)"
757 -
758 - qt4-build-edge_src_configure
759 -
760 - # Not building tools/designer/src/plugins/tools/view3d as it's
761 - # commented out of the build in the source
762 -}
763
764 diff --git a/x11-libs/qt-openvg/Manifest b/x11-libs/qt-openvg/Manifest
765 index 4590e46..23bd05a 100644
766 --- a/x11-libs/qt-openvg/Manifest
767 +++ b/x11-libs/qt-openvg/Manifest
768 @@ -1,2 +1,2 @@
769 DIST qt-everywhere-opensource-src-4.7.0.tar.gz 208320257 RMD160 3e9c0f0d9843b5c03ad4bd6193aff98531ee0746 SHA1 a5796c8f468c8f59249e5c696f913864c979f411 SHA256 e05256d560ca7d674cd4310bb791748900ad14ad662cbfe22b6d72ada43e7955
770 -DIST qt-everywhere-opensource-src-4.7.1.tar.gz 211768512 RMD160 de6998948eb9f51a9193b9020ba80cfd52d50899 SHA1 fcf764d39d982c7f84703821582bd10c3192e341 SHA256 8cb5277c41f824cfc6dcee0e95e0bf23a9ad2c8d18d245105137481d092b124a
771 +DIST qt-everywhere-opensource-src-4.7.1.tar.gz 211768512 SHA256 8cb5277c41f824cfc6dcee0e95e0bf23a9ad2c8d18d245105137481d092b124a SHA512 adca9f9ea9914eb7715277ec61e0710f4492e0562fce5e72d02e88c2df58b4fbc77a4346abd8ebf79aa8eff94d0075191a8709fbb502785682ba37ee2151ae7f WHIRLPOOL 79b16f663cb49e029cb0d86cb0a98854e975746f6e7f5ef1707d7851325556c5a248e8eaf9393d234099058d6e54ef69767ce653bf9a665cca87d2f2a5829e8d
772
773 diff --git a/x11-libs/qt-phonon/qt-phonon-4.7.9999.ebuild b/x11-libs/qt-phonon/qt-phonon-4.7.9999.ebuild
774 deleted file mode 100644
775 index 2452118..0000000
776 --- a/x11-libs/qt-phonon/qt-phonon-4.7.9999.ebuild
777 +++ /dev/null
778 @@ -1,39 +0,0 @@
779 -# Copyright 1999-2010 Gentoo Foundation
780 -# Distributed under the terms of the GNU General Public License v2
781 -# $Header: $
782 -
783 -EAPI="3"
784 -inherit qt4-build-edge
785 -
786 -DESCRIPTION="The Phonon module for the Qt toolkit"
787 -SLOT="4"
788 -KEYWORDS=""
789 -IUSE="dbus"
790 -
791 -DEPEND="~x11-libs/qt-gui-${PV}[debug=,glib,qt3support,stable-branch=]
792 - !kde-base/phonon-kde
793 - !kde-base/phonon-xine
794 - !media-libs/phonon
795 - media-libs/gstreamer
796 - media-plugins/gst-plugins-meta
797 - dbus? ( ~x11-libs/qt-dbus-${PV}[debug=,stable-branch=] )"
798 -RDEPEND="${DEPEND}"
799 -
800 -QT4_TARGET_DIRECTORIES="
801 - src/phonon
802 - src/plugins/phonon
803 - tools/designer/src/plugins/phononwidgets"
804 -QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
805 - include/
806 - src
807 - tools"
808 -
809 -QCONFIG_ADD="phonon"
810 -QCONFIG_DEFINE="QT_GSTREAMER"
811 -
812 -src_configure() {
813 - myconf="${myconf} -phonon -phonon-backend -no-opengl -no-svg
814 - $(qt_use dbus qdbus)"
815 -
816 - qt4-build-edge_src_configure
817 -}
818
819 diff --git a/x11-libs/qt-qt3support/qt-qt3support-4.7.9999.ebuild b/x11-libs/qt-qt3support/qt-qt3support-4.7.9999.ebuild
820 deleted file mode 100644
821 index ff4cf94..0000000
822 --- a/x11-libs/qt-qt3support/qt-qt3support-4.7.9999.ebuild
823 +++ /dev/null
824 @@ -1,40 +0,0 @@
825 -# Copyright 1999-2010 Gentoo Foundation
826 -# Distributed under the terms of the GNU General Public License v2
827 -# $Header: $
828 -
829 -EAPI="3"
830 -inherit qt4-build-edge
831 -
832 -DESCRIPTION="The Qt3 support module for the Qt toolkit"
833 -SLOT="4"
834 -KEYWORDS=""
835 -IUSE="+accessibility kde phonon"
836 -
837 -DEPEND="~x11-libs/qt-core-${PV}[debug=,qt3support,stable-branch=]
838 - ~x11-libs/qt-gui-${PV}[accessibility=,debug=,qt3support,stable-branch=]
839 - ~x11-libs/qt-sql-${PV}[debug=,qt3support,stable-branch=]
840 - phonon? (
841 - !kde? ( || ( ~x11-libs/qt-phonon-${PV}[debug=,stable-branch=]
842 - media-libs/phonon[gstreamer] ) )
843 - kde? ( media-libs/phonon[gstreamer] ) )"
844 -RDEPEND="${DEPEND}"
845 -
846 -pkg_setup() {
847 - QT4_TARGET_DIRECTORIES="
848 - src/qt3support
849 - src/tools/uic3
850 - tools/designer/src/plugins/widgets
851 - tools/qtconfig
852 - tools/porting"
853 - QT4_EXTRACT_DIRECTORIES="src include tools"
854 -
855 - qt4-build-edge_pkg_setup
856 -}
857 -
858 -src_configure() {
859 - myconf="${myconf} -qt3support
860 - $(qt_use phonon gstreamer)
861 - $(qt_use phonon)
862 - $(qt_use accessibility)"
863 - qt4-build-edge_src_configure
864 -}
865
866 diff --git a/x11-libs/qt-script/qt-script-4.7.9999.ebuild b/x11-libs/qt-script/qt-script-4.7.9999.ebuild
867 deleted file mode 100644
868 index 9a7c009..0000000
869 --- a/x11-libs/qt-script/qt-script-4.7.9999.ebuild
870 +++ /dev/null
871 @@ -1,45 +0,0 @@
872 -# Copyright 1999-2010 Gentoo Foundation
873 -# Distributed under the terms of the GNU General Public License v2
874 -# $Header: $
875 -
876 -EAPI="3"
877 -inherit qt4-build-edge
878 -
879 -DESCRIPTION="The ECMAScript module for the Qt toolkit"
880 -SLOT="4"
881 -KEYWORDS=""
882 -IUSE="iconv private-headers"
883 -
884 -DEPEND="~x11-libs/qt-core-${PV}[debug=,stable-branch=]"
885 -RDEPEND="${DEPEND}"
886 -
887 -pkg_setup() {
888 - QT4_TARGET_DIRECTORIES="src/script/"
889 - QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
890 - include/Qt/
891 - include/QtCore/
892 - include/QtScript/
893 - src/corelib/"
894 -
895 - qt4-build-edge_pkg_setup
896 -}
897 -
898 -src_configure() {
899 - myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender
900 - -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm
901 - -no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
902 - -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
903 - -no-qt3support -no-xmlpatterns -no-freetype -no-libtiff
904 - -no-accessibility -no-fontconfig -no-glib -no-opengl -no-svg
905 - -no-gtkstyle"
906 - qt4-build-edge_src_configure
907 -}
908 -
909 -src_install() {
910 - qt4-build-edge_src_install
911 - #install private headers
912 - if use private-headers; then
913 - insinto ${QTHEADERDIR}/QtScript/private
914 - find "${S}"/src/script -type f -name "*_p.h" -exec doins {} \;
915 - fi
916 -}
917
918 diff --git a/x11-libs/qt-simulator/qt-simulator-4.7.9999.ebuild b/x11-libs/qt-simulator/qt-simulator-4.7.9999.ebuild
919 deleted file mode 100644
920 index 5584c3d..0000000
921 --- a/x11-libs/qt-simulator/qt-simulator-4.7.9999.ebuild
922 +++ /dev/null
923 @@ -1,87 +0,0 @@
924 -# Copyright 1999-2010 Gentoo Foundation
925 -# Distributed under the terms of the GNU General Public License v2
926 -# $Header: $
927 -
928 -EAPI=3
929 -
930 -EGIT_REPO_URI="git://gitorious.org/~qtbynokia/qt/simulator-qt.git"
931 -EGIT_BRANCH="4.7"
932 -#EGIT_BRANCH="4.7.0-beta1"
933 -
934 -inherit git multilib qt4-r2 toolchain-funcs
935 -
936 -DESCRIPTION="Qt Simulator is a simulator for Qt applications intended to run on Nokia devices"
937 -HOMEPAGE="http://labs.trolltech.com/page/Projects/Tools/QtSimulator"
938 -SRC_URI=""
939 -
940 -LICENSE="LGPL-2.1"
941 -SLOT="4"
942 -KEYWORDS=""
943 -IUSE="debug qt3support xmlpatterns multimedia phonon svg webkit \
944 -script dbus"
945 -
946 -DEPEND="~x11-libs/qt-gui-${PV}"
947 -RDEPEND="${DEPEND}"
948 -
949 -pkg_setup() {
950 - PLATFORM="simulator"
951 -}
952 -
953 -src_unpack() {
954 - git_src_unpack
955 - qt4-r2_src_unpack
956 -}
957 -
958 -src_prepare() {
959 - sed -i -e "s:CXXFLAGS.*=:CXXFLAGS=${CXXFLAGS} :" \
960 - "${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix
961 - CXXFLAGS failed"
962 - sed -i -e "s:LFLAGS.*=:LFLAGS=${LDFLAGS} :" \
963 - "${S}/qmake/Makefile.unix" || die "sed
964 - qmake/Makefile.unix LDFLAGS failed"
965 - sed -i '/^QMAKE_CFLAGS_\(RELEASE\|DEBUG\)/s:+=.*:+=:' \
966 - mkspecs/common/g++.conf
967 - sed -e "s:\(^SYSTEM_VARIABLES\):CC=$(tc-getCC)\nCXX=$(tc-getCXX)\nCFLAGS=\"${CFLAGS}\"\nCXXFLAGS=\"${CXXFLAGS}\"\nLDFLAGS=\"${LDFLAGS}\"\n\1:" \
968 - -i configure || die "sed qmake compilers failed"
969 - find ./config.tests/unix -name "*.test" -type f -exec grep -lZ \$MAKE '{}' \; | \
970 - xargs -0 \
971 - sed -e "s:\(\$MAKE\):\1 CC=$(tc-getCC) CXX=$(tc-getCXX) LD=$(tc-getCXX) LINK=$(tc-getCXX):g" \
972 - -i || die "sed test compilers failed"
973 -}
974 -
975 -src_configure() {
976 - local myconf=""
977 - local datadir="/usr/share/qt4"
978 - local libdir="/usr/$(get_libdir)/qt4"
979 -
980 - myconf+="-prefix '/usr'
981 - -prefix-install
982 - -hostprefix '/usr'
983 - -libdir '${libdir}'
984 - -headerdir '/usr/include/qt4'
985 - -plugindir '${libdir}/plugins'
986 - -docdir '/usr/share/doc/${PF}'
987 - -demosdir '${datadir}/demos'
988 - -examplesdir '${datadir}/examples'
989 - -sysconfdir '/etc/qt4'
990 - -translationdir '${datadir}/translations'
991 - -opensource -confirm-license -stl -verbose
992 - "
993 -
994 - for module in ${IUSE}; do
995 - if [ ${module} = "debug" ]; then
996 - myconf+=" $(use debug && echo -debug || echo -release)"
997 - else
998 - myconf+=" $(use ${module} && echo -${module} || echo -no-${module})"
999 - fi
1000 - done
1001 - ! use webkit && myconf+=" -no-javascript-jit"
1002 -
1003 - ./configure ${myconf} || die "configure failed"
1004 -}
1005 -
1006 -src_compile() {
1007 - emake CC="$(tc-getCC)" \
1008 - CXX="$(tc-getCXX)" \
1009 - LINK="$(tc-getCXX)" || die "emake failed"
1010 -}
1011
1012 diff --git a/x11-libs/qt-sql/qt-sql-4.7.9999.ebuild b/x11-libs/qt-sql/qt-sql-4.7.9999.ebuild
1013 deleted file mode 100644
1014 index 5f8b332..0000000
1015 --- a/x11-libs/qt-sql/qt-sql-4.7.9999.ebuild
1016 +++ /dev/null
1017 @@ -1,71 +0,0 @@
1018 -# Copyright 1999-2010 Gentoo Foundation
1019 -# Distributed under the terms of the GNU General Public License v2
1020 -# $Header: $
1021 -
1022 -EAPI="3"
1023 -inherit qt4-build-edge
1024 -
1025 -DESCRIPTION="The SQL module for the Qt toolkit"
1026 -SLOT="4"
1027 -KEYWORDS=""
1028 -IUSE="firebird freetds iconv mysql odbc postgres qt3support +sqlite"
1029 -
1030 -DEPEND="~x11-libs/qt-core-${PV}[debug=,qt3support=,stable-branch=]
1031 - firebird? ( dev-db/firebird )
1032 - freetds? ( dev-db/freetds )
1033 - mysql? ( virtual/mysql )
1034 - odbc? ( dev-db/unixODBC )
1035 - postgres? ( dev-db/postgresql-base )
1036 - sqlite? ( dev-db/sqlite:3 )"
1037 -RDEPEND="${DEPEND}"
1038 -
1039 -pkg_setup() {
1040 - QT4_TARGET_DIRECTORIES="src/sql src/plugins/sqldrivers"
1041 - QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
1042 - include/Qt/
1043 - include/QtCore/
1044 - include/QtSql/
1045 - include/QtScript/
1046 - src/src.pro
1047 - src/corelib/
1048 - src/plugins
1049 - src/3rdparty
1050 - src/tools"
1051 -
1052 - if ! ( use firebird || use freetds || use mysql || use odbc || use postgres || use sqlite );
1053 - then
1054 - ewarn "You need to enable at least one SQL driver. Enable at least"
1055 - ewarn "one of these USE flags: \"firebird fretds mysql odbc postgres sqlite\"."
1056 - die "Enable at least one SQL driver."
1057 - fi
1058 -
1059 - qt4-build-edge_pkg_setup
1060 -}
1061 -
1062 -src_prepare() {
1063 - qt4-build-edge_src_prepare
1064 -
1065 - sed -e '/pg_config --libs/d' -i "${S}"/configure \
1066 - || die "sed to fix postgresql usage in ./configure failed"
1067 -}
1068 -
1069 -src_configure() {
1070 - # Don't support sqlite2 anymore
1071 - myconf="${myconf} -no-sql-sqlite2
1072 - $(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I/usr/include/mysql -L/usr/$(get_libdir)/mysql ")
1073 - $(qt_use postgres sql-psql plugin) $(use postgres && echo "-I/usr/include/postgresql/pgsql ")
1074 - $(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite')
1075 - $(qt_use odbc sql-odbc plugin)
1076 - $(qt_use freetds sql-tds plugin)
1077 - $(qt_use firebird sql-ibase plugin)
1078 - $(qt_use qt3support)"
1079 -
1080 - myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender
1081 - -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm
1082 - -no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
1083 - -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
1084 - -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
1085 - -no-fontconfig -no-glib -no-opengl -no-svg -no-gtkstyle"
1086 -
1087 - qt4-build-edge_src_configure
1088 -}
1089
1090 diff --git a/x11-libs/qt-svg/qt-svg-4.7.9999.ebuild b/x11-libs/qt-svg/qt-svg-4.7.9999.ebuild
1091 deleted file mode 100644
1092 index 6baecaf..0000000
1093 --- a/x11-libs/qt-svg/qt-svg-4.7.9999.ebuild
1094 +++ /dev/null
1095 @@ -1,48 +0,0 @@
1096 -# Copyright 1999-2010 Gentoo Foundation
1097 -# Distributed under the terms of the GNU General Public License v2
1098 -# $Header: $
1099 -
1100 -EAPI="3"
1101 -inherit qt4-build-edge
1102 -
1103 -DESCRIPTION="The SVG module for the Qt toolkit"
1104 -SLOT="4"
1105 -KEYWORDS=""
1106 -IUSE="iconv"
1107 -
1108 -DEPEND="~x11-libs/qt-gui-${PV}[debug=,stable-branch=]"
1109 -RDEPEND="${DEPEND}"
1110 -
1111 -pkg_setup() {
1112 - QT4_TARGET_DIRECTORIES="
1113 - src/svg
1114 - src/plugins/imageformats/svg
1115 - src/plugins/iconengines/svgiconengine"
1116 - QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
1117 - include/QtSvg/
1118 - include/Qt/
1119 - include/QtGui/
1120 - include/QtCore/
1121 - include/QtXml/
1122 - src/corelib/
1123 - src/gui/
1124 - src/plugins/
1125 - src/xml
1126 - src/3rdparty"
1127 -
1128 - QCONFIG_ADD="svg"
1129 - QCONFIG_DEFINE="QT_SVG"
1130 -
1131 - qt4-build-edge_pkg_setup
1132 -}
1133 -
1134 -src_configure() {
1135 - myconf="${myconf} $(qt_use iconv) -svg -no-xkb -no-fontconfig -no-xrender
1136 - -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm
1137 - -no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
1138 - -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
1139 - -no-qt3support -no-xmlpatterns -no-freetype -no-libtiff
1140 - -no-accessibility -no-fontconfig -no-glib -no-opengl -no-gtkstyle
1141 - -v -continue"
1142 - qt4-build-edge_src_configure
1143 -}
1144
1145 diff --git a/x11-libs/qt-test/qt-test-4.7.9999.ebuild b/x11-libs/qt-test/qt-test-4.7.9999.ebuild
1146 deleted file mode 100644
1147 index add153e..0000000
1148 --- a/x11-libs/qt-test/qt-test-4.7.9999.ebuild
1149 +++ /dev/null
1150 @@ -1,34 +0,0 @@
1151 -# Copyright 1999-2010 Gentoo Foundation
1152 -# Distributed under the terms of the GNU General Public License v2
1153 -# $Header: $
1154 -
1155 -EAPI="3"
1156 -inherit qt4-build-edge
1157 -
1158 -DESCRIPTION="The testing framework module for the Qt toolkit"
1159 -SLOT="4"
1160 -KEYWORDS=""
1161 -IUSE="iconv"
1162 -
1163 -DEPEND="~x11-libs/qt-core-${PV}[debug=,stable-branch=]"
1164 -RDEPEND="${DEPEND}"
1165 -
1166 -pkg_setup() {
1167 - QT4_TARGET_DIRECTORIES="src/testlib"
1168 - QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
1169 - include/QtTest/
1170 - include/QtCore/
1171 - src/corelib/"
1172 -
1173 - qt4-build-edge_pkg_setup
1174 -}
1175 -
1176 -src_configure() {
1177 - myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender
1178 - -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm
1179 - -no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
1180 - -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
1181 - -no-qt3support -no-xmlpatterns -no-freetype -no-libtiff
1182 - -no-accessibility -no-fontconfig -no-glib -no-opengl -no-svg"
1183 - qt4-build-edge_src_configure
1184 -}
1185
1186 diff --git a/x11-libs/qt-webkit/qt-webkit-4.7.9999.ebuild b/x11-libs/qt-webkit/qt-webkit-4.7.9999.ebuild
1187 deleted file mode 100644
1188 index 47bd0d8..0000000
1189 --- a/x11-libs/qt-webkit/qt-webkit-4.7.9999.ebuild
1190 +++ /dev/null
1191 @@ -1,52 +0,0 @@
1192 -# Copyright 1999-2010 Gentoo Foundation
1193 -# Distributed under the terms of the GNU General Public License v2
1194 -# $Header: $
1195 -
1196 -EAPI="3"
1197 -inherit qt4-build-edge
1198 -
1199 -DESCRIPTION="The Webkit module for the Qt toolkit"
1200 -SLOT="4"
1201 -KEYWORDS=""
1202 -IUSE="dbus +jit kde"
1203 -
1204 -DEPEND="~x11-libs/qt-core-${PV}[debug=,ssl,stable-branch=]
1205 - ~x11-libs/qt-gui-${PV}[dbus?,debug=,stable-branch=]
1206 - ~x11-libs/qt-xmlpatterns-${PV}[debug=,stable-branch=]
1207 - ~x11-libs/qt-xmlpatterns-${PV}[debug=,stable-branch=]
1208 - dbus? ( ~x11-libs/qt-dbus-${PV}[debug=,stable-branch=] )
1209 - !kde? ( || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[dbus=,debug=,stable-branch=]
1210 - media-libs/phonon ) )
1211 - kde? ( media-libs/phonon )"
1212 -RDEPEND="${DEPEND}"
1213 -
1214 -pkg_setup() {
1215 - QT4_TARGET_DIRECTORIES="
1216 - src/3rdparty/webkit/JavaScriptCore
1217 - src/3rdparty/webkit/WebCore
1218 - tools/designer/src/plugins/qwebview"
1219 - QT4_EXTRACT_DIRECTORIES="
1220 - include/
1221 - src/
1222 - tools/"
1223 -
1224 - QCONFIG_ADD="webkit"
1225 - QCONFIG_DEFINE="QT_WEBKIT"
1226 -
1227 - qt4-build-edge_pkg_setup
1228 -}
1229 -
1230 -src_prepare() {
1231 - [[ $(tc-arch) == "ppc64" ]] && append-flags -mminimal-toc #241900
1232 - # drop qt_webkit_version.pri from installation files since qt-core
1233 - # installs it
1234 - sed -i "/INSTALLS += modfile/d" src/3rdparty/webkit/WebCore/WebCore.pro
1235 - sed -i "/INSTALLS += target headers modfile/s: modfile::" \
1236 - src/3rdparty/webkit/WebCore/WebCore.pro
1237 - qt4-build-edge_src_prepare
1238 -}
1239 -
1240 -src_configure() {
1241 - myconf="${myconf} -system-sqlite -webkit $(qt_use jit javascript-jit) $(qt_use dbus qdbus)"
1242 - qt4-build-edge_src_configure
1243 -}
1244
1245 diff --git a/x11-libs/qt-xmlpatterns/qt-xmlpatterns-4.7.9999.ebuild b/x11-libs/qt-xmlpatterns/qt-xmlpatterns-4.7.9999.ebuild
1246 deleted file mode 100644
1247 index aca4396..0000000
1248 --- a/x11-libs/qt-xmlpatterns/qt-xmlpatterns-4.7.9999.ebuild
1249 +++ /dev/null
1250 @@ -1,36 +0,0 @@
1251 -# Copyright 1999-2010 Gentoo Foundation
1252 -# Distributed under the terms of the GNU General Public License v2
1253 -# $Header: $
1254 -
1255 -EAPI="3"
1256 -inherit qt4-build-edge
1257 -
1258 -DESCRIPTION="The patternist module for the Qt toolkit"
1259 -SLOT="4"
1260 -KEYWORDS=""
1261 -IUSE=""
1262 -
1263 -DEPEND="~x11-libs/qt-core-${PV}[debug=,exceptions,stable-branch=]"
1264 -RDEPEND="${DEPEND}"
1265 -
1266 -pkg_setup() {
1267 - QT4_TARGET_DIRECTORIES="src/xmlpatterns tools/xmlpatterns"
1268 - QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
1269 - include/QtCore
1270 - include/QtNetwork
1271 - include/QtXml
1272 - include/QtXmlPatterns
1273 - src/network/
1274 - src/xml/
1275 - src/corelib/"
1276 -
1277 - QCONFIG_ADD="xmlpatterns"
1278 - QCONFIG_DEFINE="QT_XMLPATTERNS"
1279 -
1280 - qt4-build-edge_pkg_setup
1281 -}
1282 -
1283 -src_configure() {
1284 - myconf="${myconf} -xmlpatterns"
1285 - qt4-build-edge_src_configure
1286 -}