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