1 |
commit: 3d84d817b714b4862665cdef9a265334f0e82bb8 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 23 00:09:04 2014 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 23 00:09:04 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=3d84d817 |
7 |
|
8 |
[Qt4] Migrate all live ebuilds to EAPI=5 and qt4-build-multilib.eclass |
9 |
|
10 |
--- |
11 |
dev-qt/assistant/assistant-4.8.9999.ebuild | 24 ++--- |
12 |
dev-qt/designer/designer-4.8.9999.ebuild | 28 +++--- |
13 |
dev-qt/linguist/linguist-4.8.9999.ebuild | 22 ++--- |
14 |
dev-qt/pixeltool/pixeltool-4.8.9999.ebuild | 22 ++--- |
15 |
dev-qt/qdbusviewer/qdbusviewer-4.8.9999.ebuild | 22 ++--- |
16 |
dev-qt/qt3support/qt3support-4.8.9999.ebuild | 29 +++--- |
17 |
dev-qt/qtbearer/qtbearer-4.8.9999.ebuild | 31 +++--- |
18 |
dev-qt/qtcore/qtcore-4.8.9999.ebuild | 106 ++++++++++----------- |
19 |
dev-qt/qtdbus/qtdbus-4.8.9999.ebuild | 41 ++++---- |
20 |
dev-qt/qtdeclarative/qtdeclarative-4.8.9999.ebuild | 52 +++++----- |
21 |
dev-qt/qtdemo/qtdemo-4.8.9999.ebuild | 36 ++++--- |
22 |
dev-qt/qtgui/qtgui-4.8.9999.ebuild | 51 +++++----- |
23 |
dev-qt/qthelp/qthelp-4.8.9999.ebuild | 56 +++++------ |
24 |
dev-qt/qtmultimedia/qtmultimedia-4.8.9999.ebuild | 37 ++++--- |
25 |
dev-qt/qtopengl/qtopengl-4.8.9999.ebuild | 46 ++++----- |
26 |
dev-qt/qtopenvg/qtopenvg-4.8.9999.ebuild | 49 +++++----- |
27 |
dev-qt/qtphonon/qtphonon-4.8.9999.ebuild | 40 ++++---- |
28 |
dev-qt/qtscript/qtscript-4.8.9999.ebuild | 39 ++++---- |
29 |
dev-qt/qtsql/qtsql-4.8.9999.ebuild | 35 ++++--- |
30 |
dev-qt/qtsvg/qtsvg-4.8.9999.ebuild | 51 +++++----- |
31 |
dev-qt/qttest/qttest-4.8.9999.ebuild | 25 +++-- |
32 |
dev-qt/qtwebkit/qtwebkit-4.8.9999.ebuild | 31 +++--- |
33 |
dev-qt/qtxmlpatterns/qtxmlpatterns-4.8.9999.ebuild | 45 ++++----- |
34 |
23 files changed, 430 insertions(+), 488 deletions(-) |
35 |
|
36 |
diff --git a/dev-qt/assistant/assistant-4.8.9999.ebuild b/dev-qt/assistant/assistant-4.8.9999.ebuild |
37 |
index 64b67e3..8508bf8 100644 |
38 |
--- a/dev-qt/assistant/assistant-4.8.9999.ebuild |
39 |
+++ b/dev-qt/assistant/assistant-4.8.9999.ebuild |
40 |
@@ -4,10 +4,10 @@ |
41 |
|
42 |
EAPI=5 |
43 |
|
44 |
-inherit eutils qt4-build |
45 |
+inherit eutils qt4-build-multilib |
46 |
|
47 |
DESCRIPTION="Tool for viewing on-line documentation in Qt help file format" |
48 |
-SLOT="4" |
49 |
+ |
50 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
51 |
KEYWORDS="" |
52 |
else |
53 |
@@ -29,21 +29,17 @@ PATCHES=( |
54 |
"${FILESDIR}/${PN}-4.8.2+gcc-4.7.patch" |
55 |
) |
56 |
|
57 |
-pkg_setup() { |
58 |
- QT4_TARGET_DIRECTORIES="tools/assistant/tools/assistant" |
59 |
- QT4_EXTRACT_DIRECTORIES=" |
60 |
- include |
61 |
- src |
62 |
- tools" |
63 |
- |
64 |
- qt4-build_pkg_setup |
65 |
-} |
66 |
+QT4_TARGET_DIRECTORIES="tools/assistant/tools/assistant" |
67 |
+QT4_EXTRACT_DIRECTORIES=" |
68 |
+ include |
69 |
+ src |
70 |
+ tools" |
71 |
|
72 |
src_prepare() { |
73 |
# bug 401173 |
74 |
use webkit || PATCHES+=("${FILESDIR}/disable-webkit.patch") |
75 |
|
76 |
- qt4-build_src_prepare |
77 |
+ qt4-build-multilib_src_prepare |
78 |
} |
79 |
|
80 |
src_configure() { |
81 |
@@ -54,11 +50,11 @@ src_configure() { |
82 |
-fontconfig -no-multimedia -no-opengl -no-phonon -no-svg -no-xmlpatterns |
83 |
$(qt_use webkit)" |
84 |
|
85 |
- qt4-build_src_configure |
86 |
+ qt4-build-multilib_src_configure |
87 |
} |
88 |
|
89 |
src_install() { |
90 |
- qt4-build_src_install |
91 |
+ qt4-build-multilib_src_install |
92 |
|
93 |
doicon tools/assistant/tools/assistant/images/assistant.png |
94 |
make_desktop_entry assistant Assistant assistant 'Qt;Development;Documentation' |
95 |
|
96 |
diff --git a/dev-qt/designer/designer-4.8.9999.ebuild b/dev-qt/designer/designer-4.8.9999.ebuild |
97 |
index 17368dd..0b75a86 100644 |
98 |
--- a/dev-qt/designer/designer-4.8.9999.ebuild |
99 |
+++ b/dev-qt/designer/designer-4.8.9999.ebuild |
100 |
@@ -4,10 +4,10 @@ |
101 |
|
102 |
EAPI=5 |
103 |
|
104 |
-inherit eutils qt4-build |
105 |
+inherit eutils qt4-build-multilib |
106 |
|
107 |
DESCRIPTION="WYSIWYG tool for designing and building Qt-based GUIs" |
108 |
-SLOT="4" |
109 |
+ |
110 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
111 |
KEYWORDS="" |
112 |
else |
113 |
@@ -28,18 +28,14 @@ DEPEND=" |
114 |
" |
115 |
RDEPEND="${DEPEND}" |
116 |
|
117 |
-pkg_setup() { |
118 |
- QT4_TARGET_DIRECTORIES="tools/designer" |
119 |
- QT4_EXTRACT_DIRECTORIES=" |
120 |
- include |
121 |
- src |
122 |
- tools" |
123 |
- |
124 |
- qt4-build_pkg_setup |
125 |
-} |
126 |
+QT4_TARGET_DIRECTORIES="tools/designer" |
127 |
+QT4_EXTRACT_DIRECTORIES=" |
128 |
+ include |
129 |
+ src |
130 |
+ tools" |
131 |
|
132 |
src_prepare() { |
133 |
- qt4-build_src_prepare |
134 |
+ qt4-build-multilib_src_prepare |
135 |
|
136 |
local plugin |
137 |
for plugin in ${DESIGNER_PLUGINS}; do |
138 |
@@ -55,11 +51,11 @@ src_configure() { |
139 |
-sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb |
140 |
-fontconfig -no-svg -no-webkit -no-phonon -no-opengl" |
141 |
|
142 |
- qt4-build_src_configure |
143 |
+ qt4-build-multilib_src_configure |
144 |
} |
145 |
|
146 |
src_install() { |
147 |
- qt4-build_src_install |
148 |
+ qt4-build-multilib_src_install |
149 |
|
150 |
# qt-creator |
151 |
# some qt-creator headers are located |
152 |
@@ -69,9 +65,9 @@ src_install() { |
153 |
# So instead of installing both, we create the private folder |
154 |
# and drop tools/designer/src/lib/* headers in it. |
155 |
if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then |
156 |
- insinto "${QTLIBDIR#${EPREFIX}}"/QtDesigner.framework/Headers/private/ |
157 |
+ insinto "${QT4_LIBDIR#${EPREFIX}}"/QtDesigner.framework/Headers/private/ |
158 |
else |
159 |
- insinto "${QTHEADERDIR#${EPREFIX}}"/QtDesigner/private/ |
160 |
+ insinto "${QT4_HEADERDIR#${EPREFIX}}"/QtDesigner/private/ |
161 |
fi |
162 |
doins "${S}"/tools/designer/src/lib/shared/* |
163 |
doins "${S}"/tools/designer/src/lib/sdk/* |
164 |
|
165 |
diff --git a/dev-qt/linguist/linguist-4.8.9999.ebuild b/dev-qt/linguist/linguist-4.8.9999.ebuild |
166 |
index a0a367a..eec9dc2 100644 |
167 |
--- a/dev-qt/linguist/linguist-4.8.9999.ebuild |
168 |
+++ b/dev-qt/linguist/linguist-4.8.9999.ebuild |
169 |
@@ -4,10 +4,10 @@ |
170 |
|
171 |
EAPI=5 |
172 |
|
173 |
-inherit eutils qt4-build |
174 |
+inherit eutils qt4-build-multilib |
175 |
|
176 |
DESCRIPTION="Graphical tool for translating Qt applications" |
177 |
-SLOT="4" |
178 |
+ |
179 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
180 |
KEYWORDS="" |
181 |
else |
182 |
@@ -23,15 +23,11 @@ DEPEND=" |
183 |
" |
184 |
RDEPEND="${DEPEND}" |
185 |
|
186 |
-pkg_setup() { |
187 |
- QT4_TARGET_DIRECTORIES="tools/linguist/linguist" |
188 |
- QT4_EXTRACT_DIRECTORIES=" |
189 |
- include |
190 |
- src |
191 |
- tools" |
192 |
- |
193 |
- qt4-build_pkg_setup |
194 |
-} |
195 |
+QT4_TARGET_DIRECTORIES="tools/linguist/linguist" |
196 |
+QT4_EXTRACT_DIRECTORIES=" |
197 |
+ include |
198 |
+ src |
199 |
+ tools" |
200 |
|
201 |
src_configure() { |
202 |
myconf+=" |
203 |
@@ -40,11 +36,11 @@ src_configure() { |
204 |
-sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb |
205 |
-fontconfig -no-svg -no-webkit -no-phonon -no-opengl" |
206 |
|
207 |
- qt4-build_src_configure |
208 |
+ qt4-build-multilib_src_configure |
209 |
} |
210 |
|
211 |
src_install() { |
212 |
- qt4-build_src_install |
213 |
+ qt4-build-multilib_src_install |
214 |
|
215 |
newicon tools/linguist/linguist/images/icons/linguist-128-32.png linguist.png |
216 |
make_desktop_entry linguist Linguist linguist 'Qt;Development;Translation' |
217 |
|
218 |
diff --git a/dev-qt/pixeltool/pixeltool-4.8.9999.ebuild b/dev-qt/pixeltool/pixeltool-4.8.9999.ebuild |
219 |
index 2f5a6fe..9086ea0 100644 |
220 |
--- a/dev-qt/pixeltool/pixeltool-4.8.9999.ebuild |
221 |
+++ b/dev-qt/pixeltool/pixeltool-4.8.9999.ebuild |
222 |
@@ -4,10 +4,10 @@ |
223 |
|
224 |
EAPI=5 |
225 |
|
226 |
-inherit qt4-build |
227 |
+inherit qt4-build-multilib |
228 |
|
229 |
DESCRIPTION="Qt screen magnifier" |
230 |
-SLOT="4" |
231 |
+ |
232 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
233 |
KEYWORDS="" |
234 |
else |
235 |
@@ -23,16 +23,12 @@ DEPEND=" |
236 |
" |
237 |
RDEPEND="${DEPEND}" |
238 |
|
239 |
-pkg_setup() { |
240 |
- QT4_TARGET_DIRECTORIES="tools/pixeltool" |
241 |
- QT4_EXTRACT_DIRECTORIES=" |
242 |
- include |
243 |
- src/corelib |
244 |
- src/gui |
245 |
- tools/pixeltool" |
246 |
- |
247 |
- qt4-build_pkg_setup |
248 |
-} |
249 |
+QT4_TARGET_DIRECTORIES="tools/pixeltool" |
250 |
+QT4_EXTRACT_DIRECTORIES=" |
251 |
+ include |
252 |
+ src/corelib |
253 |
+ src/gui |
254 |
+ tools/pixeltool" |
255 |
|
256 |
src_configure() { |
257 |
myconf+=" |
258 |
@@ -41,5 +37,5 @@ src_configure() { |
259 |
-sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb |
260 |
-fontconfig -no-svg -no-webkit -no-phonon -no-opengl" |
261 |
|
262 |
- qt4-build_src_configure |
263 |
+ qt4-build-multilib_src_configure |
264 |
} |
265 |
|
266 |
diff --git a/dev-qt/qdbusviewer/qdbusviewer-4.8.9999.ebuild b/dev-qt/qdbusviewer/qdbusviewer-4.8.9999.ebuild |
267 |
index a87515a..09d4d01 100644 |
268 |
--- a/dev-qt/qdbusviewer/qdbusviewer-4.8.9999.ebuild |
269 |
+++ b/dev-qt/qdbusviewer/qdbusviewer-4.8.9999.ebuild |
270 |
@@ -4,10 +4,10 @@ |
271 |
|
272 |
EAPI=5 |
273 |
|
274 |
-inherit eutils qt4-build |
275 |
+inherit eutils qt4-build-multilib |
276 |
|
277 |
DESCRIPTION="Graphical tool that lets you introspect D-Bus objects and messages" |
278 |
-SLOT="4" |
279 |
+ |
280 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
281 |
KEYWORDS="" |
282 |
else |
283 |
@@ -23,15 +23,11 @@ DEPEND=" |
284 |
" |
285 |
RDEPEND="${DEPEND}" |
286 |
|
287 |
-pkg_setup() { |
288 |
- QT4_TARGET_DIRECTORIES="tools/qdbus/qdbusviewer" |
289 |
- QT4_EXTRACT_DIRECTORIES=" |
290 |
- include |
291 |
- src |
292 |
- tools/qdbus" |
293 |
- |
294 |
- qt4-build_pkg_setup |
295 |
-} |
296 |
+QT4_TARGET_DIRECTORIES="tools/qdbus/qdbusviewer" |
297 |
+QT4_EXTRACT_DIRECTORIES=" |
298 |
+ include |
299 |
+ src |
300 |
+ tools/qdbus" |
301 |
|
302 |
src_configure() { |
303 |
myconf+=" |
304 |
@@ -40,11 +36,11 @@ src_configure() { |
305 |
-sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb |
306 |
-fontconfig -no-svg -no-webkit -no-phonon -no-opengl" |
307 |
|
308 |
- qt4-build_src_configure |
309 |
+ qt4-build-multilib_src_configure |
310 |
} |
311 |
|
312 |
src_install() { |
313 |
- qt4-build_src_install |
314 |
+ qt4-build-multilib_src_install |
315 |
|
316 |
newicon tools/qdbus/qdbusviewer/images/qdbusviewer-128.png qdbusviewer.png |
317 |
make_desktop_entry qdbusviewer QDBusViewer qdbusviewer 'Qt;Development' |
318 |
|
319 |
diff --git a/dev-qt/qt3support/qt3support-4.8.9999.ebuild b/dev-qt/qt3support/qt3support-4.8.9999.ebuild |
320 |
index 0bc8273..4b4927c 100644 |
321 |
--- a/dev-qt/qt3support/qt3support-4.8.9999.ebuild |
322 |
+++ b/dev-qt/qt3support/qt3support-4.8.9999.ebuild |
323 |
@@ -2,17 +2,18 @@ |
324 |
# Distributed under the terms of the GNU General Public License v2 |
325 |
# $Header: $ |
326 |
|
327 |
-EAPI=4 |
328 |
+EAPI=5 |
329 |
|
330 |
-inherit qt4-build |
331 |
+inherit qt4-build-multilib |
332 |
|
333 |
DESCRIPTION="The Qt3Support module for the Qt toolkit" |
334 |
-SLOT="4" |
335 |
+ |
336 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
337 |
KEYWORDS="" |
338 |
else |
339 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" |
340 |
fi |
341 |
+ |
342 |
IUSE="+accessibility" |
343 |
|
344 |
DEPEND=" |
345 |
@@ -22,24 +23,20 @@ DEPEND=" |
346 |
" |
347 |
RDEPEND="${DEPEND}" |
348 |
|
349 |
-pkg_setup() { |
350 |
- QT4_TARGET_DIRECTORIES=" |
351 |
- src/qt3support |
352 |
- src/tools/uic3 |
353 |
- tools/porting" |
354 |
+QT4_TARGET_DIRECTORIES=" |
355 |
+ src/qt3support |
356 |
+ src/tools/uic3 |
357 |
+ tools/porting" |
358 |
|
359 |
- QT4_EXTRACT_DIRECTORIES=" |
360 |
- src |
361 |
- include |
362 |
- tools" |
363 |
- |
364 |
- qt4-build_pkg_setup |
365 |
-} |
366 |
+QT4_EXTRACT_DIRECTORIES=" |
367 |
+ src |
368 |
+ include |
369 |
+ tools" |
370 |
|
371 |
src_configure() { |
372 |
myconf+=" |
373 |
-qt3support |
374 |
$(qt_use accessibility)" |
375 |
|
376 |
- qt4-build_src_configure |
377 |
+ qt4-build-multilib_src_configure |
378 |
} |
379 |
|
380 |
diff --git a/dev-qt/qtbearer/qtbearer-4.8.9999.ebuild b/dev-qt/qtbearer/qtbearer-4.8.9999.ebuild |
381 |
index a0d6807..b941bbc 100644 |
382 |
--- a/dev-qt/qtbearer/qtbearer-4.8.9999.ebuild |
383 |
+++ b/dev-qt/qtbearer/qtbearer-4.8.9999.ebuild |
384 |
@@ -2,17 +2,18 @@ |
385 |
# Distributed under the terms of the GNU General Public License v2 |
386 |
# $Header: $ |
387 |
|
388 |
-EAPI=4 |
389 |
+EAPI=5 |
390 |
|
391 |
-inherit qt4-build |
392 |
+inherit qt4-build-multilib |
393 |
|
394 |
DESCRIPTION="The network bearer plugins for the Qt toolkit" |
395 |
-SLOT="4" |
396 |
+ |
397 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
398 |
KEYWORDS="" |
399 |
else |
400 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
401 |
fi |
402 |
+ |
403 |
IUSE="connman networkmanager" |
404 |
|
405 |
DEPEND=" |
406 |
@@ -25,23 +26,23 @@ RDEPEND="${DEPEND} |
407 |
networkmanager? ( net-misc/networkmanager ) |
408 |
" |
409 |
|
410 |
-pkg_setup() { |
411 |
- QT4_EXTRACT_DIRECTORIES=" |
412 |
- include/QtCore |
413 |
- include/QtDBus |
414 |
- include/QtNetwork |
415 |
- src/corelib |
416 |
- src/dbus |
417 |
- src/network |
418 |
- src/plugins/bearer |
419 |
- src/plugins/qpluginbase.pri" |
420 |
+QT4_EXTRACT_DIRECTORIES=" |
421 |
+ include/QtCore |
422 |
+ include/QtDBus |
423 |
+ include/QtNetwork |
424 |
+ src/corelib |
425 |
+ src/dbus |
426 |
+ src/network |
427 |
+ src/plugins/bearer |
428 |
+ src/plugins/qpluginbase.pri" |
429 |
|
430 |
+pkg_setup() { |
431 |
QT4_TARGET_DIRECTORIES=" |
432 |
src/plugins/bearer/generic |
433 |
$(use connman && echo src/plugins/bearer/connman) |
434 |
$(use networkmanager && echo src/plugins/bearer/networkmanager)" |
435 |
|
436 |
- qt4-build_pkg_setup |
437 |
+ qt4-build-multilib_pkg_setup |
438 |
} |
439 |
|
440 |
src_configure() { |
441 |
@@ -54,5 +55,5 @@ src_configure() { |
442 |
-no-sm -no-xshape -no-xvideo -no-xsync -no-xinerama -no-xcursor -no-xfixes |
443 |
-no-xrandr -no-xrender -no-mitshm -no-fontconfig -no-freetype -no-xinput -no-xkb" |
444 |
|
445 |
- qt4-build_src_configure |
446 |
+ qt4-build-multilib_src_configure |
447 |
} |
448 |
|
449 |
diff --git a/dev-qt/qtcore/qtcore-4.8.9999.ebuild b/dev-qt/qtcore/qtcore-4.8.9999.ebuild |
450 |
index 2ac14dd..4c4f5a3 100644 |
451 |
--- a/dev-qt/qtcore/qtcore-4.8.9999.ebuild |
452 |
+++ b/dev-qt/qtcore/qtcore-4.8.9999.ebuild |
453 |
@@ -4,23 +4,23 @@ |
454 |
|
455 |
EAPI=5 |
456 |
|
457 |
-inherit qt4-build |
458 |
+inherit qt4-build-multilib |
459 |
|
460 |
DESCRIPTION="Cross-platform application development framework" |
461 |
-SLOT="4" |
462 |
+ |
463 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
464 |
KEYWORDS="" |
465 |
else |
466 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
467 |
fi |
468 |
+ |
469 |
IUSE="+glib iconv icu qt3support ssl" |
470 |
|
471 |
DEPEND=" |
472 |
sys-libs/zlib |
473 |
glib? ( dev-libs/glib:2 ) |
474 |
icu? ( >=dev-libs/icu-49:= ) |
475 |
- ssl? ( dev-libs/openssl ) |
476 |
- !<x11-libs/cairo-1.10.2-r2 |
477 |
+ ssl? ( dev-libs/openssl:0 ) |
478 |
" |
479 |
RDEPEND="${DEPEND}" |
480 |
PDEPEND=" |
481 |
@@ -31,41 +31,39 @@ PATCHES=( |
482 |
"${FILESDIR}/moc-boost-lexical-cast.patch" |
483 |
) |
484 |
|
485 |
-pkg_setup() { |
486 |
- QT4_TARGET_DIRECTORIES=" |
487 |
- src/tools/bootstrap |
488 |
- src/tools/moc |
489 |
- src/tools/rcc |
490 |
- src/tools/uic |
491 |
- src/corelib |
492 |
- src/xml |
493 |
- src/network |
494 |
- src/plugins/codecs |
495 |
- tools/linguist/lconvert |
496 |
- tools/linguist/lrelease |
497 |
- tools/linguist/lupdate" |
498 |
- |
499 |
- QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
500 |
- include |
501 |
- src/plugins/plugins.pro |
502 |
- src/plugins/qpluginbase.pri |
503 |
- src/src.pro |
504 |
- src/3rdparty/des |
505 |
- src/3rdparty/harfbuzz |
506 |
- src/3rdparty/md4 |
507 |
- src/3rdparty/md5 |
508 |
- src/3rdparty/sha1 |
509 |
- src/3rdparty/easing |
510 |
- src/3rdparty/zlib_dependency.pri |
511 |
- src/declarative |
512 |
- src/gui |
513 |
- src/script |
514 |
- tools/shared |
515 |
- tools/linguist/shared |
516 |
- translations" |
517 |
- |
518 |
- qt4-build_pkg_setup |
519 |
-} |
520 |
+QT4_TARGET_DIRECTORIES=" |
521 |
+ src/tools/bootstrap |
522 |
+ src/tools/moc |
523 |
+ src/tools/rcc |
524 |
+ src/tools/uic |
525 |
+ src/corelib |
526 |
+ src/xml |
527 |
+ src/network |
528 |
+ src/plugins/codecs |
529 |
+ tools/linguist/lconvert |
530 |
+ tools/linguist/lrelease |
531 |
+ tools/linguist/lupdate" |
532 |
+ |
533 |
+QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
534 |
+ include |
535 |
+ src/plugins/plugins.pro |
536 |
+ src/plugins/qpluginbase.pri |
537 |
+ src/src.pro |
538 |
+ src/3rdparty/des |
539 |
+ src/3rdparty/harfbuzz |
540 |
+ src/3rdparty/md4 |
541 |
+ src/3rdparty/md5 |
542 |
+ src/3rdparty/sha1 |
543 |
+ src/3rdparty/easing |
544 |
+ src/3rdparty/zlib_dependency.pri |
545 |
+ src/declarative |
546 |
+ src/gui |
547 |
+ src/script |
548 |
+ tools/shared |
549 |
+ tools/linguist/shared |
550 |
+ translations" |
551 |
+ |
552 |
+QCONFIG_DEFINE="QT_ZLIB" |
553 |
|
554 |
src_prepare() { |
555 |
# Don't pre-strip, bug 235026 |
556 |
@@ -73,7 +71,7 @@ src_prepare() { |
557 |
echo "CONFIG+=nostrip" >> "${S}"/src/plugins/codecs/${i}/${i}.pro |
558 |
done |
559 |
|
560 |
- qt4-build_src_prepare |
561 |
+ qt4-build-multilib_src_prepare |
562 |
|
563 |
# bug 172219 |
564 |
sed -i -e "s:CXXFLAGS.*=:CXXFLAGS=${CXXFLAGS} :" \ |
565 |
@@ -103,7 +101,7 @@ src_configure() { |
566 |
$(use ssl && echo -openssl-linked || echo -no-openssl) |
567 |
$(qt_use qt3support)" |
568 |
|
569 |
- qt4-build_src_configure |
570 |
+ qt4-build-multilib_src_configure |
571 |
} |
572 |
|
573 |
src_install() { |
574 |
@@ -114,8 +112,8 @@ src_install() { |
575 |
emake INSTALL_ROOT="${D}" install_mkspecs |
576 |
|
577 |
# install private headers |
578 |
- insinto "${QTHEADERDIR#${EPREFIX}}"/QtCore/private |
579 |
- find "${S}"/src/corelib -type f -name "*_p.h" -exec doins {} + |
580 |
+ insinto "${QT4_HEADERDIR#${EPREFIX}}"/QtCore/private |
581 |
+ find "${S}"/src/corelib -type f -name "*_p.h" -exec doins '{}' + |
582 |
|
583 |
# use freshly built libraries |
584 |
local DYLD_FPATH= |
585 |
@@ -125,7 +123,7 @@ src_install() { |
586 |
LD_LIBRARY_PATH="${S}/lib" \ |
587 |
"${S}"/bin/lrelease translations/*.ts \ |
588 |
|| die "generating translations failed" |
589 |
- insinto "${QTTRANSDIR#${EPREFIX}}" |
590 |
+ insinto "${QT4_TRANSLATIONDIR#${EPREFIX}}" |
591 |
doins translations/*.qm |
592 |
|
593 |
setqtenv |
594 |
@@ -142,32 +140,30 @@ src_install() { |
595 |
EOF |
596 |
doenvd "${T}"/44qt4 |
597 |
|
598 |
- dodir "${QTDATADIR#${EPREFIX}}"/mkspecs/gentoo |
599 |
- mv "${D}/${QTDATADIR}"/mkspecs/qconfig.pri "${D}${QTDATADIR}"/mkspecs/gentoo \ |
600 |
- || die "failed to move qconfig.pri" |
601 |
+ dodir "${QT4_DATADIR#${EPREFIX}}"/mkspecs/gentoo |
602 |
+ mv "${D}${QT4_DATADIR}"/mkspecs/{qconfig.pri,gentoo/} || die |
603 |
|
604 |
# Framework hacking |
605 |
if use aqua && [[ ${CHOST#*-darwin} -ge 9 ]]; then |
606 |
# TODO: do this better |
607 |
sed -i -e '2a#include <QtCore/Gentoo/gentoo-qconfig.h>\n' \ |
608 |
- "${D}${QTLIBDIR}"/QtCore.framework/Headers/qconfig.h \ |
609 |
+ "${D}${QT4_LIBDIR}"/QtCore.framework/Headers/qconfig.h \ |
610 |
|| die "sed for qconfig.h failed." |
611 |
- dosym "${QTHEADERDIR#${EPREFIX}}"/Gentoo "${QTLIBDIR#${EPREFIX}}"/QtCore.framework/Headers/Gentoo |
612 |
+ dosym "${QT4_HEADERDIR#${EPREFIX}}"/Gentoo "${QT4_LIBDIR#${EPREFIX}}"/QtCore.framework/Headers/Gentoo |
613 |
else |
614 |
sed -i -e '2a#include <Gentoo/gentoo-qconfig.h>\n' \ |
615 |
- "${D}${QTHEADERDIR}"/QtCore/qconfig.h \ |
616 |
- "${D}${QTHEADERDIR}"/Qt/qconfig.h \ |
617 |
+ "${D}${QT4_HEADERDIR}"/QtCore/qconfig.h \ |
618 |
+ "${D}${QT4_HEADERDIR}"/Qt/qconfig.h \ |
619 |
|| die "sed for qconfig.h failed" |
620 |
fi |
621 |
|
622 |
- QCONFIG_DEFINE="QT_ZLIB" |
623 |
install_qconfigs |
624 |
|
625 |
# remove .la files |
626 |
prune_libtool_files |
627 |
|
628 |
- keepdir "${QTSYSCONFDIR#${EPREFIX}}" |
629 |
- |
630 |
- # Framework magic |
631 |
+ # framework magic |
632 |
fix_includes |
633 |
+ |
634 |
+ keepdir "${QT4_SYSCONFDIR#${EPREFIX}}" |
635 |
} |
636 |
|
637 |
diff --git a/dev-qt/qtdbus/qtdbus-4.8.9999.ebuild b/dev-qt/qtdbus/qtdbus-4.8.9999.ebuild |
638 |
index f2fc13b..cf203e4 100644 |
639 |
--- a/dev-qt/qtdbus/qtdbus-4.8.9999.ebuild |
640 |
+++ b/dev-qt/qtdbus/qtdbus-4.8.9999.ebuild |
641 |
@@ -2,22 +2,23 @@ |
642 |
# Distributed under the terms of the GNU General Public License v2 |
643 |
# $Header: $ |
644 |
|
645 |
-EAPI=4 |
646 |
+EAPI=5 |
647 |
|
648 |
-inherit qt4-build |
649 |
+inherit qt4-build-multilib |
650 |
|
651 |
DESCRIPTION="The DBus module for the Qt toolkit" |
652 |
-SLOT="4" |
653 |
+ |
654 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
655 |
KEYWORDS="" |
656 |
else |
657 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
658 |
fi |
659 |
+ |
660 |
IUSE="" |
661 |
|
662 |
DEPEND=" |
663 |
~dev-qt/qtcore-${PV}[aqua=,debug=] |
664 |
- >=sys-apps/dbus-1.2 |
665 |
+ sys-apps/dbus |
666 |
" |
667 |
RDEPEND="${DEPEND}" |
668 |
|
669 |
@@ -26,28 +27,24 @@ PATCHES=( |
670 |
"${FILESDIR}/${PN}-4.8.4-qdbusconnection-silence-warning.patch" |
671 |
) |
672 |
|
673 |
-pkg_setup() { |
674 |
- QT4_TARGET_DIRECTORIES=" |
675 |
- src/dbus |
676 |
- tools/qdbus/qdbus |
677 |
- tools/qdbus/qdbusxml2cpp |
678 |
- tools/qdbus/qdbuscpp2xml" |
679 |
+QT4_TARGET_DIRECTORIES=" |
680 |
+ src/dbus |
681 |
+ tools/qdbus/qdbus |
682 |
+ tools/qdbus/qdbusxml2cpp |
683 |
+ tools/qdbus/qdbuscpp2xml" |
684 |
|
685 |
- QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
686 |
- include/QtCore |
687 |
- include/QtDBus |
688 |
- include/QtXml |
689 |
- src/corelib |
690 |
- src/xml" |
691 |
+QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
692 |
+ include/QtCore |
693 |
+ include/QtDBus |
694 |
+ include/QtXml |
695 |
+ src/corelib |
696 |
+ src/xml" |
697 |
|
698 |
- QCONFIG_ADD="dbus dbus-linked" |
699 |
- QCONFIG_DEFINE="QT_DBUS" |
700 |
- |
701 |
- qt4-build_pkg_setup |
702 |
-} |
703 |
+QCONFIG_ADD="dbus dbus-linked" |
704 |
+QCONFIG_DEFINE="QT_DBUS" |
705 |
|
706 |
src_configure() { |
707 |
myconf+=" -dbus-linked" |
708 |
|
709 |
- qt4-build_src_configure |
710 |
+ qt4-build-multilib_src_configure |
711 |
} |
712 |
|
713 |
diff --git a/dev-qt/qtdeclarative/qtdeclarative-4.8.9999.ebuild b/dev-qt/qtdeclarative/qtdeclarative-4.8.9999.ebuild |
714 |
index 063b4a7..8b1c7b1 100644 |
715 |
--- a/dev-qt/qtdeclarative/qtdeclarative-4.8.9999.ebuild |
716 |
+++ b/dev-qt/qtdeclarative/qtdeclarative-4.8.9999.ebuild |
717 |
@@ -2,17 +2,18 @@ |
718 |
# Distributed under the terms of the GNU General Public License v2 |
719 |
# $Header: $ |
720 |
|
721 |
-EAPI=4 |
722 |
+EAPI=5 |
723 |
|
724 |
-inherit qt4-build |
725 |
+inherit qt4-build-multilib |
726 |
|
727 |
DESCRIPTION="The Declarative module for the Qt toolkit" |
728 |
-SLOT="4" |
729 |
+ |
730 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
731 |
KEYWORDS="" |
732 |
else |
733 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" |
734 |
fi |
735 |
+ |
736 |
IUSE="+accessibility qt3support webkit" |
737 |
|
738 |
DEPEND=" |
739 |
@@ -28,28 +29,27 @@ DEPEND=" |
740 |
" |
741 |
RDEPEND="${DEPEND}" |
742 |
|
743 |
-pkg_setup() { |
744 |
- QT4_TARGET_DIRECTORIES=" |
745 |
- src/declarative |
746 |
- src/imports |
747 |
- src/plugins/qmltooling |
748 |
- tools/qml |
749 |
- tools/qmlplugindump" |
750 |
+QT4_TARGET_DIRECTORIES=" |
751 |
+ src/declarative |
752 |
+ src/imports |
753 |
+ src/plugins/qmltooling |
754 |
+ tools/qml |
755 |
+ tools/qmlplugindump" |
756 |
|
757 |
- if use webkit; then |
758 |
- QT4_TARGET_DIRECTORIES+=" src/3rdparty/webkit/Source/WebKit/qt/declarative" |
759 |
- fi |
760 |
+QT4_EXTRACT_DIRECTORIES=" |
761 |
+ include |
762 |
+ src |
763 |
+ tools |
764 |
+ translations" |
765 |
|
766 |
- QT4_EXTRACT_DIRECTORIES=" |
767 |
- include |
768 |
- src |
769 |
- tools |
770 |
- translations" |
771 |
+QCONFIG_ADD="declarative" |
772 |
+QCONFIG_DEFINE="QT_DECLARATIVE" |
773 |
|
774 |
- QCONFIG_ADD="declarative" |
775 |
- QCONFIG_DEFINE="QT_DECLARATIVE" |
776 |
+pkg_setup() { |
777 |
+ use webkit && QT4_TARGET_DIRECTORIES+=" |
778 |
+ src/3rdparty/webkit/Source/WebKit/qt/declarative" |
779 |
|
780 |
- qt4-build_pkg_setup |
781 |
+ qt4-build-multilib_pkg_setup |
782 |
} |
783 |
|
784 |
src_configure() { |
785 |
@@ -58,19 +58,19 @@ src_configure() { |
786 |
$(qt_use accessibility) |
787 |
$(qt_use qt3support) |
788 |
$(qt_use webkit)" |
789 |
- qt4-build_src_configure |
790 |
+ qt4-build-multilib_src_configure |
791 |
} |
792 |
|
793 |
src_install() { |
794 |
- qt4-build_src_install |
795 |
+ qt4-build-multilib_src_install |
796 |
|
797 |
# install private headers |
798 |
if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then |
799 |
- insinto "${QTLIBDIR#${EPREFIX}}"/QtDeclarative.framework/Headers/private |
800 |
+ insinto "${QT4_LIBDIR#${EPREFIX}}"/QtDeclarative.framework/Headers/private |
801 |
# ran for the 2nd time, need it for the updated headers |
802 |
fix_includes |
803 |
else |
804 |
- insinto "${QTHEADERDIR#${EPREFIX}}"/QtDeclarative/private |
805 |
+ insinto "${QT4_HEADERDIR#${EPREFIX}}"/QtDeclarative/private |
806 |
fi |
807 |
- find "${S}"/src/declarative/ -type f -name "*_p.h" -exec doins {} + |
808 |
+ find "${S}"/src/declarative/ -type f -name "*_p.h" -exec doins '{}' + |
809 |
} |
810 |
|
811 |
diff --git a/dev-qt/qtdemo/qtdemo-4.8.9999.ebuild b/dev-qt/qtdemo/qtdemo-4.8.9999.ebuild |
812 |
index 20344e4..7a57ed4 100644 |
813 |
--- a/dev-qt/qtdemo/qtdemo-4.8.9999.ebuild |
814 |
+++ b/dev-qt/qtdemo/qtdemo-4.8.9999.ebuild |
815 |
@@ -2,17 +2,18 @@ |
816 |
# Distributed under the terms of the GNU General Public License v2 |
817 |
# $Header: $ |
818 |
|
819 |
-EAPI=4 |
820 |
+EAPI=5 |
821 |
|
822 |
-inherit qt4-build |
823 |
+inherit qt4-build-multilib |
824 |
|
825 |
DESCRIPTION="Demonstration module and examples for the Qt toolkit" |
826 |
-SLOT="4" |
827 |
+ |
828 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
829 |
KEYWORDS="" |
830 |
else |
831 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-macos" |
832 |
fi |
833 |
+ |
834 |
IUSE="dbus declarative kde multimedia opengl openvg phonon qt3support webkit xmlpatterns" |
835 |
|
836 |
DEPEND=" |
837 |
@@ -43,21 +44,18 @@ PATCHES=( |
838 |
"${FILESDIR}/${PN}-4.6-plugandpaint.patch" |
839 |
) |
840 |
|
841 |
-pkg_setup() { |
842 |
- QT4_TARGET_DIRECTORIES=" |
843 |
- demos |
844 |
- examples" |
845 |
- QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
846 |
- doc/src/images |
847 |
- include |
848 |
- src |
849 |
- tools" |
850 |
- |
851 |
- qt4-build_pkg_setup |
852 |
-} |
853 |
+QT4_TARGET_DIRECTORIES=" |
854 |
+ demos |
855 |
+ examples" |
856 |
+ |
857 |
+QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
858 |
+ doc/src/images |
859 |
+ include |
860 |
+ src |
861 |
+ tools" |
862 |
|
863 |
src_prepare() { |
864 |
- qt4-build_src_prepare |
865 |
+ qt4-build-multilib_src_prepare |
866 |
|
867 |
# Array mapping USE flags to subdirs |
868 |
local flags_subdirs_map=( |
869 |
@@ -105,12 +103,12 @@ src_configure() { |
870 |
$(qt_use webkit) |
871 |
$(qt_use xmlpatterns)" |
872 |
|
873 |
- qt4-build_src_configure |
874 |
+ qt4-build-multilib_src_configure |
875 |
} |
876 |
|
877 |
src_install() { |
878 |
- insinto "${QTDOCDIR#${EPREFIX}}"/src |
879 |
+ insinto "${QT4_DOCDIR#${EPREFIX}}"/src |
880 |
doins -r doc/src/images |
881 |
|
882 |
- qt4-build_src_install |
883 |
+ qt4-build-multilib_src_install |
884 |
} |
885 |
|
886 |
diff --git a/dev-qt/qtgui/qtgui-4.8.9999.ebuild b/dev-qt/qtgui/qtgui-4.8.9999.ebuild |
887 |
index 25e758b..2f90936 100644 |
888 |
--- a/dev-qt/qtgui/qtgui-4.8.9999.ebuild |
889 |
+++ b/dev-qt/qtgui/qtgui-4.8.9999.ebuild |
890 |
@@ -4,10 +4,10 @@ |
891 |
|
892 |
EAPI=5 |
893 |
|
894 |
-inherit eutils qt4-build |
895 |
+inherit eutils qt4-build-multilib |
896 |
|
897 |
DESCRIPTION="The GUI module for the Qt toolkit" |
898 |
-SLOT="4" |
899 |
+ |
900 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
901 |
KEYWORDS="" |
902 |
else |
903 |
@@ -69,20 +69,16 @@ PATCHES=( |
904 |
"${FILESDIR}/${PN}-4.7.3-cups.patch" |
905 |
) |
906 |
|
907 |
-pkg_setup() { |
908 |
- QT4_TARGET_DIRECTORIES=" |
909 |
- src/gui |
910 |
- src/scripttools |
911 |
- src/plugins/imageformats/gif |
912 |
- src/plugins/imageformats/ico |
913 |
- src/plugins/imageformats/jpeg |
914 |
- src/plugins/imageformats/tga |
915 |
- src/plugins/inputmethods" |
916 |
- |
917 |
- QT4_EXTRACT_DIRECTORIES=" |
918 |
- include |
919 |
- src" |
920 |
+QT4_TARGET_DIRECTORIES=" |
921 |
+ src/gui |
922 |
+ src/scripttools |
923 |
+ src/plugins/imageformats/gif |
924 |
+ src/plugins/imageformats/ico |
925 |
+ src/plugins/imageformats/jpeg |
926 |
+ src/plugins/imageformats/tga |
927 |
+ src/plugins/inputmethods" |
928 |
|
929 |
+pkg_setup() { |
930 |
use accessibility && QT4_TARGET_DIRECTORIES+=" src/plugins/accessible/widgets" |
931 |
use mng && QT4_TARGET_DIRECTORIES+=" src/plugins/imageformats/mng" |
932 |
use tiff && QT4_TARGET_DIRECTORIES+=" src/plugins/imageformats/tiff" |
933 |
@@ -91,13 +87,15 @@ pkg_setup() { |
934 |
# mac version does not contain qtconfig? |
935 |
[[ ${CHOST} == *-darwin* ]] || QT4_TARGET_DIRECTORIES+=" tools/qtconfig" |
936 |
|
937 |
- QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} ${QT4_EXTRACT_DIRECTORIES}" |
938 |
+ QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
939 |
+ include |
940 |
+ src" |
941 |
|
942 |
- qt4-build_pkg_setup |
943 |
+ qt4-build-multilib_pkg_setup |
944 |
} |
945 |
|
946 |
src_prepare() { |
947 |
- qt4-build_src_prepare |
948 |
+ qt4-build-multilib_src_prepare |
949 |
|
950 |
# Add -xvideo to the list of accepted configure options |
951 |
sed -i -e 's:|-xinerama|:&-xvideo|:' configure |
952 |
@@ -123,9 +121,10 @@ src_configure() { |
953 |
-sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb |
954 |
-fontconfig -no-svg -no-webkit -no-phonon -no-opengl" |
955 |
|
956 |
- [[ ${CHOST} == *86*-apple-darwin* ]] && myconf+=" -no-ssse3" #367045 |
957 |
+ # bug 367045 |
958 |
+ [[ ${CHOST} == *86*-apple-darwin* ]] && myconf+=" -no-ssse3" |
959 |
|
960 |
- qt4-build_src_configure |
961 |
+ qt4-build-multilib_src_configure |
962 |
|
963 |
if use gtkstyle; then |
964 |
sed -i -e 's:-I/usr/include/qt4 ::' src/gui/Makefile || die "sed failed" |
965 |
@@ -162,15 +161,15 @@ src_install() { |
966 |
QT_XINPUT QT_XKB QT_XRANDR QT_XRENDER QT_XSYNC |
967 |
$(use xv && echo QT_XVIDEO)" |
968 |
|
969 |
- qt4-build_src_install |
970 |
+ qt4-build-multilib_src_install |
971 |
|
972 |
# install private headers |
973 |
if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then |
974 |
- insinto "${QTLIBDIR#${EPREFIX}}"/QtGui.framework/Headers/private/ |
975 |
+ insinto "${QT4_LIBDIR#${EPREFIX}}"/QtGui.framework/Headers/private/ |
976 |
else |
977 |
- insinto "${QTHEADERDIR#${EPREFIX}}"/QtGui/private |
978 |
+ insinto "${QT4_HEADERDIR#${EPREFIX}}"/QtGui/private |
979 |
fi |
980 |
- find "${S}"/src/gui -type f -name '*_p.h' -exec doins {} + |
981 |
+ find "${S}"/src/gui -type f -name '*_p.h' -exec doins '{}' + |
982 |
|
983 |
if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then |
984 |
# rerun to get links to headers right |
985 |
@@ -187,7 +186,7 @@ src_install() { |
986 |
|
987 |
# bug 388551 |
988 |
if use gtkstyle; then |
989 |
- local tempfile=${T}/${PN}${SLOT}.sh |
990 |
+ local tempfile=${T}/${PN}4.sh |
991 |
cat <<-EOF > "${tempfile}" |
992 |
export GTK2_RC_FILES=\${HOME}/.gtkrc-2.0 |
993 |
EOF |
994 |
@@ -197,7 +196,7 @@ src_install() { |
995 |
} |
996 |
|
997 |
pkg_postinst() { |
998 |
- qt4-build_pkg_postinst |
999 |
+ qt4-build-multilib_pkg_postinst |
1000 |
|
1001 |
# raster is the default graphicssystem, set it on first install |
1002 |
eselect qtgraphicssystem set raster --use-old |
1003 |
|
1004 |
diff --git a/dev-qt/qthelp/qthelp-4.8.9999.ebuild b/dev-qt/qthelp/qthelp-4.8.9999.ebuild |
1005 |
index 5eebfea..3e4ec00 100644 |
1006 |
--- a/dev-qt/qthelp/qthelp-4.8.9999.ebuild |
1007 |
+++ b/dev-qt/qthelp/qthelp-4.8.9999.ebuild |
1008 |
@@ -4,7 +4,7 @@ |
1009 |
|
1010 |
EAPI=5 |
1011 |
|
1012 |
-inherit eutils qt4-build |
1013 |
+inherit qt4-build-multilib |
1014 |
|
1015 |
DESCRIPTION="The Help module for the Qt toolkit" |
1016 |
SRC_URI+=" |
1017 |
@@ -13,7 +13,6 @@ SRC_URI+=" |
1018 |
http://dev.gentoo.org/~pesa/distfiles/qt-assistant-compat-headers-4.7.tar.gz |
1019 |
)" |
1020 |
|
1021 |
-SLOT="4" |
1022 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
1023 |
KEYWORDS="" |
1024 |
else |
1025 |
@@ -33,31 +32,32 @@ DEPEND=" |
1026 |
" |
1027 |
RDEPEND="${DEPEND}" |
1028 |
|
1029 |
-pkg_setup() { |
1030 |
- QT4_TARGET_DIRECTORIES=" |
1031 |
- tools/assistant/lib/fulltextsearch |
1032 |
- tools/assistant/lib |
1033 |
- tools/assistant/tools/qhelpgenerator |
1034 |
- tools/assistant/tools/qcollectiongenerator |
1035 |
- tools/assistant/tools/qhelpconverter |
1036 |
- tools/qdoc3" |
1037 |
- QT4_EXTRACT_DIRECTORIES=" |
1038 |
- demos |
1039 |
- doc |
1040 |
- examples |
1041 |
- include |
1042 |
- src |
1043 |
- tools" |
1044 |
+QT4_TARGET_DIRECTORIES=" |
1045 |
+ tools/assistant/lib/fulltextsearch |
1046 |
+ tools/assistant/lib |
1047 |
+ tools/assistant/tools/qhelpgenerator |
1048 |
+ tools/assistant/tools/qcollectiongenerator |
1049 |
+ tools/assistant/tools/qhelpconverter |
1050 |
+ tools/qdoc3" |
1051 |
+ |
1052 |
+QT4_EXTRACT_DIRECTORIES=" |
1053 |
+ demos |
1054 |
+ doc |
1055 |
+ examples |
1056 |
+ include |
1057 |
+ src |
1058 |
+ tools" |
1059 |
|
1060 |
+pkg_setup() { |
1061 |
use compat && QT4_TARGET_DIRECTORIES+=" |
1062 |
tools/assistant/compat |
1063 |
tools/assistant/compat/lib" |
1064 |
|
1065 |
- qt4-build_pkg_setup |
1066 |
+ qt4-build-multilib_pkg_setup |
1067 |
} |
1068 |
|
1069 |
src_unpack() { |
1070 |
- qt4-build_src_unpack |
1071 |
+ qt4-build-multilib_src_unpack |
1072 |
|
1073 |
# compat version |
1074 |
# http://blog.qt.digia.com/blog/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/ |
1075 |
@@ -71,9 +71,9 @@ src_unpack() { |
1076 |
} |
1077 |
|
1078 |
src_prepare() { |
1079 |
- qt4-build_src_prepare |
1080 |
+ use compat && PATCHES+=("${FILESDIR}/${PN}-4.8.5-fix-compat.patch") |
1081 |
|
1082 |
- use compat && epatch "${FILESDIR}"/${PN}-4.8.5-fix-compat.patch |
1083 |
+ qt4-build-multilib_src_prepare |
1084 |
|
1085 |
# bug 348034 |
1086 |
sed -i -e '/^sub-qdoc3\.depends/d' doc/doc.pri || die |
1087 |
@@ -87,18 +87,18 @@ src_configure() { |
1088 |
-no-multimedia -no-opengl -no-phonon -no-qt3support -no-svg -no-webkit -no-xmlpatterns |
1089 |
-no-nas-sound -no-cups -no-nis -fontconfig" |
1090 |
|
1091 |
- qt4-build_src_configure |
1092 |
+ qt4-build-multilib_src_configure |
1093 |
} |
1094 |
|
1095 |
src_compile() { |
1096 |
# help libQtHelp find freshly built libQtCLucene (bug #289811) |
1097 |
- export LD_LIBRARY_PATH="${S}/lib:${QTLIBDIR}" |
1098 |
+ export LD_LIBRARY_PATH="${S}/lib:${QT4_LIBDIR}" |
1099 |
export DYLD_LIBRARY_PATH="${S}/lib:${S}/lib/QtHelp.framework" |
1100 |
|
1101 |
- qt4-build_src_compile |
1102 |
+ qt4-build-multilib_src_compile |
1103 |
|
1104 |
# ugly hack to build docs |
1105 |
- "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" || die |
1106 |
+ "${S}"/bin/qmake "LIBS+=-L${QT4_LIBDIR}" "CONFIG+=nostrip" || die |
1107 |
|
1108 |
if use doc; then |
1109 |
emake docs |
1110 |
@@ -109,19 +109,19 @@ src_compile() { |
1111 |
} |
1112 |
|
1113 |
src_install() { |
1114 |
- qt4-build_src_install |
1115 |
+ qt4-build-multilib_src_install |
1116 |
|
1117 |
emake INSTALL_ROOT="${D}" install_qchdocs |
1118 |
|
1119 |
# do not compress .qch files |
1120 |
- docompress -x "${QTDOCDIR}"/qch |
1121 |
+ docompress -x "${QT4_DOCDIR}"/qch |
1122 |
|
1123 |
if use doc; then |
1124 |
emake INSTALL_ROOT="${D}" install_htmldocs |
1125 |
fi |
1126 |
|
1127 |
if use compat; then |
1128 |
- insinto "${QTDATADIR#${EPREFIX}}"/mkspecs/features |
1129 |
+ insinto "${QT4_DATADIR#${EPREFIX}}"/mkspecs/features |
1130 |
doins tools/assistant/compat/features/assistant.prf |
1131 |
fi |
1132 |
} |
1133 |
|
1134 |
diff --git a/dev-qt/qtmultimedia/qtmultimedia-4.8.9999.ebuild b/dev-qt/qtmultimedia/qtmultimedia-4.8.9999.ebuild |
1135 |
index ad39ced..4e74b56 100644 |
1136 |
--- a/dev-qt/qtmultimedia/qtmultimedia-4.8.9999.ebuild |
1137 |
+++ b/dev-qt/qtmultimedia/qtmultimedia-4.8.9999.ebuild |
1138 |
@@ -2,17 +2,18 @@ |
1139 |
# Distributed under the terms of the GNU General Public License v2 |
1140 |
# $Header: $ |
1141 |
|
1142 |
-EAPI=4 |
1143 |
+EAPI=5 |
1144 |
|
1145 |
-inherit qt4-build |
1146 |
+inherit qt4-build-multilib |
1147 |
|
1148 |
DESCRIPTION="The Multimedia module for the Qt toolkit" |
1149 |
-SLOT="4" |
1150 |
+ |
1151 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
1152 |
KEYWORDS="" |
1153 |
else |
1154 |
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
1155 |
fi |
1156 |
+ |
1157 |
IUSE="alsa" |
1158 |
|
1159 |
DEPEND=" |
1160 |
@@ -26,24 +27,20 @@ PATCHES=( |
1161 |
"${FILESDIR}/${PN}-4.8.0-alsa.patch" |
1162 |
) |
1163 |
|
1164 |
-pkg_setup() { |
1165 |
- QT4_TARGET_DIRECTORIES=" |
1166 |
- src/multimedia" |
1167 |
+QT4_TARGET_DIRECTORIES=" |
1168 |
+ src/multimedia" |
1169 |
|
1170 |
- QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1171 |
- include/Qt |
1172 |
- include/QtCore |
1173 |
- include/QtGui |
1174 |
- include/QtMultimedia |
1175 |
- src/src.pro |
1176 |
- src/corelib |
1177 |
- src/gui" |
1178 |
+QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1179 |
+ include/Qt |
1180 |
+ include/QtCore |
1181 |
+ include/QtGui |
1182 |
+ include/QtMultimedia |
1183 |
+ src/src.pro |
1184 |
+ src/corelib |
1185 |
+ src/gui" |
1186 |
|
1187 |
- QCONFIG_ADD="multimedia" |
1188 |
- QCONFIG_DEFINE="QT_MULTIMEDIA" |
1189 |
- |
1190 |
- qt4-build_pkg_setup |
1191 |
-} |
1192 |
+QCONFIG_ADD="multimedia" |
1193 |
+QCONFIG_DEFINE="QT_MULTIMEDIA" |
1194 |
|
1195 |
src_configure() { |
1196 |
myconf+=" |
1197 |
@@ -56,5 +53,5 @@ src_configure() { |
1198 |
-no-sm -no-xshape -no-xvideo -no-xsync -no-xinerama -no-xcursor -no-xfixes |
1199 |
-no-xrandr -no-xrender -no-mitshm -no-fontconfig -no-freetype -no-xinput -no-xkb" |
1200 |
|
1201 |
- qt4-build_src_configure |
1202 |
+ qt4-build-multilib_src_configure |
1203 |
} |
1204 |
|
1205 |
diff --git a/dev-qt/qtopengl/qtopengl-4.8.9999.ebuild b/dev-qt/qtopengl/qtopengl-4.8.9999.ebuild |
1206 |
index a33d904..11b887b 100644 |
1207 |
--- a/dev-qt/qtopengl/qtopengl-4.8.9999.ebuild |
1208 |
+++ b/dev-qt/qtopengl/qtopengl-4.8.9999.ebuild |
1209 |
@@ -2,17 +2,18 @@ |
1210 |
# Distributed under the terms of the GNU General Public License v2 |
1211 |
# $Header: $ |
1212 |
|
1213 |
-EAPI=4 |
1214 |
+EAPI=5 |
1215 |
|
1216 |
-inherit qt4-build |
1217 |
+inherit qt4-build-multilib |
1218 |
|
1219 |
DESCRIPTION="The OpenGL module for the Qt toolkit" |
1220 |
-SLOT="4" |
1221 |
+ |
1222 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
1223 |
KEYWORDS="" |
1224 |
else |
1225 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
1226 |
fi |
1227 |
+ |
1228 |
IUSE="egl qt3support" |
1229 |
|
1230 |
DEPEND=" |
1231 |
@@ -24,26 +25,22 @@ DEPEND=" |
1232 |
" |
1233 |
RDEPEND="${DEPEND}" |
1234 |
|
1235 |
-pkg_setup() { |
1236 |
- QT4_TARGET_DIRECTORIES=" |
1237 |
- src/opengl |
1238 |
- src/plugins/graphicssystems/opengl" |
1239 |
+QT4_TARGET_DIRECTORIES=" |
1240 |
+ src/opengl |
1241 |
+ src/plugins/graphicssystems/opengl" |
1242 |
|
1243 |
- QT4_EXTRACT_DIRECTORIES=" |
1244 |
- include/QtCore |
1245 |
- include/QtGui |
1246 |
- include/QtOpenGL |
1247 |
- src/corelib |
1248 |
- src/gui |
1249 |
- src/opengl |
1250 |
- src/plugins |
1251 |
- src/3rdparty" |
1252 |
+QT4_EXTRACT_DIRECTORIES=" |
1253 |
+ include/QtCore |
1254 |
+ include/QtGui |
1255 |
+ include/QtOpenGL |
1256 |
+ src/corelib |
1257 |
+ src/gui |
1258 |
+ src/opengl |
1259 |
+ src/plugins |
1260 |
+ src/3rdparty" |
1261 |
|
1262 |
- QCONFIG_ADD="opengl" |
1263 |
- QCONFIG_DEFINE="QT_OPENGL" |
1264 |
- |
1265 |
- qt4-build_pkg_setup |
1266 |
-} |
1267 |
+QCONFIG_ADD="opengl" |
1268 |
+QCONFIG_DEFINE="QT_OPENGL" |
1269 |
|
1270 |
src_configure() { |
1271 |
myconf+=" |
1272 |
@@ -51,14 +48,11 @@ src_configure() { |
1273 |
$(qt_use qt3support) |
1274 |
$(qt_use egl)" |
1275 |
|
1276 |
- qt4-build_src_configure |
1277 |
- |
1278 |
- # Not building tools/designer/src/plugins/tools/view3d as it's |
1279 |
- # commented out of the build in the source |
1280 |
+ qt4-build-multilib_src_configure |
1281 |
} |
1282 |
|
1283 |
src_install() { |
1284 |
- qt4-build_src_install |
1285 |
+ qt4-build-multilib_src_install |
1286 |
|
1287 |
# touch the available graphics systems |
1288 |
dodir /usr/share/qt4/graphicssystems |
1289 |
|
1290 |
diff --git a/dev-qt/qtopenvg/qtopenvg-4.8.9999.ebuild b/dev-qt/qtopenvg/qtopenvg-4.8.9999.ebuild |
1291 |
index 2e54c08..e11f3af 100644 |
1292 |
--- a/dev-qt/qtopenvg/qtopenvg-4.8.9999.ebuild |
1293 |
+++ b/dev-qt/qtopenvg/qtopenvg-4.8.9999.ebuild |
1294 |
@@ -2,17 +2,18 @@ |
1295 |
# Distributed under the terms of the GNU General Public License v2 |
1296 |
# $Header: $ |
1297 |
|
1298 |
-EAPI=4 |
1299 |
+EAPI=5 |
1300 |
|
1301 |
-inherit qt4-build |
1302 |
+inherit qt4-build-multilib |
1303 |
|
1304 |
DESCRIPTION="The OpenVG module for the Qt toolkit" |
1305 |
-SLOT="4" |
1306 |
+ |
1307 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
1308 |
KEYWORDS="" |
1309 |
else |
1310 |
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
1311 |
fi |
1312 |
+ |
1313 |
IUSE="qt3support" |
1314 |
|
1315 |
DEPEND=" |
1316 |
@@ -22,39 +23,33 @@ DEPEND=" |
1317 |
" |
1318 |
RDEPEND="${DEPEND}" |
1319 |
|
1320 |
-pkg_setup() { |
1321 |
- QT4_TARGET_DIRECTORIES=" |
1322 |
- src/openvg |
1323 |
- src/plugins/graphicssystems/openvg" |
1324 |
- |
1325 |
- QT4_EXTRACT_DIRECTORIES=" |
1326 |
- include/QtCore |
1327 |
- include/QtGui |
1328 |
- include/QtOpenVG |
1329 |
- src/corelib |
1330 |
- src/gui |
1331 |
- src/openvg |
1332 |
- src/plugins |
1333 |
- src/3rdparty" |
1334 |
- |
1335 |
- QCONFIG_ADD="openvg" |
1336 |
- QCONFIG_DEFINE="QT_OPENVG" |
1337 |
- |
1338 |
- qt4-build_pkg_setup |
1339 |
-} |
1340 |
+QT4_TARGET_DIRECTORIES=" |
1341 |
+ src/openvg |
1342 |
+ src/plugins/graphicssystems/openvg" |
1343 |
|
1344 |
-src_configure() { |
1345 |
- gltype="desktop" |
1346 |
+QT4_EXTRACT_DIRECTORIES=" |
1347 |
+ include/QtCore |
1348 |
+ include/QtGui |
1349 |
+ include/QtOpenVG |
1350 |
+ src/corelib |
1351 |
+ src/gui |
1352 |
+ src/openvg |
1353 |
+ src/plugins |
1354 |
+ src/3rdparty" |
1355 |
+ |
1356 |
+QCONFIG_ADD="openvg" |
1357 |
+QCONFIG_DEFINE="QT_OPENVG" |
1358 |
|
1359 |
+src_configure() { |
1360 |
myconf+=" |
1361 |
-openvg -egl |
1362 |
$(qt_use qt3support)" |
1363 |
|
1364 |
- qt4-build_src_configure |
1365 |
+ qt4-build-multilib_src_configure |
1366 |
} |
1367 |
|
1368 |
src_install() { |
1369 |
- qt4-build_src_install |
1370 |
+ qt4-build-multilib_src_install |
1371 |
|
1372 |
# touch the available graphics systems |
1373 |
dodir /usr/share/qt4/graphicssystems |
1374 |
|
1375 |
diff --git a/dev-qt/qtphonon/qtphonon-4.8.9999.ebuild b/dev-qt/qtphonon/qtphonon-4.8.9999.ebuild |
1376 |
index c155f65..55db6be 100644 |
1377 |
--- a/dev-qt/qtphonon/qtphonon-4.8.9999.ebuild |
1378 |
+++ b/dev-qt/qtphonon/qtphonon-4.8.9999.ebuild |
1379 |
@@ -2,53 +2,59 @@ |
1380 |
# Distributed under the terms of the GNU General Public License v2 |
1381 |
# $Header: $ |
1382 |
|
1383 |
-EAPI=4 |
1384 |
+EAPI=5 |
1385 |
|
1386 |
-inherit qt4-build |
1387 |
+inherit qt4-build-multilib |
1388 |
|
1389 |
DESCRIPTION="The Phonon module for the Qt toolkit" |
1390 |
-SLOT="4" |
1391 |
+ |
1392 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
1393 |
KEYWORDS="" |
1394 |
else |
1395 |
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
1396 |
fi |
1397 |
+ |
1398 |
IUSE="dbus qt3support" |
1399 |
|
1400 |
DEPEND=" |
1401 |
+ ~dev-qt/qtcore-${PV}[aqua=,debug=] |
1402 |
~dev-qt/qtgui-${PV}[aqua=,debug=,qt3support=] |
1403 |
!kde-base/phonon-kde |
1404 |
!kde-base/phonon-xine |
1405 |
!media-libs/phonon |
1406 |
!media-sound/phonon |
1407 |
- !aqua? ( media-libs/gstreamer:0.10 |
1408 |
- media-plugins/gst-plugins-meta:0.10 ) |
1409 |
aqua? ( ~dev-qt/qtopengl-${PV}[aqua,debug=,qt3support=] ) |
1410 |
+ !aqua? ( |
1411 |
+ media-libs/gstreamer:0.10 |
1412 |
+ media-plugins/gst-plugins-meta:0.10 |
1413 |
+ ) |
1414 |
dbus? ( ~dev-qt/qtdbus-${PV}[aqua=,debug=] ) |
1415 |
" |
1416 |
RDEPEND="${DEPEND}" |
1417 |
|
1418 |
-pkg_setup() { |
1419 |
- QT4_TARGET_DIRECTORIES=" |
1420 |
- src/phonon |
1421 |
- src/plugins/phonon" |
1422 |
+QT4_TARGET_DIRECTORIES=" |
1423 |
+ src/phonon |
1424 |
+ src/plugins/phonon" |
1425 |
|
1426 |
- QT4_EXTRACT_DIRECTORIES=" |
1427 |
- include |
1428 |
- src" |
1429 |
+QT4_EXTRACT_DIRECTORIES=" |
1430 |
+ include |
1431 |
+ src" |
1432 |
|
1433 |
- QCONFIG_ADD="phonon" |
1434 |
+QCONFIG_ADD="phonon" |
1435 |
+ |
1436 |
+pkg_setup() { |
1437 |
QCONFIG_DEFINE="QT_PHONON |
1438 |
- $(use !aqua && echo QT_GSTREAMER)" |
1439 |
+ $(use aqua || echo QT_GSTREAMER)" |
1440 |
|
1441 |
- qt4-build_pkg_setup |
1442 |
+ qt4-build-multilib_pkg_setup |
1443 |
} |
1444 |
|
1445 |
src_configure() { |
1446 |
myconf+=" |
1447 |
- -phonon -phonon-backend -no-opengl -no-svg |
1448 |
+ -phonon -phonon-backend |
1449 |
+ -no-opengl -no-svg |
1450 |
$(qt_use dbus qdbus) |
1451 |
$(qt_use qt3support)" |
1452 |
|
1453 |
- qt4-build_src_configure |
1454 |
+ qt4-build-multilib_src_configure |
1455 |
} |
1456 |
|
1457 |
diff --git a/dev-qt/qtscript/qtscript-4.8.9999.ebuild b/dev-qt/qtscript/qtscript-4.8.9999.ebuild |
1458 |
index bb97692..f6796ce 100644 |
1459 |
--- a/dev-qt/qtscript/qtscript-4.8.9999.ebuild |
1460 |
+++ b/dev-qt/qtscript/qtscript-4.8.9999.ebuild |
1461 |
@@ -2,17 +2,18 @@ |
1462 |
# Distributed under the terms of the GNU General Public License v2 |
1463 |
# $Header: $ |
1464 |
|
1465 |
-EAPI=4 |
1466 |
+EAPI=5 |
1467 |
|
1468 |
-inherit qt4-build |
1469 |
+inherit qt4-build-multilib |
1470 |
|
1471 |
DESCRIPTION="The QtScript module for the Qt toolkit" |
1472 |
-SLOT="4" |
1473 |
+ |
1474 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
1475 |
KEYWORDS="" |
1476 |
else |
1477 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
1478 |
fi |
1479 |
+ |
1480 |
IUSE="iconv +jit" |
1481 |
|
1482 |
DEPEND=" |
1483 |
@@ -20,22 +21,18 @@ DEPEND=" |
1484 |
" |
1485 |
RDEPEND="${DEPEND}" |
1486 |
|
1487 |
-pkg_setup() { |
1488 |
- QT4_TARGET_DIRECTORIES=" |
1489 |
- src/script" |
1490 |
+QT4_TARGET_DIRECTORIES=" |
1491 |
+ src/script" |
1492 |
|
1493 |
- QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1494 |
- include/Qt |
1495 |
- include/QtCore |
1496 |
- include/QtScript |
1497 |
- src/3rdparty/javascriptcore |
1498 |
- src/corelib" |
1499 |
+QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1500 |
+ include/Qt |
1501 |
+ include/QtCore |
1502 |
+ include/QtScript |
1503 |
+ src/3rdparty/javascriptcore |
1504 |
+ src/corelib" |
1505 |
|
1506 |
- QCONFIG_ADD="script" |
1507 |
- QCONFIG_DEFINE="QT_SCRIPT" |
1508 |
- |
1509 |
- qt4-build_pkg_setup |
1510 |
-} |
1511 |
+QCONFIG_ADD="script" |
1512 |
+QCONFIG_DEFINE="QT_SCRIPT" |
1513 |
|
1514 |
src_configure() { |
1515 |
myconf+=" |
1516 |
@@ -48,13 +45,13 @@ src_configure() { |
1517 |
-no-accessibility -no-fontconfig -no-glib -no-opengl -no-svg |
1518 |
-no-gtkstyle" |
1519 |
|
1520 |
- qt4-build_src_configure |
1521 |
+ qt4-build-multilib_src_configure |
1522 |
} |
1523 |
|
1524 |
src_install() { |
1525 |
- qt4-build_src_install |
1526 |
+ qt4-build-multilib_src_install |
1527 |
|
1528 |
# install private headers |
1529 |
- insinto "${QTHEADERDIR#${EPREFIX}}"/QtScript/private |
1530 |
- find "${S}"/src/script -type f -name "*_p.h" -exec doins {} + |
1531 |
+ insinto "${QT4_HEADERDIR#${EPREFIX}}"/QtScript/private |
1532 |
+ find "${S}"/src/script -type f -name "*_p.h" -exec doins '{}' + |
1533 |
} |
1534 |
|
1535 |
diff --git a/dev-qt/qtsql/qtsql-4.8.9999.ebuild b/dev-qt/qtsql/qtsql-4.8.9999.ebuild |
1536 |
index af6cd63..e3fe7c7 100644 |
1537 |
--- a/dev-qt/qtsql/qtsql-4.8.9999.ebuild |
1538 |
+++ b/dev-qt/qtsql/qtsql-4.8.9999.ebuild |
1539 |
@@ -2,17 +2,18 @@ |
1540 |
# Distributed under the terms of the GNU General Public License v2 |
1541 |
# $Header: $ |
1542 |
|
1543 |
-EAPI=4 |
1544 |
+EAPI=5 |
1545 |
|
1546 |
-inherit multilib qt4-build |
1547 |
+inherit multilib qt4-build-multilib |
1548 |
|
1549 |
DESCRIPTION="The SQL module for the Qt toolkit" |
1550 |
-SLOT="4" |
1551 |
+ |
1552 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
1553 |
KEYWORDS="" |
1554 |
else |
1555 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
1556 |
fi |
1557 |
+ |
1558 |
IUSE="firebird freetds mysql oci8 odbc postgres qt3support +sqlite" |
1559 |
|
1560 |
REQUIRED_USE=" |
1561 |
@@ -31,22 +32,18 @@ DEPEND=" |
1562 |
" |
1563 |
RDEPEND="${DEPEND}" |
1564 |
|
1565 |
-pkg_setup() { |
1566 |
- QT4_TARGET_DIRECTORIES=" |
1567 |
- src/sql |
1568 |
- src/plugins/sqldrivers" |
1569 |
+QT4_TARGET_DIRECTORIES=" |
1570 |
+ src/sql |
1571 |
+ src/plugins/sqldrivers" |
1572 |
|
1573 |
- QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1574 |
- include/Qt |
1575 |
- include/QtCore |
1576 |
- include/QtSql |
1577 |
- src/src.pro |
1578 |
- src/corelib |
1579 |
- src/plugins |
1580 |
- src/tools/tools.pro" |
1581 |
- |
1582 |
- qt4-build_pkg_setup |
1583 |
-} |
1584 |
+QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1585 |
+ include/Qt |
1586 |
+ include/QtCore |
1587 |
+ include/QtSql |
1588 |
+ src/src.pro |
1589 |
+ src/corelib |
1590 |
+ src/plugins |
1591 |
+ src/tools/tools.pro" |
1592 |
|
1593 |
src_configure() { |
1594 |
myconf+=" |
1595 |
@@ -69,5 +66,5 @@ src_configure() { |
1596 |
-no-xrandr -no-xrender -no-mitshm -no-fontconfig -no-freetype -no-xinput -no-xkb |
1597 |
-no-glib" |
1598 |
|
1599 |
- qt4-build_src_configure |
1600 |
+ qt4-build-multilib_src_configure |
1601 |
} |
1602 |
|
1603 |
diff --git a/dev-qt/qtsvg/qtsvg-4.8.9999.ebuild b/dev-qt/qtsvg/qtsvg-4.8.9999.ebuild |
1604 |
index ab4668e..6e4baef 100644 |
1605 |
--- a/dev-qt/qtsvg/qtsvg-4.8.9999.ebuild |
1606 |
+++ b/dev-qt/qtsvg/qtsvg-4.8.9999.ebuild |
1607 |
@@ -2,17 +2,18 @@ |
1608 |
# Distributed under the terms of the GNU General Public License v2 |
1609 |
# $Header: $ |
1610 |
|
1611 |
-EAPI=4 |
1612 |
+EAPI=5 |
1613 |
|
1614 |
-inherit qt4-build |
1615 |
+inherit qt4-build-multilib |
1616 |
|
1617 |
DESCRIPTION="The SVG module for the Qt toolkit" |
1618 |
-SLOT="4" |
1619 |
+ |
1620 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
1621 |
KEYWORDS="" |
1622 |
else |
1623 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
1624 |
fi |
1625 |
+ |
1626 |
IUSE="+accessibility" |
1627 |
|
1628 |
DEPEND=" |
1629 |
@@ -22,29 +23,25 @@ DEPEND=" |
1630 |
" |
1631 |
RDEPEND="${DEPEND}" |
1632 |
|
1633 |
-pkg_setup() { |
1634 |
- QT4_TARGET_DIRECTORIES=" |
1635 |
- src/svg |
1636 |
- src/plugins/imageformats/svg |
1637 |
- src/plugins/iconengines/svgiconengine" |
1638 |
- |
1639 |
- QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1640 |
- include/QtSvg |
1641 |
- include/Qt |
1642 |
- include/QtGui |
1643 |
- include/QtCore |
1644 |
- include/QtXml |
1645 |
- src/corelib |
1646 |
- src/gui |
1647 |
- src/plugins |
1648 |
- src/xml |
1649 |
- src/3rdparty" |
1650 |
- |
1651 |
- QCONFIG_ADD="svg" |
1652 |
- QCONFIG_DEFINE="QT_SVG" |
1653 |
- |
1654 |
- qt4-build_pkg_setup |
1655 |
-} |
1656 |
+QT4_TARGET_DIRECTORIES=" |
1657 |
+ src/svg |
1658 |
+ src/plugins/imageformats/svg |
1659 |
+ src/plugins/iconengines/svgiconengine" |
1660 |
+ |
1661 |
+QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1662 |
+ include/QtSvg |
1663 |
+ include/Qt |
1664 |
+ include/QtGui |
1665 |
+ include/QtCore |
1666 |
+ include/QtXml |
1667 |
+ src/corelib |
1668 |
+ src/gui |
1669 |
+ src/plugins |
1670 |
+ src/xml |
1671 |
+ src/3rdparty" |
1672 |
+ |
1673 |
+QCONFIG_ADD="svg" |
1674 |
+QCONFIG_DEFINE="QT_SVG" |
1675 |
|
1676 |
src_configure() { |
1677 |
myconf+=" |
1678 |
@@ -57,5 +54,5 @@ src_configure() { |
1679 |
-no-qt3support -no-xmlpatterns -no-freetype -no-libtiff |
1680 |
-no-fontconfig -no-glib -no-gtkstyle" |
1681 |
|
1682 |
- qt4-build_src_configure |
1683 |
+ qt4-build-multilib_src_configure |
1684 |
} |
1685 |
|
1686 |
diff --git a/dev-qt/qttest/qttest-4.8.9999.ebuild b/dev-qt/qttest/qttest-4.8.9999.ebuild |
1687 |
index 7256324..a0292cb 100644 |
1688 |
--- a/dev-qt/qttest/qttest-4.8.9999.ebuild |
1689 |
+++ b/dev-qt/qttest/qttest-4.8.9999.ebuild |
1690 |
@@ -2,17 +2,18 @@ |
1691 |
# Distributed under the terms of the GNU General Public License v2 |
1692 |
# $Header: $ |
1693 |
|
1694 |
-EAPI=4 |
1695 |
+EAPI=5 |
1696 |
|
1697 |
-inherit qt4-build |
1698 |
+inherit qt4-build-multilib |
1699 |
|
1700 |
DESCRIPTION="The QtTest module for unit testing Qt applications and libraries" |
1701 |
-SLOT="4" |
1702 |
+ |
1703 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
1704 |
KEYWORDS="" |
1705 |
else |
1706 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
1707 |
fi |
1708 |
+ |
1709 |
IUSE="" |
1710 |
|
1711 |
DEPEND=" |
1712 |
@@ -20,17 +21,13 @@ DEPEND=" |
1713 |
" |
1714 |
RDEPEND="${DEPEND}" |
1715 |
|
1716 |
-pkg_setup() { |
1717 |
- QT4_TARGET_DIRECTORIES=" |
1718 |
- src/testlib" |
1719 |
+QT4_TARGET_DIRECTORIES=" |
1720 |
+ src/testlib" |
1721 |
|
1722 |
- QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1723 |
- include/QtTest |
1724 |
- include/QtCore |
1725 |
- src/corelib" |
1726 |
- |
1727 |
- qt4-build_pkg_setup |
1728 |
-} |
1729 |
+QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1730 |
+ include/QtTest |
1731 |
+ include/QtCore |
1732 |
+ src/corelib" |
1733 |
|
1734 |
src_configure() { |
1735 |
myconf+=" |
1736 |
@@ -41,5 +38,5 @@ src_configure() { |
1737 |
-no-qt3support -no-xmlpatterns -no-freetype -no-libtiff |
1738 |
-no-accessibility -no-fontconfig -no-glib -no-svg" |
1739 |
|
1740 |
- qt4-build_src_configure |
1741 |
+ qt4-build-multilib_src_configure |
1742 |
} |
1743 |
|
1744 |
diff --git a/dev-qt/qtwebkit/qtwebkit-4.8.9999.ebuild b/dev-qt/qtwebkit/qtwebkit-4.8.9999.ebuild |
1745 |
index a87fc07..eb66856 100644 |
1746 |
--- a/dev-qt/qtwebkit/qtwebkit-4.8.9999.ebuild |
1747 |
+++ b/dev-qt/qtwebkit/qtwebkit-4.8.9999.ebuild |
1748 |
@@ -4,15 +4,16 @@ |
1749 |
|
1750 |
EAPI=5 |
1751 |
|
1752 |
-inherit qt4-build flag-o-matic |
1753 |
+inherit qt4-build-multilib |
1754 |
|
1755 |
DESCRIPTION="The WebKit module for the Qt toolkit" |
1756 |
-SLOT="4" |
1757 |
+ |
1758 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
1759 |
KEYWORDS="" |
1760 |
else |
1761 |
KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" |
1762 |
fi |
1763 |
+ |
1764 |
IUSE="+gstreamer icu +jit" |
1765 |
|
1766 |
# libxml2[!icu?] is needed for bugs 407315 and 411091 |
1767 |
@@ -38,21 +39,17 @@ PATCHES=( |
1768 |
"${FILESDIR}/4.8.2-javascriptcore-x32.patch" |
1769 |
) |
1770 |
|
1771 |
-pkg_setup() { |
1772 |
- QT4_TARGET_DIRECTORIES=" |
1773 |
- src/3rdparty/webkit/Source/JavaScriptCore |
1774 |
- src/3rdparty/webkit/Source/WebCore |
1775 |
- src/3rdparty/webkit/Source/WebKit/qt" |
1776 |
+QT4_TARGET_DIRECTORIES=" |
1777 |
+ src/3rdparty/webkit/Source/JavaScriptCore |
1778 |
+ src/3rdparty/webkit/Source/WebCore |
1779 |
+ src/3rdparty/webkit/Source/WebKit/qt" |
1780 |
|
1781 |
- QT4_EXTRACT_DIRECTORIES=" |
1782 |
- include |
1783 |
- src" |
1784 |
+QT4_EXTRACT_DIRECTORIES=" |
1785 |
+ include |
1786 |
+ src" |
1787 |
|
1788 |
- QCONFIG_ADD="webkit" |
1789 |
- QCONFIG_DEFINE="QT_WEBKIT" |
1790 |
- |
1791 |
- qt4-build_pkg_setup |
1792 |
-} |
1793 |
+QCONFIG_ADD="webkit" |
1794 |
+QCONFIG_DEFINE="QT_WEBKIT" |
1795 |
|
1796 |
src_prepare() { |
1797 |
# Fix version number in generated pkgconfig file, bug 406443 |
1798 |
@@ -68,7 +65,7 @@ src_prepare() { |
1799 |
src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri || die |
1800 |
fi |
1801 |
|
1802 |
- qt4-build_src_prepare |
1803 |
+ qt4-build-multilib_src_prepare |
1804 |
} |
1805 |
|
1806 |
src_configure() { |
1807 |
@@ -79,5 +76,5 @@ src_configure() { |
1808 |
$(qt_use jit javascript-jit) |
1809 |
$(use gstreamer || echo -DENABLE_VIDEO=0)" |
1810 |
|
1811 |
- qt4-build_src_configure |
1812 |
+ qt4-build-multilib_src_configure |
1813 |
} |
1814 |
|
1815 |
diff --git a/dev-qt/qtxmlpatterns/qtxmlpatterns-4.8.9999.ebuild b/dev-qt/qtxmlpatterns/qtxmlpatterns-4.8.9999.ebuild |
1816 |
index 575c99f..9f6a15b 100644 |
1817 |
--- a/dev-qt/qtxmlpatterns/qtxmlpatterns-4.8.9999.ebuild |
1818 |
+++ b/dev-qt/qtxmlpatterns/qtxmlpatterns-4.8.9999.ebuild |
1819 |
@@ -2,17 +2,18 @@ |
1820 |
# Distributed under the terms of the GNU General Public License v2 |
1821 |
# $Header: $ |
1822 |
|
1823 |
-EAPI=4 |
1824 |
+EAPI=5 |
1825 |
|
1826 |
-inherit qt4-build |
1827 |
+inherit qt4-build-multilib |
1828 |
|
1829 |
DESCRIPTION="The XmlPatterns module for the Qt toolkit" |
1830 |
-SLOT="4" |
1831 |
+ |
1832 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
1833 |
KEYWORDS="" |
1834 |
else |
1835 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
1836 |
fi |
1837 |
+ |
1838 |
IUSE="" |
1839 |
|
1840 |
DEPEND=" |
1841 |
@@ -20,29 +21,25 @@ DEPEND=" |
1842 |
" |
1843 |
RDEPEND="${DEPEND}" |
1844 |
|
1845 |
-pkg_setup() { |
1846 |
- QT4_TARGET_DIRECTORIES=" |
1847 |
- src/xmlpatterns |
1848 |
- tools/xmlpatterns |
1849 |
- tools/xmlpatternsvalidator" |
1850 |
- |
1851 |
- QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1852 |
- include/QtCore |
1853 |
- include/QtNetwork |
1854 |
- include/QtXml |
1855 |
- include/QtXmlPatterns |
1856 |
- src/network |
1857 |
- src/xml |
1858 |
- src/corelib" |
1859 |
- |
1860 |
- QCONFIG_ADD="xmlpatterns" |
1861 |
- QCONFIG_DEFINE="QT_XMLPATTERNS" |
1862 |
- |
1863 |
- qt4-build_pkg_setup |
1864 |
-} |
1865 |
+QT4_TARGET_DIRECTORIES=" |
1866 |
+ src/xmlpatterns |
1867 |
+ tools/xmlpatterns |
1868 |
+ tools/xmlpatternsvalidator" |
1869 |
+ |
1870 |
+QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
1871 |
+ include/QtCore |
1872 |
+ include/QtNetwork |
1873 |
+ include/QtXml |
1874 |
+ include/QtXmlPatterns |
1875 |
+ src/network |
1876 |
+ src/xml |
1877 |
+ src/corelib" |
1878 |
+ |
1879 |
+QCONFIG_ADD="xmlpatterns" |
1880 |
+QCONFIG_DEFINE="QT_XMLPATTERNS" |
1881 |
|
1882 |
src_configure() { |
1883 |
myconf+=" -xmlpatterns" |
1884 |
|
1885 |
- qt4-build_src_configure |
1886 |
+ qt4-build-multilib_src_configure |
1887 |
} |