Gentoo Archives: gentoo-commits

From: Jimi Huotari <chiitoo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/linguist-tools/, dev-qt/qtlocation/, dev-qt/qtmultimedia/, dev-qt/qtxml/, ...
Date: Wed, 15 Aug 2018 10:14:54
Message-Id: 1534327440.7151cb405a04da9e01990df4786b6df47031dad0.chiitoo@gentoo
1 commit: 7151cb405a04da9e01990df4786b6df47031dad0
2 Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 15 10:04:00 2018 +0000
4 Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 15 10:04:00 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=7151cb40
7
8 dev-qt: add 5.12.9999
9
10 Package-Manager: Portage-2.3.46, Repoman-2.3.10
11
12 dev-qt/assistant/assistant-5.12.9999.ebuild | 55 +++++++
13 dev-qt/designer/designer-5.12.9999.ebuild | 57 +++++++
14 .../linguist-tools/linguist-tools-5.12.9999.ebuild | 35 +++++
15 dev-qt/linguist/linguist-5.12.9999.ebuild | 48 ++++++
16 dev-qt/pixeltool/pixeltool-5.12.9999.ebuild | 25 +++
17 dev-qt/qdbus/qdbus-5.12.9999.ebuild | 25 +++
18 dev-qt/qdbusviewer/qdbusviewer-5.12.9999.ebuild | 45 ++++++
19 dev-qt/qdoc/qdoc-5.12.9999.ebuild | 37 +++++
20 dev-qt/qt3d/qt3d-5.12.9999.ebuild | 32 ++++
21 dev-qt/qtbluetooth/qtbluetooth-5.12.9999.ebuild | 33 ++++
22 dev-qt/qtcanvas3d/qtcanvas3d-5.12.9999.ebuild | 21 +++
23 dev-qt/qtcharts/qtcharts-5.12.9999.ebuild | 29 ++++
24 dev-qt/qtconcurrent/qtconcurrent-5.12.9999.ebuild | 23 +++
25 dev-qt/qtcore/qtcore-5.12.9999.ebuild | 75 +++++++++
26 dev-qt/qtdatavis3d/qtdatavis3d-5.12.9999.ebuild | 31 ++++
27 dev-qt/qtdbus/qtdbus-5.12.9999.ebuild | 43 ++++++
28 .../qtdeclarative/qtdeclarative-5.12.9999.ebuild | 64 ++++++++
29 dev-qt/qtdiag/qtdiag-5.12.9999.ebuild | 36 +++++
30 dev-qt/qtgamepad/qtgamepad-5.12.9999.ebuild | 35 +++++
31 .../qtgraphicaleffects-5.12.9999.ebuild | 21 +++
32 dev-qt/qtgui/qtgui-5.12.9999.ebuild | 170 +++++++++++++++++++++
33 dev-qt/qthelp/qthelp-5.12.9999.ebuild | 30 ++++
34 .../qtimageformats/qtimageformats-5.12.9999.ebuild | 29 ++++
35 dev-qt/qtlocation/qtlocation-5.12.9999.ebuild | 44 ++++++
36 dev-qt/qtmultimedia/qtmultimedia-5.12.9999.ebuild | 68 +++++++++
37 dev-qt/qtnetwork/qtnetwork-5.12.9999.ebuild | 57 +++++++
38 .../qtnetworkauth/qtnetworkauth-5.12.9999.ebuild | 20 +++
39 dev-qt/qtopengl/qtopengl-5.12.9999.ebuild | 34 +++++
40 dev-qt/qtpaths/qtpaths-5.12.9999.ebuild | 23 +++
41 dev-qt/qtplugininfo/qtplugininfo-5.12.9999.ebuild | 23 +++
42 .../qtpositioning/qtpositioning-5.12.9999.ebuild | 40 +++++
43 .../qtprintsupport/qtprintsupport-5.12.9999.ebuild | 42 +++++
44 .../qtquickcontrols-5.12.9999.ebuild | 32 ++++
45 .../qtquickcontrols2-5.12.9999.ebuild | 30 ++++
46 dev-qt/qtscript/qtscript-5.12.9999.ebuild | 36 +++++
47 dev-qt/qtscxml/qtscxml-5.12.9999.ebuild | 19 +++
48 dev-qt/qtsensors/qtsensors-5.12.9999.ebuild | 28 ++++
49 dev-qt/qtserialbus/qtserialbus-5.12.9999.ebuild | 20 +++
50 dev-qt/qtserialport/qtserialport-5.12.9999.ebuild | 27 ++++
51 dev-qt/qtspeech/qtspeech-5.12.9999.ebuild | 22 +++
52 dev-qt/qtsql/qtsql-5.12.9999.ebuild | 58 +++++++
53 dev-qt/qtsvg/qtsvg-5.12.9999.ebuild | 23 +++
54 dev-qt/qttest/qttest-5.12.9999.ebuild | 33 ++++
55 .../qttranslations/qttranslations-5.12.9999.ebuild | 19 +++
56 .../qtvirtualkeyboard-5.12.9999.ebuild | 38 +++++
57 dev-qt/qtwayland/qtwayland-5.12.9999.ebuild | 39 +++++
58 dev-qt/qtwebchannel/qtwebchannel-5.12.9999.ebuild | 26 ++++
59 dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild | 134 ++++++++++++++++
60 dev-qt/qtwebkit/qtwebkit-5.12.9999.ebuild | 120 +++++++++++++++
61 dev-qt/qtwebsockets/qtwebsockets-5.12.9999.ebuild | 27 ++++
62 dev-qt/qtwebview/qtwebview-5.12.9999.ebuild | 21 +++
63 dev-qt/qtwidgets/qtwidgets-5.12.9999.ebuild | 57 +++++++
64 dev-qt/qtx11extras/qtx11extras-5.12.9999.ebuild | 21 +++
65 dev-qt/qtxml/qtxml-5.12.9999.ebuild | 29 ++++
66 .../qtxmlpatterns/qtxmlpatterns-5.12.9999.ebuild | 19 +++
67 55 files changed, 2228 insertions(+)
68
69 diff --git a/dev-qt/assistant/assistant-5.12.9999.ebuild b/dev-qt/assistant/assistant-5.12.9999.ebuild
70 new file mode 100644
71 index 00000000..0fe2bc14
72 --- /dev/null
73 +++ b/dev-qt/assistant/assistant-5.12.9999.ebuild
74 @@ -0,0 +1,55 @@
75 +# Copyright 1999-2018 Gentoo Foundation
76 +# Distributed under the terms of the GNU General Public License v2
77 +
78 +EAPI=6
79 +QT5_MODULE="qttools"
80 +inherit desktop gnome2-utils qt5-build
81 +
82 +DESCRIPTION="Tool for viewing on-line documentation in Qt help file format"
83 +
84 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
85 + KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86"
86 +fi
87 +
88 +IUSE="webkit"
89 +
90 +DEPEND="
91 + ~dev-qt/qtcore-${PV}
92 + ~dev-qt/qtgui-${PV}
93 + ~dev-qt/qthelp-${PV}
94 + ~dev-qt/qtnetwork-${PV}
95 + ~dev-qt/qtprintsupport-${PV}
96 + ~dev-qt/qtsql-${PV}[sqlite]
97 + ~dev-qt/qtwidgets-${PV}
98 + webkit? ( >=dev-qt/qtwebkit-5.9.1:5 )
99 +"
100 +RDEPEND="${DEPEND}"
101 +
102 +QT5_TARGET_SUBDIRS=(
103 + src/assistant/assistant
104 +)
105 +
106 +src_prepare() {
107 + qt_use_disable_mod webkit webkitwidgets \
108 + src/assistant/assistant/assistant.pro
109 +
110 + qt5-build_src_prepare
111 +}
112 +
113 +src_install() {
114 + qt5-build_src_install
115 +
116 + doicon -s 32 src/assistant/assistant/images/assistant.png
117 + newicon -s 128 src/assistant/assistant/images/assistant-128.png assistant.png
118 + make_desktop_entry "${QT5_BINDIR}"/assistant 'Qt 5 Assistant' assistant 'Qt;Development;Documentation'
119 +}
120 +
121 +pkg_postinst() {
122 + qt5-build_pkg_postinst
123 + gnome2_icon_cache_update
124 +}
125 +
126 +pkg_postrm() {
127 + qt5-build_pkg_postrm
128 + gnome2_icon_cache_update
129 +}
130
131 diff --git a/dev-qt/designer/designer-5.12.9999.ebuild b/dev-qt/designer/designer-5.12.9999.ebuild
132 new file mode 100644
133 index 00000000..c561782d
134 --- /dev/null
135 +++ b/dev-qt/designer/designer-5.12.9999.ebuild
136 @@ -0,0 +1,57 @@
137 +# Copyright 1999-2018 Gentoo Foundation
138 +# Distributed under the terms of the GNU General Public License v2
139 +
140 +EAPI=6
141 +QT5_MODULE="qttools"
142 +inherit desktop gnome2-utils qt5-build
143 +
144 +DESCRIPTION="WYSIWYG tool for designing and building Qt-based GUIs"
145 +
146 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
147 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
148 +fi
149 +
150 +IUSE="declarative webkit"
151 +
152 +DEPEND="
153 + ~dev-qt/qtcore-${PV}
154 + ~dev-qt/qtgui-${PV}
155 + ~dev-qt/qtnetwork-${PV}
156 + ~dev-qt/qtprintsupport-${PV}
157 + ~dev-qt/qtwidgets-${PV}
158 + ~dev-qt/qtxml-${PV}
159 + declarative? ( ~dev-qt/qtdeclarative-${PV}[widgets] )
160 + webkit? ( >=dev-qt/qtwebkit-5.9.1:5 )
161 +"
162 +RDEPEND="${DEPEND}"
163 +
164 +QT5_TARGET_SUBDIRS=(
165 + src/designer
166 +)
167 +
168 +src_prepare() {
169 + qt_use_disable_mod declarative quickwidgets \
170 + src/designer/src/plugins/plugins.pro
171 +
172 + qt_use_disable_mod webkit webkitwidgets \
173 + src/designer/src/plugins/plugins.pro
174 +
175 + qt5-build_src_prepare
176 +}
177 +
178 +src_install() {
179 + qt5-build_src_install
180 +
181 + doicon -s 128 src/designer/src/designer/images/designer.png
182 + make_desktop_entry "${QT5_BINDIR}"/designer 'Qt 5 Designer' designer 'Qt;Development;GUIDesigner'
183 +}
184 +
185 +pkg_postinst() {
186 + qt5-build_pkg_postinst
187 + gnome2_icon_cache_update
188 +}
189 +
190 +pkg_postrm() {
191 + qt5-build_pkg_postrm
192 + gnome2_icon_cache_update
193 +}
194
195 diff --git a/dev-qt/linguist-tools/linguist-tools-5.12.9999.ebuild b/dev-qt/linguist-tools/linguist-tools-5.12.9999.ebuild
196 new file mode 100644
197 index 00000000..72c04bdc
198 --- /dev/null
199 +++ b/dev-qt/linguist-tools/linguist-tools-5.12.9999.ebuild
200 @@ -0,0 +1,35 @@
201 +# Copyright 1999-2018 Gentoo Foundation
202 +# Distributed under the terms of the GNU General Public License v2
203 +
204 +EAPI=6
205 +QT5_MODULE="qttools"
206 +inherit qt5-build
207 +
208 +DESCRIPTION="Tools for working with Qt translation data files"
209 +
210 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
211 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
212 +fi
213 +
214 +IUSE="qml"
215 +
216 +DEPEND="
217 + ~dev-qt/qtcore-${PV}
218 + ~dev-qt/qtxml-${PV}
219 + qml? ( ~dev-qt/qtdeclarative-${PV} )
220 +"
221 +RDEPEND="${DEPEND}"
222 +
223 +QT5_TARGET_SUBDIRS=(
224 + src/linguist
225 +)
226 +
227 +src_prepare() {
228 + sed -i -e '/SUBDIRS += linguist/d' \
229 + src/linguist/linguist.pro || die
230 +
231 + qt_use_disable_mod qml qmldevtools-private \
232 + src/linguist/lupdate/lupdate.pro
233 +
234 + qt5-build_src_prepare
235 +}
236
237 diff --git a/dev-qt/linguist/linguist-5.12.9999.ebuild b/dev-qt/linguist/linguist-5.12.9999.ebuild
238 new file mode 100644
239 index 00000000..38f06fe3
240 --- /dev/null
241 +++ b/dev-qt/linguist/linguist-5.12.9999.ebuild
242 @@ -0,0 +1,48 @@
243 +# Copyright 1999-2018 Gentoo Foundation
244 +# Distributed under the terms of the GNU General Public License v2
245 +
246 +EAPI=6
247 +QT5_MODULE="qttools"
248 +inherit desktop gnome2-utils qt5-build
249 +
250 +DESCRIPTION="Graphical tool for translating Qt applications"
251 +
252 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
253 + KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86 ~amd64-fbsd"
254 +fi
255 +
256 +IUSE=""
257 +
258 +DEPEND="
259 + ~dev-qt/designer-${PV}
260 + ~dev-qt/qtcore-${PV}
261 + ~dev-qt/qtgui-${PV}
262 + ~dev-qt/qtprintsupport-${PV}
263 + ~dev-qt/qtwidgets-${PV}
264 + ~dev-qt/qtxml-${PV}
265 +"
266 +RDEPEND="${DEPEND}"
267 +
268 +QT5_TARGET_SUBDIRS=(
269 + src/linguist/linguist
270 +)
271 +
272 +src_install() {
273 + qt5-build_src_install
274 +
275 + local size
276 + for size in 16 32 48 64 128; do
277 + newicon -s ${size} src/linguist/linguist/images/icons/linguist-${size}-32.png linguist.png
278 + done
279 + make_desktop_entry "${QT5_BINDIR}"/linguist 'Qt 5 Linguist' linguist 'Qt;Development;Translation'
280 +}
281 +
282 +pkg_postinst() {
283 + qt5-build_pkg_postinst
284 + gnome2_icon_cache_update
285 +}
286 +
287 +pkg_postrm() {
288 + qt5-build_pkg_postrm
289 + gnome2_icon_cache_update
290 +}
291
292 diff --git a/dev-qt/pixeltool/pixeltool-5.12.9999.ebuild b/dev-qt/pixeltool/pixeltool-5.12.9999.ebuild
293 new file mode 100644
294 index 00000000..7bcdc97e
295 --- /dev/null
296 +++ b/dev-qt/pixeltool/pixeltool-5.12.9999.ebuild
297 @@ -0,0 +1,25 @@
298 +# Copyright 1999-2018 Gentoo Foundation
299 +# Distributed under the terms of the GNU General Public License v2
300 +
301 +EAPI=6
302 +QT5_MODULE="qttools"
303 +inherit qt5-build
304 +
305 +DESCRIPTION="Qt screen magnifier"
306 +
307 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
308 + KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86"
309 +fi
310 +
311 +IUSE=""
312 +
313 +DEPEND="
314 + ~dev-qt/qtcore-${PV}
315 + ~dev-qt/qtgui-${PV}
316 + ~dev-qt/qtwidgets-${PV}
317 +"
318 +RDEPEND="${DEPEND}"
319 +
320 +QT5_TARGET_SUBDIRS=(
321 + src/pixeltool
322 +)
323
324 diff --git a/dev-qt/qdbus/qdbus-5.12.9999.ebuild b/dev-qt/qdbus/qdbus-5.12.9999.ebuild
325 new file mode 100644
326 index 00000000..4736c7cd
327 --- /dev/null
328 +++ b/dev-qt/qdbus/qdbus-5.12.9999.ebuild
329 @@ -0,0 +1,25 @@
330 +# Copyright 1999-2018 Gentoo Foundation
331 +# Distributed under the terms of the GNU General Public License v2
332 +
333 +EAPI=6
334 +QT5_MODULE="qttools"
335 +inherit qt5-build
336 +
337 +DESCRIPTION="Interface to Qt applications communicating over D-Bus"
338 +
339 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
340 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
341 +fi
342 +
343 +IUSE=""
344 +
345 +DEPEND="
346 + ~dev-qt/qtcore-${PV}
347 + ~dev-qt/qtdbus-${PV}
348 + ~dev-qt/qtxml-${PV}
349 +"
350 +RDEPEND="${DEPEND}"
351 +
352 +QT5_TARGET_SUBDIRS=(
353 + src/qdbus/qdbus
354 +)
355
356 diff --git a/dev-qt/qdbusviewer/qdbusviewer-5.12.9999.ebuild b/dev-qt/qdbusviewer/qdbusviewer-5.12.9999.ebuild
357 new file mode 100644
358 index 00000000..ceb1e6f9
359 --- /dev/null
360 +++ b/dev-qt/qdbusviewer/qdbusviewer-5.12.9999.ebuild
361 @@ -0,0 +1,45 @@
362 +# Copyright 1999-2018 Gentoo Foundation
363 +# Distributed under the terms of the GNU General Public License v2
364 +
365 +EAPI=6
366 +QT5_MODULE="qttools"
367 +inherit desktop gnome2-utils qt5-build
368 +
369 +DESCRIPTION="Graphical tool that lets you introspect D-Bus objects and messages"
370 +
371 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
372 + KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86 ~amd64-fbsd"
373 +fi
374 +
375 +IUSE=""
376 +
377 +DEPEND="
378 + ~dev-qt/qtcore-${PV}
379 + ~dev-qt/qtdbus-${PV}
380 + ~dev-qt/qtgui-${PV}
381 + ~dev-qt/qtwidgets-${PV}
382 + ~dev-qt/qtxml-${PV}
383 +"
384 +RDEPEND="${DEPEND}"
385 +
386 +QT5_TARGET_SUBDIRS=(
387 + src/qdbus/qdbusviewer
388 +)
389 +
390 +src_install() {
391 + qt5-build_src_install
392 +
393 + doicon -s 32 src/qdbus/qdbusviewer/images/qdbusviewer.png
394 + newicon -s 128 src/qdbus/qdbusviewer/images/qdbusviewer-128.png qdbusviewer.png
395 + make_desktop_entry "${QT5_BINDIR}"/qdbusviewer 'Qt 5 QDBusViewer' qdbusviewer 'Qt;Development'
396 +}
397 +
398 +pkg_postinst() {
399 + qt5-build_pkg_postinst
400 + gnome2_icon_cache_update
401 +}
402 +
403 +pkg_postrm() {
404 + qt5-build_pkg_postrm
405 + gnome2_icon_cache_update
406 +}
407
408 diff --git a/dev-qt/qdoc/qdoc-5.12.9999.ebuild b/dev-qt/qdoc/qdoc-5.12.9999.ebuild
409 new file mode 100644
410 index 00000000..4c656e1b
411 --- /dev/null
412 +++ b/dev-qt/qdoc/qdoc-5.12.9999.ebuild
413 @@ -0,0 +1,37 @@
414 +# Copyright 1999-2018 Gentoo Foundation
415 +# Distributed under the terms of the GNU General Public License v2
416 +
417 +EAPI=6
418 +QT5_MODULE="qttools"
419 +inherit qt5-build
420 +
421 +DESCRIPTION="Qt documentation generator"
422 +
423 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
424 + KEYWORDS="~amd64 ~x86"
425 +fi
426 +
427 +IUSE="qml"
428 +
429 +DEPEND="
430 + ~dev-qt/qtcore-${PV}
431 + sys-devel/clang:=
432 + qml? ( ~dev-qt/qtdeclarative-${PV} )
433 +"
434 +RDEPEND="${DEPEND}"
435 +
436 +QT5_TARGET_SUBDIRS=(
437 + src/qdoc
438 +)
439 +
440 +src_prepare() {
441 + qt_use_disable_mod qml qmldevtools-private \
442 + src/qdoc/qdoc.pro
443 +
444 + export LLVM_INSTALL_DIR="$(llvm-config --prefix)"
445 + # this is normally loaded in qttools.pro, so skipped by using
446 + # QT_TARGET_SUBDIRS causing build to fail
447 + sed -e '1iload(qt_find_clang)\' -i src/qdoc/qdoc.pro || die
448 +
449 + qt5-build_src_prepare
450 +}
451
452 diff --git a/dev-qt/qt3d/qt3d-5.12.9999.ebuild b/dev-qt/qt3d/qt3d-5.12.9999.ebuild
453 new file mode 100644
454 index 00000000..e6563090
455 --- /dev/null
456 +++ b/dev-qt/qt3d/qt3d-5.12.9999.ebuild
457 @@ -0,0 +1,32 @@
458 +# Copyright 1999-2018 Gentoo Foundation
459 +# Distributed under the terms of the GNU General Public License v2
460 +
461 +EAPI=6
462 +inherit qt5-build
463 +
464 +DESCRIPTION="The 3D module for the Qt5 framework"
465 +
466 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
467 + KEYWORDS="~amd64 ~x86"
468 +fi
469 +
470 +# TODO: gamepad, tools
471 +IUSE="gles2 qml"
472 +
473 +DEPEND="
474 + ~dev-qt/qtconcurrent-${PV}
475 + ~dev-qt/qtcore-${PV}
476 + ~dev-qt/qtgui-${PV}
477 + ~dev-qt/qtnetwork-${PV}
478 + >=media-libs/assimp-4.0.0
479 + qml? ( ~dev-qt/qtdeclarative-${PV}[gles2=] )
480 +"
481 +RDEPEND="${DEPEND}"
482 +
483 +src_prepare() {
484 + rm -r src/3rdparty/assimp/{code,contrib,include} || die
485 +
486 + qt_use_disable_mod qml quick src/src.pro
487 +
488 + qt5-build_src_prepare
489 +}
490
491 diff --git a/dev-qt/qtbluetooth/qtbluetooth-5.12.9999.ebuild b/dev-qt/qtbluetooth/qtbluetooth-5.12.9999.ebuild
492 new file mode 100644
493 index 00000000..7f4a8b1b
494 --- /dev/null
495 +++ b/dev-qt/qtbluetooth/qtbluetooth-5.12.9999.ebuild
496 @@ -0,0 +1,33 @@
497 +# Copyright 1999-2018 Gentoo Foundation
498 +# Distributed under the terms of the GNU General Public License v2
499 +
500 +EAPI=6
501 +QT5_MODULE="qtconnectivity"
502 +inherit qt5-build
503 +
504 +DESCRIPTION="Bluetooth support library for the Qt5 framework"
505 +
506 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
507 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
508 +fi
509 +
510 +IUSE="qml"
511 +
512 +RDEPEND="
513 + ~dev-qt/qtconcurrent-${PV}
514 + ~dev-qt/qtcore-${PV}
515 + ~dev-qt/qtdbus-${PV}
516 + >=net-wireless/bluez-5:=
517 + qml? ( ~dev-qt/qtdeclarative-${PV} )
518 +"
519 +DEPEND="${RDEPEND}
520 + ~dev-qt/qtnetwork-${PV}
521 +"
522 +
523 +src_prepare() {
524 + sed -i -e 's/nfc//' src/src.pro || die
525 +
526 + qt_use_disable_mod qml quick src/src.pro
527 +
528 + qt5-build_src_prepare
529 +}
530
531 diff --git a/dev-qt/qtcanvas3d/qtcanvas3d-5.12.9999.ebuild b/dev-qt/qtcanvas3d/qtcanvas3d-5.12.9999.ebuild
532 new file mode 100644
533 index 00000000..ab9ec684
534 --- /dev/null
535 +++ b/dev-qt/qtcanvas3d/qtcanvas3d-5.12.9999.ebuild
536 @@ -0,0 +1,21 @@
537 +# Copyright 1999-2018 Gentoo Foundation
538 +# Distributed under the terms of the GNU General Public License v2
539 +
540 +EAPI=6
541 +inherit qt5-build
542 +
543 +DESCRIPTION="Qt module to make WebGL-like 3D drawing calls from Qt Quick JavaScript"
544 +
545 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
546 + KEYWORDS="~amd64"
547 +fi
548 +
549 +IUSE=""
550 +
551 +DEPEND="
552 + ~dev-qt/qtcore-${PV}
553 + ~dev-qt/qtdeclarative-${PV}
554 + ~dev-qt/qtgui-${PV}
555 + ~dev-qt/qtnetwork-${PV}
556 +"
557 +RDEPEND="${DEPEND}"
558
559 diff --git a/dev-qt/qtcharts/qtcharts-5.12.9999.ebuild b/dev-qt/qtcharts/qtcharts-5.12.9999.ebuild
560 new file mode 100644
561 index 00000000..ff3df69c
562 --- /dev/null
563 +++ b/dev-qt/qtcharts/qtcharts-5.12.9999.ebuild
564 @@ -0,0 +1,29 @@
565 +# Copyright 1999-2018 Gentoo Foundation
566 +# Distributed under the terms of the GNU General Public License v2
567 +
568 +EAPI=6
569 +inherit qt5-build
570 +
571 +DESCRIPTION="Chart component library for the Qt5 framework"
572 +LICENSE="GPL-3"
573 +
574 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
575 + KEYWORDS="~amd64 ~x86"
576 +fi
577 +
578 +IUSE="qml"
579 +
580 +DEPEND="
581 + ~dev-qt/qtcore-${PV}
582 + ~dev-qt/qtgui-${PV}
583 + ~dev-qt/qtwidgets-${PV}
584 + qml? ( ~dev-qt/qtdeclarative-${PV} )
585 +"
586 +RDEPEND="${DEPEND}"
587 +
588 +src_prepare() {
589 + qt_use_disable_mod qml quick \
590 + src/src.pro
591 +
592 + qt5-build_src_prepare
593 +}
594
595 diff --git a/dev-qt/qtconcurrent/qtconcurrent-5.12.9999.ebuild b/dev-qt/qtconcurrent/qtconcurrent-5.12.9999.ebuild
596 new file mode 100644
597 index 00000000..75e304af
598 --- /dev/null
599 +++ b/dev-qt/qtconcurrent/qtconcurrent-5.12.9999.ebuild
600 @@ -0,0 +1,23 @@
601 +# Copyright 1999-2018 Gentoo Foundation
602 +# Distributed under the terms of the GNU General Public License v2
603 +
604 +EAPI=6
605 +QT5_MODULE="qtbase"
606 +inherit qt5-build
607 +
608 +DESCRIPTION="Multi-threading concurrence support library for the Qt5 framework"
609 +
610 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
611 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
612 +fi
613 +
614 +IUSE=""
615 +
616 +DEPEND="
617 + ~dev-qt/qtcore-${PV}
618 +"
619 +RDEPEND="${DEPEND}"
620 +
621 +QT5_TARGET_SUBDIRS=(
622 + src/concurrent
623 +)
624
625 diff --git a/dev-qt/qtcore/qtcore-5.12.9999.ebuild b/dev-qt/qtcore/qtcore-5.12.9999.ebuild
626 new file mode 100644
627 index 00000000..48916104
628 --- /dev/null
629 +++ b/dev-qt/qtcore/qtcore-5.12.9999.ebuild
630 @@ -0,0 +1,75 @@
631 +# Copyright 1999-2018 Gentoo Foundation
632 +# Distributed under the terms of the GNU General Public License v2
633 +
634 +EAPI=6
635 +QT5_MODULE="qtbase"
636 +inherit qt5-build
637 +
638 +DESCRIPTION="Cross-platform application development framework"
639 +
640 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
641 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
642 +fi
643 +
644 +IUSE="icu systemd"
645 +
646 +DEPEND="
647 + dev-libs/double-conversion:=
648 + dev-libs/glib:2
649 + dev-libs/libpcre2[pcre16,unicode]
650 + sys-libs/zlib
651 + icu? ( dev-libs/icu:= )
652 + !icu? ( virtual/libiconv )
653 + systemd? ( sys-apps/systemd:= )
654 +"
655 +RDEPEND="${DEPEND}
656 + !<dev-qt/qtcore-4.8.7-r4:4
657 +"
658 +
659 +QT5_TARGET_SUBDIRS=(
660 + src/tools/bootstrap
661 + src/tools/moc
662 + src/tools/rcc
663 + src/tools/qfloat16-tables
664 + src/corelib
665 + src/tools/qlalr
666 + doc
667 +)
668 +
669 +QT5_GENTOO_PRIVATE_CONFIG=(
670 + !:network
671 + !:sql
672 + !:testlib
673 + !:xml
674 +)
675 +
676 +src_configure() {
677 + local myconf=(
678 + $(qt_use icu)
679 + $(qt_use !icu iconv)
680 + $(qt_use systemd journald)
681 + )
682 + qt5-build_src_configure
683 +}
684 +
685 +src_install() {
686 + qt5-build_src_install
687 +
688 + local flags=(
689 + ALSA CUPS DBUS EGL EGLFS EGL_X11 EVDEV FONTCONFIG FREETYPE
690 + HARFBUZZ IMAGEFORMAT_JPEG IMAGEFORMAT_PNG LIBPROXY MITSHM
691 + OPENGL OPENSSL OPENVG PULSEAUDIO SHAPE SSL TSLIB WIDGETS
692 + XCURSOR XFIXES XKB XRANDR XRENDER XSYNC ZLIB
693 + )
694 +
695 + for flag in ${flags[@]}; do
696 + cat >> "${D%/}"/${QT5_HEADERDIR}/QtCore/qconfig.h <<- _EOF_ || die
697 +
698 + #if defined(QT_NO_${flag}) && defined(QT_${flag})
699 + # undef QT_NO_${flag}
700 + #elif !defined(QT_NO_${flag}) && !defined(QT_${flag})
701 + # define QT_NO_${flag}
702 + #endif
703 + _EOF_
704 + done
705 +}
706
707 diff --git a/dev-qt/qtdatavis3d/qtdatavis3d-5.12.9999.ebuild b/dev-qt/qtdatavis3d/qtdatavis3d-5.12.9999.ebuild
708 new file mode 100644
709 index 00000000..64777049
710 --- /dev/null
711 +++ b/dev-qt/qtdatavis3d/qtdatavis3d-5.12.9999.ebuild
712 @@ -0,0 +1,31 @@
713 +# Copyright 1999-2018 Gentoo Foundation
714 +# Distributed under the terms of the GNU General Public License v2
715 +
716 +EAPI=6
717 +inherit qt5-build
718 +
719 +DESCRIPTION="3D data visualization library for the Qt5 framework"
720 +LICENSE="GPL-3"
721 +
722 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
723 + KEYWORDS="~amd64 ~x86"
724 +fi
725 +
726 +IUSE="gles2 qml"
727 +
728 +DEPEND="
729 + ~dev-qt/qtcore-${PV}
730 + ~dev-qt/qtgui-${PV}[gles2=]
731 + qml? ( ~dev-qt/qtdeclarative-${PV}[gles2=] )
732 +"
733 +RDEPEND="${DEPEND}"
734 +
735 +src_prepare() {
736 + # eliminate bogus dependency on qtwidgets
737 + sed -i -e '/requires.*widgets/d' qtdatavis3d.pro || die
738 +
739 + qt_use_disable_mod qml quick \
740 + src/src.pro
741 +
742 + qt5-build_src_prepare
743 +}
744
745 diff --git a/dev-qt/qtdbus/qtdbus-5.12.9999.ebuild b/dev-qt/qtdbus/qtdbus-5.12.9999.ebuild
746 new file mode 100644
747 index 00000000..b31a0a2f
748 --- /dev/null
749 +++ b/dev-qt/qtdbus/qtdbus-5.12.9999.ebuild
750 @@ -0,0 +1,43 @@
751 +# Copyright 1999-2018 Gentoo Foundation
752 +# Distributed under the terms of the GNU General Public License v2
753 +
754 +EAPI=6
755 +QT5_MODULE="qtbase"
756 +inherit qt5-build
757 +
758 +DESCRIPTION="Qt5 module for inter-process communication over the D-Bus protocol"
759 +
760 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
761 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
762 +fi
763 +
764 +IUSE=""
765 +
766 +DEPEND="
767 + ~dev-qt/qtcore-${PV}
768 + >=sys-apps/dbus-1.4.20
769 +"
770 +RDEPEND="${DEPEND}"
771 +
772 +QT5_TARGET_SUBDIRS=(
773 + src/dbus
774 + src/tools/qdbusxml2cpp
775 + src/tools/qdbuscpp2xml
776 +)
777 +
778 +QT5_GENTOO_CONFIG=(
779 + :dbus
780 + :dbus-linked:
781 +)
782 +
783 +QT5_GENTOO_PRIVATE_CONFIG=(
784 + :dbus
785 + :dbus-linked
786 +)
787 +
788 +src_configure() {
789 + local myconf=(
790 + -dbus-linked
791 + )
792 + qt5-build_src_configure
793 +}
794
795 diff --git a/dev-qt/qtdeclarative/qtdeclarative-5.12.9999.ebuild b/dev-qt/qtdeclarative/qtdeclarative-5.12.9999.ebuild
796 new file mode 100644
797 index 00000000..3da293ee
798 --- /dev/null
799 +++ b/dev-qt/qtdeclarative/qtdeclarative-5.12.9999.ebuild
800 @@ -0,0 +1,64 @@
801 +# Copyright 1999-2018 Gentoo Foundation
802 +# Distributed under the terms of the GNU General Public License v2
803 +
804 +EAPI=6
805 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
806 +inherit python-any-r1 qt5-build
807 +
808 +DESCRIPTION="The QML and Quick modules for the Qt5 framework"
809 +
810 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
811 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
812 +fi
813 +
814 +IUSE="gles2 +jit localstorage +widgets xml"
815 +
816 +# qtgui[gles2=] is needed because of bug 504322
817 +COMMON_DEPEND="
818 + ~dev-qt/qtcore-${PV}
819 + ~dev-qt/qtgui-${PV}[gles2=]
820 + ~dev-qt/qtnetwork-${PV}
821 + ~dev-qt/qttest-${PV}
822 + localstorage? ( ~dev-qt/qtsql-${PV} )
823 + widgets? ( ~dev-qt/qtwidgets-${PV}[gles2=] )
824 + xml? (
825 + ~dev-qt/qtnetwork-${PV}
826 + ~dev-qt/qtxmlpatterns-${PV}
827 + )
828 +"
829 +DEPEND="${COMMON_DEPEND}
830 + ${PYTHON_DEPS}
831 +"
832 +RDEPEND="${COMMON_DEPEND}
833 + !<dev-qt/qtquickcontrols-5.7:5
834 +"
835 +
836 +src_prepare() {
837 + use jit || PATCHES+=("${FILESDIR}/${PN}-5.4.2-disable-jit.patch")
838 +
839 + qt_use_disable_mod localstorage sql \
840 + src/imports/imports.pro
841 +
842 + qt_use_disable_mod widgets widgets \
843 + src/src.pro \
844 + src/qmltest/qmltest.pro \
845 + tests/auto/auto.pro \
846 + tools/tools.pro \
847 + tools/qmlscene/qmlscene.pro \
848 + tools/qml/qml.pro
849 +
850 + qt_use_disable_mod xml xmlpatterns \
851 + src/imports/imports.pro \
852 + tests/auto/quick/quick.pro \
853 + tests/auto/quick/examples/examples.pro
854 +
855 + qt5-build_src_prepare
856 +}
857 +
858 +src_configure() {
859 + local myqmakeargs=(
860 + --
861 + -qml-debug
862 + )
863 + qt5-build_src_configure
864 +}
865
866 diff --git a/dev-qt/qtdiag/qtdiag-5.12.9999.ebuild b/dev-qt/qtdiag/qtdiag-5.12.9999.ebuild
867 new file mode 100644
868 index 00000000..85c0174e
869 --- /dev/null
870 +++ b/dev-qt/qtdiag/qtdiag-5.12.9999.ebuild
871 @@ -0,0 +1,36 @@
872 +# Copyright 1999-2018 Gentoo Foundation
873 +# Distributed under the terms of the GNU General Public License v2
874 +
875 +EAPI=6
876 +QT5_MODULE="qttools"
877 +inherit qt5-build
878 +
879 +DESCRIPTION="Tool for reporting diagnostic information about Qt and its environment"
880 +
881 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
882 + KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86"
883 +fi
884 +
885 +IUSE="+network +widgets"
886 +
887 +DEPEND="
888 + ~dev-qt/qtcore-${PV}
889 + ~dev-qt/qtgui-${PV}
890 + network? ( ~dev-qt/qtnetwork-${PV}[ssl] )
891 + widgets? ( ~dev-qt/qtwidgets-${PV} )
892 +"
893 +RDEPEND="${DEPEND}"
894 +
895 +QT5_TARGET_SUBDIRS=(
896 + src/qtdiag
897 +)
898 +
899 +src_prepare() {
900 + qt_use_disable_mod network network \
901 + src/qtdiag/qtdiag.pro
902 +
903 + qt_use_disable_mod widgets widgets \
904 + src/qtdiag/qtdiag.pro
905 +
906 + qt5-build_src_prepare
907 +}
908
909 diff --git a/dev-qt/qtgamepad/qtgamepad-5.12.9999.ebuild b/dev-qt/qtgamepad/qtgamepad-5.12.9999.ebuild
910 new file mode 100644
911 index 00000000..a7c4b576
912 --- /dev/null
913 +++ b/dev-qt/qtgamepad/qtgamepad-5.12.9999.ebuild
914 @@ -0,0 +1,35 @@
915 +# Copyright 1999-2018 Gentoo Foundation
916 +# Distributed under the terms of the GNU General Public License v2
917 +
918 +EAPI=6
919 +inherit qt5-build
920 +
921 +DESCRIPTION="Qt module to support gamepad hardware"
922 +
923 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
924 + KEYWORDS="~amd64"
925 +fi
926 +
927 +IUSE="evdev qml sdl"
928 +
929 +DEPEND="
930 + ~dev-qt/qtcore-${PV}
931 + ~dev-qt/qtgui-${PV}[evdev?]
932 + evdev? ( virtual/libudev:= )
933 + sdl? ( media-libs/libsdl )
934 + qml? ( ~dev-qt/qtdeclarative-${PV} )
935 +"
936 +RDEPEND="${DEPEND}"
937 +
938 +src_prepare() {
939 + qt_use_disable_mod qml quick \
940 + src/src.pro
941 +
942 + qt_use_disable_config evdev evdev \
943 + src/plugins/gamepads/gamepads.pro
944 +
945 + qt_use_disable_config sdl sdl2 \
946 + src/plugins/gamepads/gamepads.pro
947 +
948 + qt5-build_src_prepare
949 +}
950
951 diff --git a/dev-qt/qtgraphicaleffects/qtgraphicaleffects-5.12.9999.ebuild b/dev-qt/qtgraphicaleffects/qtgraphicaleffects-5.12.9999.ebuild
952 new file mode 100644
953 index 00000000..51a225a5
954 --- /dev/null
955 +++ b/dev-qt/qtgraphicaleffects/qtgraphicaleffects-5.12.9999.ebuild
956 @@ -0,0 +1,21 @@
957 +# Copyright 1999-2018 Gentoo Foundation
958 +# Distributed under the terms of the GNU General Public License v2
959 +
960 +EAPI=6
961 +VIRTUALX_REQUIRED="test"
962 +inherit qt5-build
963 +
964 +DESCRIPTION="Set of QML types for adding visual effects to user interfaces"
965 +
966 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
967 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
968 +fi
969 +
970 +IUSE=""
971 +
972 +RDEPEND="
973 + ~dev-qt/qtcore-${PV}
974 + ~dev-qt/qtdeclarative-${PV}
975 + ~dev-qt/qtgui-${PV}
976 +"
977 +DEPEND="${RDEPEND}"
978
979 diff --git a/dev-qt/qtgui/qtgui-5.12.9999.ebuild b/dev-qt/qtgui/qtgui-5.12.9999.ebuild
980 new file mode 100644
981 index 00000000..c8309dc2
982 --- /dev/null
983 +++ b/dev-qt/qtgui/qtgui-5.12.9999.ebuild
984 @@ -0,0 +1,170 @@
985 +# Copyright 1999-2018 Gentoo Foundation
986 +# Distributed under the terms of the GNU General Public License v2
987 +
988 +EAPI=6
989 +QT5_MODULE="qtbase"
990 +inherit qt5-build
991 +
992 +DESCRIPTION="The GUI module and platform plugins for the Qt5 framework"
993 +
994 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
995 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
996 +fi
997 +
998 +# TODO: linuxfb
999 +
1000 +IUSE="accessibility dbus egl eglfs evdev +gif gles2 ibus
1001 + jpeg +libinput +png tslib tuio +udev vnc +xcb"
1002 +REQUIRED_USE="
1003 + || ( eglfs xcb )
1004 + accessibility? ( dbus xcb )
1005 + eglfs? ( egl )
1006 + ibus? ( dbus )
1007 + libinput? ( udev )
1008 + xcb? ( gles2? ( egl ) )
1009 +"
1010 +
1011 +RDEPEND="
1012 + dev-libs/glib:2
1013 + ~dev-qt/qtcore-${PV}
1014 + media-libs/fontconfig
1015 + >=media-libs/freetype-2.6.1:2
1016 + >=media-libs/harfbuzz-1.6.0:=
1017 + >=sys-libs/zlib-1.2.5
1018 + virtual/opengl
1019 + dbus? ( ~dev-qt/qtdbus-${PV} )
1020 + egl? ( media-libs/mesa[egl] )
1021 + eglfs? (
1022 + media-libs/mesa[gbm]
1023 + x11-libs/libdrm
1024 + )
1025 + evdev? ( sys-libs/mtdev )
1026 + gles2? ( media-libs/mesa[gles2] )
1027 + jpeg? ( virtual/jpeg:0 )
1028 + libinput? (
1029 + dev-libs/libinput:=
1030 + x11-libs/libxkbcommon
1031 + )
1032 + png? ( media-libs/libpng:0= )
1033 + tslib? ( x11-libs/tslib )
1034 + tuio? ( ~dev-qt/qtnetwork-${PV} )
1035 + udev? ( virtual/libudev:= )
1036 + vnc? ( ~dev-qt/qtnetwork-${PV} )
1037 + xcb? (
1038 + x11-libs/libICE
1039 + x11-libs/libSM
1040 + x11-libs/libX11
1041 + >=x11-libs/libXi-1.7.5
1042 + >=x11-libs/libxcb-1.10:=[xkb]
1043 + >=x11-libs/libxkbcommon-0.4.1[X]
1044 + x11-libs/xcb-util-image
1045 + x11-libs/xcb-util-keysyms
1046 + x11-libs/xcb-util-renderutil
1047 + x11-libs/xcb-util-wm
1048 + )
1049 +"
1050 +DEPEND="${RDEPEND}
1051 + evdev? ( sys-kernel/linux-headers )
1052 + udev? ( sys-kernel/linux-headers )
1053 +"
1054 +PDEPEND="
1055 + ibus? ( app-i18n/ibus )
1056 +"
1057 +
1058 +QT5_TARGET_SUBDIRS=(
1059 + src/tools/qvkgen
1060 + src/gui
1061 + src/openglextensions
1062 + src/platformheaders
1063 + src/platformsupport
1064 + src/plugins/generic
1065 + src/plugins/imageformats
1066 + src/plugins/platforms
1067 + src/plugins/platforminputcontexts
1068 +)
1069 +
1070 +QT5_GENTOO_CONFIG=(
1071 + accessibility:accessibility-atspi-bridge
1072 + egl
1073 + eglfs
1074 + eglfs:eglfs_egldevice:
1075 + eglfs:eglfs_gbm:
1076 + evdev
1077 + evdev:mtdev:
1078 + :fontconfig
1079 + :system-freetype:FREETYPE
1080 + !:no-freetype:
1081 + !gif:no-gif:
1082 + gles2::OPENGL_ES
1083 + gles2:opengles2:OPENGL_ES_2
1084 + !:no-gui:
1085 + :system-harfbuzz:HARFBUZZ
1086 + !:no-harfbuzz:
1087 + jpeg:system-jpeg:IMAGEFORMAT_JPEG
1088 + !jpeg:no-jpeg:
1089 + libinput
1090 + libinput:xkbcommon-evdev:
1091 + :opengl
1092 + png:png:
1093 + png:system-png:IMAGEFORMAT_PNG
1094 + !png:no-png:
1095 + tslib
1096 + udev:libudev:
1097 + xcb:xcb:
1098 + xcb:xcb-glx:
1099 + xcb:xcb-plugin:
1100 + xcb:xcb-render:
1101 + xcb:xcb-sm:
1102 + xcb:xcb-xlib:
1103 + xcb:xinput2:
1104 + xcb::XKB
1105 +)
1106 +
1107 +QT5_GENTOO_PRIVATE_CONFIG=(
1108 + :gui
1109 +)
1110 +
1111 +src_prepare() {
1112 + # egl_x11 is activated when both egl and xcb are enabled
1113 + use egl && QT5_GENTOO_CONFIG+=(xcb:egl_x11) || QT5_GENTOO_CONFIG+=(egl:egl_x11)
1114 +
1115 + qt_use_disable_config dbus dbus \
1116 + src/platformsupport/themes/genericunix/genericunix.pri
1117 +
1118 + qt_use_disable_config tuio tuiotouch src/plugins/generic/generic.pro
1119 +
1120 + qt_use_disable_mod ibus dbus \
1121 + src/plugins/platforminputcontexts/platforminputcontexts.pro
1122 +
1123 + use vnc || sed -i -e '/SUBDIRS += vnc/d' \
1124 + src/plugins/platforms/platforms.pro || die
1125 +
1126 + qt5-build_src_prepare
1127 +}
1128 +
1129 +src_configure() {
1130 + local myconf=(
1131 + $(usex dbus -dbus-linked '')
1132 + $(qt_use egl)
1133 + $(qt_use eglfs)
1134 + $(usex eglfs '-gbm -kms' '')
1135 + $(qt_use evdev)
1136 + $(qt_use evdev mtdev)
1137 + -fontconfig
1138 + -system-freetype
1139 + $(usex gif '' -no-gif)
1140 + -gui
1141 + -system-harfbuzz
1142 + $(qt_use jpeg libjpeg system)
1143 + $(qt_use libinput)
1144 + $(qt_use libinput xkbcommon-evdev)
1145 + -opengl $(usex gles2 es2 desktop)
1146 + $(qt_use png libpng system)
1147 + $(qt_use tslib)
1148 + $(qt_use udev libudev)
1149 + $(qt_use xcb xcb system)
1150 + $(qt_use xcb xkbcommon-x11 system)
1151 + $(usex xcb '-xcb-xlib -xinput2 -xkb' '')
1152 + )
1153 + qt5-build_src_configure
1154 +}
1155
1156 diff --git a/dev-qt/qthelp/qthelp-5.12.9999.ebuild b/dev-qt/qthelp/qthelp-5.12.9999.ebuild
1157 new file mode 100644
1158 index 00000000..1e0ee9ab
1159 --- /dev/null
1160 +++ b/dev-qt/qthelp/qthelp-5.12.9999.ebuild
1161 @@ -0,0 +1,30 @@
1162 +# Copyright 1999-2018 Gentoo Foundation
1163 +# Distributed under the terms of the GNU General Public License v2
1164 +
1165 +EAPI=6
1166 +QT5_MODULE="qttools"
1167 +inherit qt5-build
1168 +
1169 +DESCRIPTION="Qt5 module for integrating online documentation into applications"
1170 +
1171 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1172 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
1173 +fi
1174 +
1175 +IUSE=""
1176 +
1177 +DEPEND="
1178 + ~dev-qt/qtcore-${PV}
1179 + ~dev-qt/qtgui-${PV}
1180 + ~dev-qt/qtnetwork-${PV}
1181 + ~dev-qt/qtsql-${PV}[sqlite]
1182 + ~dev-qt/qtwidgets-${PV}
1183 +"
1184 +RDEPEND="${DEPEND}"
1185 +
1186 +QT5_TARGET_SUBDIRS=(
1187 + src/assistant/help
1188 + src/assistant/qcollectiongenerator
1189 + src/assistant/qhelpconverter
1190 + src/assistant/qhelpgenerator
1191 +)
1192
1193 diff --git a/dev-qt/qtimageformats/qtimageformats-5.12.9999.ebuild b/dev-qt/qtimageformats/qtimageformats-5.12.9999.ebuild
1194 new file mode 100644
1195 index 00000000..5b10805b
1196 --- /dev/null
1197 +++ b/dev-qt/qtimageformats/qtimageformats-5.12.9999.ebuild
1198 @@ -0,0 +1,29 @@
1199 +# Copyright 1999-2018 Gentoo Foundation
1200 +# Distributed under the terms of the GNU General Public License v2
1201 +
1202 +EAPI=6
1203 +inherit qt5-build
1204 +
1205 +DESCRIPTION="Additional format plugins for the Qt image I/O system"
1206 +
1207 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1208 + KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86"
1209 +fi
1210 +
1211 +IUSE="jpeg2k mng"
1212 +
1213 +DEPEND="
1214 + ~dev-qt/qtcore-${PV}
1215 + ~dev-qt/qtgui-${PV}
1216 + media-libs/libwebp:=
1217 + media-libs/tiff:0
1218 + jpeg2k? ( media-libs/jasper:= )
1219 + mng? ( media-libs/libmng:= )
1220 +"
1221 +RDEPEND="${DEPEND}"
1222 +
1223 +src_configure() {
1224 + qt_use_compile_test jpeg2k jasper
1225 + qt_use_compile_test mng libmng
1226 + qt5-build_src_configure
1227 +}
1228
1229 diff --git a/dev-qt/qtlocation/qtlocation-5.12.9999.ebuild b/dev-qt/qtlocation/qtlocation-5.12.9999.ebuild
1230 new file mode 100644
1231 index 00000000..f791b5b3
1232 --- /dev/null
1233 +++ b/dev-qt/qtlocation/qtlocation-5.12.9999.ebuild
1234 @@ -0,0 +1,44 @@
1235 +# Copyright 1999-2018 Gentoo Foundation
1236 +# Distributed under the terms of the GNU General Public License v2
1237 +
1238 +EAPI=6
1239 +inherit qt5-build
1240 +
1241 +DESCRIPTION="The Location module for the Qt5 framework"
1242 +
1243 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1244 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
1245 +fi
1246 +
1247 +IUSE=""
1248 +
1249 +RDEPEND="
1250 + ~dev-qt/qtcore-${PV}
1251 + ~dev-qt/qtdeclarative-${PV}
1252 + ~dev-qt/qtgui-${PV}
1253 + ~dev-qt/qtnetwork-${PV}
1254 + ~dev-qt/qtpositioning-${PV}
1255 + ~dev-qt/qtsql-${PV}
1256 + sys-libs/zlib
1257 +"
1258 +DEPEND="${RDEPEND}
1259 + ~dev-qt/qtconcurrent-${PV}
1260 +"
1261 +
1262 +QT5_TARGET_SUBDIRS=(
1263 + src/3rdparty/clipper
1264 + src/3rdparty/poly2tri
1265 + src/3rdparty/clip2tri
1266 + src/3rdparty/mapbox-gl-native
1267 + src/location
1268 + src/imports/location
1269 + src/plugins/geoservices
1270 +)
1271 +
1272 +src_configure() {
1273 + # src/plugins/geoservices requires files that are only generated when
1274 + # qmake is run in the root directory. Bug 633776.
1275 + mkdir -p "${QT5_BUILD_DIR}" || die
1276 + qt5_qmake "${QT_BUILD_DIR}"
1277 + qt5-build_src_configure
1278 +}
1279
1280 diff --git a/dev-qt/qtmultimedia/qtmultimedia-5.12.9999.ebuild b/dev-qt/qtmultimedia/qtmultimedia-5.12.9999.ebuild
1281 new file mode 100644
1282 index 00000000..04cc34da
1283 --- /dev/null
1284 +++ b/dev-qt/qtmultimedia/qtmultimedia-5.12.9999.ebuild
1285 @@ -0,0 +1,68 @@
1286 +# Copyright 1999-2018 Gentoo Foundation
1287 +# Distributed under the terms of the GNU General Public License v2
1288 +
1289 +EAPI=6
1290 +inherit qt5-build
1291 +
1292 +DESCRIPTION="Multimedia (audio, video, radio, camera) library for the Qt5 framework"
1293 +
1294 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1295 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
1296 +fi
1297 +
1298 +IUSE="alsa gles2 gstreamer openal pulseaudio qml widgets"
1299 +
1300 +RDEPEND="
1301 + ~dev-qt/qtcore-${PV}
1302 + ~dev-qt/qtgui-${PV}[gles2=]
1303 + ~dev-qt/qtnetwork-${PV}
1304 + alsa? ( media-libs/alsa-lib )
1305 + gstreamer? (
1306 + dev-libs/glib:2
1307 + media-libs/gstreamer:1.0
1308 + media-libs/gst-plugins-bad:1.0
1309 + media-libs/gst-plugins-base:1.0
1310 + )
1311 + pulseaudio? ( media-sound/pulseaudio )
1312 + qml? (
1313 + ~dev-qt/qtdeclarative-${PV}
1314 + gles2? ( ~dev-qt/qtgui-${PV}[egl] )
1315 + openal? ( media-libs/openal )
1316 + )
1317 + widgets? (
1318 + ~dev-qt/qtopengl-${PV}
1319 + ~dev-qt/qtwidgets-${PV}[gles2=]
1320 + )
1321 +"
1322 +DEPEND="${RDEPEND}
1323 + gstreamer? ( x11-base/xorg-proto )
1324 +"
1325 +
1326 +src_prepare() {
1327 + sed -i -e '/CONFIG\s*+=/ s/optimize_full//' \
1328 + src/multimedia/multimedia.pro || die
1329 +
1330 + qt_use_disable_config openal openal \
1331 + src/imports/imports.pro
1332 +
1333 + qt_use_disable_mod qml quick \
1334 + src/src.pro \
1335 + src/plugins/plugins.pro
1336 +
1337 + qt_use_disable_mod widgets widgets \
1338 + src/src.pro \
1339 + src/gsttools/gsttools.pro \
1340 + src/plugins/gstreamer/common.pri
1341 +
1342 + qt5-build_src_prepare
1343 +}
1344 +
1345 +src_configure() {
1346 + local myqmakeargs=(
1347 + --
1348 + $(qt_use alsa)
1349 + $(qt_use gstreamer)
1350 + $(qt_use pulseaudio)
1351 + )
1352 + qt5-build_src_configure
1353 +}
1354
1355 diff --git a/dev-qt/qtnetwork/qtnetwork-5.12.9999.ebuild b/dev-qt/qtnetwork/qtnetwork-5.12.9999.ebuild
1356 new file mode 100644
1357 index 00000000..95290d66
1358 --- /dev/null
1359 +++ b/dev-qt/qtnetwork/qtnetwork-5.12.9999.ebuild
1360 @@ -0,0 +1,57 @@
1361 +# Copyright 1999-2018 Gentoo Foundation
1362 +# Distributed under the terms of the GNU General Public License v2
1363 +
1364 +EAPI=6
1365 +QT5_MODULE="qtbase"
1366 +inherit qt5-build
1367 +
1368 +DESCRIPTION="Network abstraction library for the Qt5 framework"
1369 +
1370 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1371 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
1372 +fi
1373 +
1374 +IUSE="bindist connman libproxy networkmanager +ssl"
1375 +
1376 +DEPEND="
1377 + ~dev-qt/qtcore-${PV}
1378 + >=sys-libs/zlib-1.2.5
1379 + connman? ( ~dev-qt/qtdbus-${PV} )
1380 + libproxy? ( net-libs/libproxy )
1381 + networkmanager? ( ~dev-qt/qtdbus-${PV} )
1382 + ssl? ( dev-libs/openssl:0=[bindist=] )
1383 +"
1384 +RDEPEND="${DEPEND}
1385 + connman? ( net-misc/connman )
1386 + networkmanager? ( net-misc/networkmanager )
1387 +"
1388 +
1389 +QT5_TARGET_SUBDIRS=(
1390 + src/network
1391 + src/plugins/bearer/generic
1392 +)
1393 +
1394 +QT5_GENTOO_CONFIG=(
1395 + libproxy
1396 + ssl::SSL
1397 + ssl::OPENSSL
1398 + ssl:openssl-linked:LINKED_OPENSSL
1399 +)
1400 +
1401 +QT5_GENTOO_PRIVATE_CONFIG=(
1402 + :network
1403 +)
1404 +
1405 +pkg_setup() {
1406 + use connman && QT5_TARGET_SUBDIRS+=(src/plugins/bearer/connman)
1407 + use networkmanager && QT5_TARGET_SUBDIRS+=(src/plugins/bearer/networkmanager)
1408 +}
1409 +
1410 +src_configure() {
1411 + local myconf=(
1412 + $(use connman || use networkmanager && echo -dbus-linked)
1413 + $(qt_use libproxy)
1414 + $(usex ssl -openssl-linked '')
1415 + )
1416 + qt5-build_src_configure
1417 +}
1418
1419 diff --git a/dev-qt/qtnetworkauth/qtnetworkauth-5.12.9999.ebuild b/dev-qt/qtnetworkauth/qtnetworkauth-5.12.9999.ebuild
1420 new file mode 100644
1421 index 00000000..a1e6dc62
1422 --- /dev/null
1423 +++ b/dev-qt/qtnetworkauth/qtnetworkauth-5.12.9999.ebuild
1424 @@ -0,0 +1,20 @@
1425 +# Copyright 1999-2018 Gentoo Foundation
1426 +# Distributed under the terms of the GNU General Public License v2
1427 +
1428 +EAPI=6
1429 +inherit qt5-build
1430 +
1431 +DESCRIPTION="Network authorization library for the Qt5 framework"
1432 +LICENSE="GPL-3"
1433 +
1434 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1435 + KEYWORDS="~amd64 ~x86"
1436 +fi
1437 +
1438 +IUSE=""
1439 +
1440 +DEPEND="
1441 + ~dev-qt/qtcore-${PV}
1442 + ~dev-qt/qtnetwork-${PV}
1443 +"
1444 +RDEPEND="${DEPEND}"
1445
1446 diff --git a/dev-qt/qtopengl/qtopengl-5.12.9999.ebuild b/dev-qt/qtopengl/qtopengl-5.12.9999.ebuild
1447 new file mode 100644
1448 index 00000000..5dfd9694
1449 --- /dev/null
1450 +++ b/dev-qt/qtopengl/qtopengl-5.12.9999.ebuild
1451 @@ -0,0 +1,34 @@
1452 +# Copyright 1999-2018 Gentoo Foundation
1453 +# Distributed under the terms of the GNU General Public License v2
1454 +
1455 +EAPI=6
1456 +QT5_MODULE="qtbase"
1457 +VIRTUALX_REQUIRED="test"
1458 +inherit qt5-build
1459 +
1460 +DESCRIPTION="OpenGL support library for the Qt5 framework (deprecated)"
1461 +
1462 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1463 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
1464 +fi
1465 +
1466 +IUSE="gles2"
1467 +
1468 +DEPEND="
1469 + ~dev-qt/qtcore-${PV}
1470 + ~dev-qt/qtgui-${PV}[gles2=]
1471 + ~dev-qt/qtwidgets-${PV}[gles2=]
1472 + virtual/opengl
1473 +"
1474 +RDEPEND="${DEPEND}"
1475 +
1476 +QT5_TARGET_SUBDIRS=(
1477 + src/opengl
1478 +)
1479 +
1480 +src_configure() {
1481 + local myconf=(
1482 + -opengl $(usex gles2 es2 desktop)
1483 + )
1484 + qt5-build_src_configure
1485 +}
1486
1487 diff --git a/dev-qt/qtpaths/qtpaths-5.12.9999.ebuild b/dev-qt/qtpaths/qtpaths-5.12.9999.ebuild
1488 new file mode 100644
1489 index 00000000..bc5bdee2
1490 --- /dev/null
1491 +++ b/dev-qt/qtpaths/qtpaths-5.12.9999.ebuild
1492 @@ -0,0 +1,23 @@
1493 +# Copyright 1999-2018 Gentoo Foundation
1494 +# Distributed under the terms of the GNU General Public License v2
1495 +
1496 +EAPI=6
1497 +QT5_MODULE="qttools"
1498 +inherit qt5-build
1499 +
1500 +DESCRIPTION="Command line client to QStandardPaths"
1501 +
1502 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1503 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
1504 +fi
1505 +
1506 +IUSE=""
1507 +
1508 +DEPEND="
1509 + ~dev-qt/qtcore-${PV}
1510 +"
1511 +RDEPEND="${DEPEND}"
1512 +
1513 +QT5_TARGET_SUBDIRS=(
1514 + src/qtpaths
1515 +)
1516
1517 diff --git a/dev-qt/qtplugininfo/qtplugininfo-5.12.9999.ebuild b/dev-qt/qtplugininfo/qtplugininfo-5.12.9999.ebuild
1518 new file mode 100644
1519 index 00000000..43ae95d1
1520 --- /dev/null
1521 +++ b/dev-qt/qtplugininfo/qtplugininfo-5.12.9999.ebuild
1522 @@ -0,0 +1,23 @@
1523 +# Copyright 1999-2018 Gentoo Foundation
1524 +# Distributed under the terms of the GNU General Public License v2
1525 +
1526 +EAPI=6
1527 +QT5_MODULE="qttools"
1528 +inherit qt5-build
1529 +
1530 +DESCRIPTION="Qt5 plugin metadata dumper"
1531 +
1532 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1533 + KEYWORDS="~amd64 ~x86"
1534 +fi
1535 +
1536 +IUSE=""
1537 +
1538 +DEPEND="
1539 + ~dev-qt/qtcore-${PV}
1540 +"
1541 +RDEPEND="${DEPEND}"
1542 +
1543 +QT5_TARGET_SUBDIRS=(
1544 + src/qtplugininfo
1545 +)
1546
1547 diff --git a/dev-qt/qtpositioning/qtpositioning-5.12.9999.ebuild b/dev-qt/qtpositioning/qtpositioning-5.12.9999.ebuild
1548 new file mode 100644
1549 index 00000000..37f71567
1550 --- /dev/null
1551 +++ b/dev-qt/qtpositioning/qtpositioning-5.12.9999.ebuild
1552 @@ -0,0 +1,40 @@
1553 +# Copyright 1999-2018 Gentoo Foundation
1554 +# Distributed under the terms of the GNU General Public License v2
1555 +
1556 +EAPI=6
1557 +QT5_MODULE="qtlocation"
1558 +inherit qt5-build
1559 +
1560 +DESCRIPTION="Physical position determination library for the Qt5 framework"
1561 +
1562 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1563 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
1564 +fi
1565 +
1566 +IUSE="geoclue qml"
1567 +
1568 +RDEPEND="
1569 + ~dev-qt/qtcore-${PV}
1570 + geoclue? ( ~dev-qt/qtdbus-${PV} )
1571 + qml? ( ~dev-qt/qtdeclarative-${PV} )
1572 +"
1573 +DEPEND="${RDEPEND}"
1574 +PDEPEND="
1575 + geoclue? ( app-misc/geoclue:0 )
1576 +"
1577 +
1578 +QT5_TARGET_SUBDIRS=(
1579 + src/3rdparty/clipper
1580 + src/3rdparty/poly2tri
1581 + src/3rdparty/clip2tri
1582 + src/positioning
1583 + src/plugins/position/positionpoll
1584 +)
1585 +
1586 +pkg_setup() {
1587 + use geoclue && QT5_TARGET_SUBDIRS+=(src/plugins/position/geoclue)
1588 + use qml && QT5_TARGET_SUBDIRS+=(
1589 + src/positioningquick
1590 + src/imports/positioning
1591 + )
1592 +}
1593
1594 diff --git a/dev-qt/qtprintsupport/qtprintsupport-5.12.9999.ebuild b/dev-qt/qtprintsupport/qtprintsupport-5.12.9999.ebuild
1595 new file mode 100644
1596 index 00000000..b53ccddd
1597 --- /dev/null
1598 +++ b/dev-qt/qtprintsupport/qtprintsupport-5.12.9999.ebuild
1599 @@ -0,0 +1,42 @@
1600 +# Copyright 1999-2018 Gentoo Foundation
1601 +# Distributed under the terms of the GNU General Public License v2
1602 +
1603 +EAPI=6
1604 +QT5_MODULE="qtbase"
1605 +VIRTUALX_REQUIRED="test"
1606 +inherit qt5-build
1607 +
1608 +DESCRIPTION="Printing support library for the Qt5 framework"
1609 +
1610 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1611 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
1612 +fi
1613 +
1614 +IUSE="cups gles2"
1615 +
1616 +RDEPEND="
1617 + ~dev-qt/qtcore-${PV}
1618 + ~dev-qt/qtgui-${PV}[gles2=]
1619 + ~dev-qt/qtwidgets-${PV}[gles2=]
1620 + cups? ( >=net-print/cups-1.4 )
1621 +"
1622 +DEPEND="${RDEPEND}
1623 + test? ( ~dev-qt/qtnetwork-${PV} )
1624 +"
1625 +
1626 +QT5_TARGET_SUBDIRS=(
1627 + src/printsupport
1628 + src/plugins/printsupport
1629 +)
1630 +
1631 +QT5_GENTOO_CONFIG=(
1632 + cups
1633 +)
1634 +
1635 +src_configure() {
1636 + local myconf=(
1637 + $(qt_use cups)
1638 + -opengl $(usex gles2 es2 desktop)
1639 + )
1640 + qt5-build_src_configure
1641 +}
1642
1643 diff --git a/dev-qt/qtquickcontrols/qtquickcontrols-5.12.9999.ebuild b/dev-qt/qtquickcontrols/qtquickcontrols-5.12.9999.ebuild
1644 new file mode 100644
1645 index 00000000..e0dc9411
1646 --- /dev/null
1647 +++ b/dev-qt/qtquickcontrols/qtquickcontrols-5.12.9999.ebuild
1648 @@ -0,0 +1,32 @@
1649 +# Copyright 1999-2018 Gentoo Foundation
1650 +# Distributed under the terms of the GNU General Public License v2
1651 +
1652 +EAPI=6
1653 +inherit qt5-build
1654 +
1655 +DESCRIPTION="Set of controls used in conjunction with Qt Quick to build complete interfaces"
1656 +
1657 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1658 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
1659 +fi
1660 +
1661 +IUSE="+widgets"
1662 +
1663 +DEPEND="
1664 + ~dev-qt/qtcore-${PV}
1665 + ~dev-qt/qtdeclarative-${PV}
1666 + ~dev-qt/qtgui-${PV}
1667 + widgets? ( ~dev-qt/qtwidgets-${PV} )
1668 +"
1669 +RDEPEND="${DEPEND}"
1670 +
1671 +src_prepare() {
1672 + qt_use_disable_mod widgets widgets \
1673 + src/src.pro \
1674 + src/controls/Private/private.pri \
1675 + tests/auto/activeFocusOnTab/activeFocusOnTab.pro \
1676 + tests/auto/controls/controls.pro \
1677 + tests/auto/testplugin/testplugin.pro
1678 +
1679 + qt5-build_src_prepare
1680 +}
1681
1682 diff --git a/dev-qt/qtquickcontrols2/qtquickcontrols2-5.12.9999.ebuild b/dev-qt/qtquickcontrols2/qtquickcontrols2-5.12.9999.ebuild
1683 new file mode 100644
1684 index 00000000..aa6bccf5
1685 --- /dev/null
1686 +++ b/dev-qt/qtquickcontrols2/qtquickcontrols2-5.12.9999.ebuild
1687 @@ -0,0 +1,30 @@
1688 +# Copyright 1999-2018 Gentoo Foundation
1689 +# Distributed under the terms of the GNU General Public License v2
1690 +
1691 +EAPI=6
1692 +inherit qt5-build
1693 +
1694 +DESCRIPTION="Set of next generation Qt Quick controls for the Qt5 framework"
1695 +
1696 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1697 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
1698 +fi
1699 +
1700 +IUSE="widgets"
1701 +
1702 +DEPEND="
1703 + ~dev-qt/qtcore-${PV}
1704 + ~dev-qt/qtdeclarative-${PV}
1705 + ~dev-qt/qtgui-${PV}
1706 + widgets? ( ~dev-qt/qtwidgets-${PV} )
1707 +"
1708 +RDEPEND="${DEPEND}
1709 + ~dev-qt/qtgraphicaleffects-${PV}
1710 +"
1711 +
1712 +src_prepare() {
1713 + qt_use_disable_mod widgets widgets \
1714 + src/imports/platform/platform.pro
1715 +
1716 + qt5-build_src_prepare
1717 +}
1718
1719 diff --git a/dev-qt/qtscript/qtscript-5.12.9999.ebuild b/dev-qt/qtscript/qtscript-5.12.9999.ebuild
1720 new file mode 100644
1721 index 00000000..2644fc6e
1722 --- /dev/null
1723 +++ b/dev-qt/qtscript/qtscript-5.12.9999.ebuild
1724 @@ -0,0 +1,36 @@
1725 +# Copyright 1999-2018 Gentoo Foundation
1726 +# Distributed under the terms of the GNU General Public License v2
1727 +
1728 +EAPI=6
1729 +inherit qt5-build
1730 +
1731 +DESCRIPTION="Application scripting library for the Qt5 framework (deprecated)"
1732 +
1733 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1734 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
1735 +fi
1736 +
1737 +IUSE="+jit scripttools"
1738 +
1739 +DEPEND="
1740 + ~dev-qt/qtcore-${PV}
1741 + scripttools? (
1742 + ~dev-qt/qtgui-${PV}
1743 + ~dev-qt/qtwidgets-${PV}
1744 + )
1745 +"
1746 +RDEPEND="${DEPEND}"
1747 +
1748 +src_prepare() {
1749 + qt_use_disable_mod scripttools widgets \
1750 + src/src.pro
1751 +
1752 + qt5-build_src_prepare
1753 +}
1754 +
1755 +src_configure() {
1756 + local myqmakeargs=(
1757 + JAVASCRIPTCORE_JIT=$(usex jit 'yes' 'no')
1758 + )
1759 + qt5-build_src_configure
1760 +}
1761
1762 diff --git a/dev-qt/qtscxml/qtscxml-5.12.9999.ebuild b/dev-qt/qtscxml/qtscxml-5.12.9999.ebuild
1763 new file mode 100644
1764 index 00000000..59b06ef2
1765 --- /dev/null
1766 +++ b/dev-qt/qtscxml/qtscxml-5.12.9999.ebuild
1767 @@ -0,0 +1,19 @@
1768 +# Copyright 1999-2018 Gentoo Foundation
1769 +# Distributed under the terms of the GNU General Public License v2
1770 +
1771 +EAPI=6
1772 +inherit qt5-build
1773 +
1774 +DESCRIPTION="State Chart XML (SCXML) support library for the Qt5 framework"
1775 +
1776 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1777 + KEYWORDS="~amd64 ~x86"
1778 +fi
1779 +
1780 +IUSE=""
1781 +
1782 +DEPEND="
1783 + ~dev-qt/qtcore-${PV}
1784 + ~dev-qt/qtdeclarative-${PV}
1785 +"
1786 +RDEPEND="${DEPEND}"
1787
1788 diff --git a/dev-qt/qtsensors/qtsensors-5.12.9999.ebuild b/dev-qt/qtsensors/qtsensors-5.12.9999.ebuild
1789 new file mode 100644
1790 index 00000000..d0b0c5b6
1791 --- /dev/null
1792 +++ b/dev-qt/qtsensors/qtsensors-5.12.9999.ebuild
1793 @@ -0,0 +1,28 @@
1794 +# Copyright 1999-2018 Gentoo Foundation
1795 +# Distributed under the terms of the GNU General Public License v2
1796 +
1797 +EAPI=6
1798 +inherit qt5-build
1799 +
1800 +DESCRIPTION="Hardware sensor access library for the Qt5 framework"
1801 +
1802 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1803 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
1804 +fi
1805 +
1806 +# TODO: simulator
1807 +IUSE="qml"
1808 +
1809 +RDEPEND="
1810 + ~dev-qt/qtcore-${PV}
1811 + ~dev-qt/qtdbus-${PV}
1812 + qml? ( ~dev-qt/qtdeclarative-${PV} )
1813 +"
1814 +DEPEND="${RDEPEND}"
1815 +
1816 +src_prepare() {
1817 + qt_use_disable_mod qml quick \
1818 + src/src.pro
1819 +
1820 + qt5-build_src_prepare
1821 +}
1822
1823 diff --git a/dev-qt/qtserialbus/qtserialbus-5.12.9999.ebuild b/dev-qt/qtserialbus/qtserialbus-5.12.9999.ebuild
1824 new file mode 100644
1825 index 00000000..c6a1fac1
1826 --- /dev/null
1827 +++ b/dev-qt/qtserialbus/qtserialbus-5.12.9999.ebuild
1828 @@ -0,0 +1,20 @@
1829 +# Copyright 1999-2018 Gentoo Foundation
1830 +# Distributed under the terms of the GNU General Public License v2
1831 +
1832 +EAPI=6
1833 +inherit qt5-build
1834 +
1835 +DESCRIPTION="Support for CAN and other serial buses"
1836 +
1837 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1838 + KEYWORDS="~amd64 ~x86"
1839 +fi
1840 +
1841 +IUSE=""
1842 +
1843 +DEPEND="
1844 + ~dev-qt/qtcore-${PV}
1845 + ~dev-qt/qtnetwork-${PV}
1846 + ~dev-qt/qtserialport-${PV}
1847 +"
1848 +RDEPEND="${DEPEND}"
1849
1850 diff --git a/dev-qt/qtserialport/qtserialport-5.12.9999.ebuild b/dev-qt/qtserialport/qtserialport-5.12.9999.ebuild
1851 new file mode 100644
1852 index 00000000..f29b276e
1853 --- /dev/null
1854 +++ b/dev-qt/qtserialport/qtserialport-5.12.9999.ebuild
1855 @@ -0,0 +1,27 @@
1856 +# Copyright 1999-2018 Gentoo Foundation
1857 +# Distributed under the terms of the GNU General Public License v2
1858 +
1859 +EAPI=6
1860 +inherit qt5-build
1861 +
1862 +DESCRIPTION="Serial port abstraction library for the Qt5 framework"
1863 +
1864 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1865 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
1866 +fi
1867 +
1868 +IUSE=""
1869 +
1870 +DEPEND="
1871 + ~dev-qt/qtcore-${PV}
1872 + virtual/libudev:=
1873 +"
1874 +RDEPEND="${DEPEND}"
1875 +
1876 +src_prepare() {
1877 + # make sure we link against libudev
1878 + sed -i -e 's/:qtConfig(libudev)//' \
1879 + src/serialport/serialport-lib.pri || die
1880 +
1881 + qt5-build_src_prepare
1882 +}
1883
1884 diff --git a/dev-qt/qtspeech/qtspeech-5.12.9999.ebuild b/dev-qt/qtspeech/qtspeech-5.12.9999.ebuild
1885 new file mode 100644
1886 index 00000000..24627d2b
1887 --- /dev/null
1888 +++ b/dev-qt/qtspeech/qtspeech-5.12.9999.ebuild
1889 @@ -0,0 +1,22 @@
1890 +# Copyright 1999-2018 Gentoo Foundation
1891 +# Distributed under the terms of the GNU General Public License v2
1892 +
1893 +EAPI=6
1894 +inherit qt5-build
1895 +
1896 +DESCRIPTION="Text-to-speech library for the Qt5 framework"
1897 +
1898 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1899 + KEYWORDS="~amd64 ~x86"
1900 +fi
1901 +
1902 +# TODO: flite plugin - needs 2.0.0 (not yet in tree)
1903 +IUSE=""
1904 +
1905 +RDEPEND="
1906 + >=app-accessibility/speech-dispatcher-0.8.7
1907 + ~dev-qt/qtcore-${PV}
1908 +"
1909 +DEPEND="${RDEPEND}"
1910 +
1911 +PATCHES=( "${FILESDIR}/${PN}-5.9.4-nogui.patch" )
1912
1913 diff --git a/dev-qt/qtsql/qtsql-5.12.9999.ebuild b/dev-qt/qtsql/qtsql-5.12.9999.ebuild
1914 new file mode 100644
1915 index 00000000..40fde45f
1916 --- /dev/null
1917 +++ b/dev-qt/qtsql/qtsql-5.12.9999.ebuild
1918 @@ -0,0 +1,58 @@
1919 +# Copyright 1999-2018 Gentoo Foundation
1920 +# Distributed under the terms of the GNU General Public License v2
1921 +
1922 +EAPI=6
1923 +QT5_MODULE="qtbase"
1924 +inherit qt5-build
1925 +
1926 +DESCRIPTION="SQL abstraction library for the Qt5 framework"
1927 +SLOT=5/$(ver_cut 1-3) # bug 639140
1928 +
1929 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1930 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
1931 +fi
1932 +
1933 +IUSE="freetds mysql oci8 odbc postgres +sqlite"
1934 +
1935 +REQUIRED_USE="
1936 + || ( freetds mysql oci8 odbc postgres sqlite )
1937 +"
1938 +
1939 +DEPEND="
1940 + ~dev-qt/qtcore-${PV}
1941 + freetds? ( dev-db/freetds )
1942 + mysql? ( virtual/libmysqlclient:= )
1943 + oci8? ( dev-db/oracle-instantclient-basic )
1944 + odbc? ( || ( dev-db/unixODBC dev-db/libiodbc ) )
1945 + postgres? ( dev-db/postgresql:* )
1946 + sqlite? ( >=dev-db/sqlite-3.8.10.2:3 )
1947 +"
1948 +RDEPEND="${DEPEND}"
1949 +
1950 +QT5_TARGET_SUBDIRS=(
1951 + src/sql
1952 + src/plugins/sqldrivers
1953 +)
1954 +
1955 +QT5_GENTOO_PRIVATE_CONFIG=(
1956 + :sql
1957 +)
1958 +
1959 +src_configure() {
1960 + local myconf=(
1961 + $(qt_use freetds sql-tds plugin)
1962 + $(qt_use mysql sql-mysql plugin)
1963 + $(qt_use oci8 sql-oci plugin)
1964 + $(qt_use odbc sql-odbc plugin)
1965 + $(qt_use postgres sql-psql plugin)
1966 + $(qt_use sqlite sql-sqlite plugin)
1967 + $(usex sqlite -system-sqlite '')
1968 + )
1969 +
1970 + use mysql && myconf+=("-I${EPREFIX}/usr/include/mysql" "-L${EPREFIX}/usr/$(get_libdir)/mysql")
1971 + use oci8 && myconf+=("-I${ORACLE_HOME}/include" "-L${ORACLE_HOME}/$(get_libdir)")
1972 + use odbc && myconf+=("-I${EPREFIX}/usr/include/iodbc")
1973 + use postgres && myconf+=("-I${EPREFIX}/usr/include/postgresql/pgsql")
1974 +
1975 + qt5-build_src_configure
1976 +}
1977
1978 diff --git a/dev-qt/qtsvg/qtsvg-5.12.9999.ebuild b/dev-qt/qtsvg/qtsvg-5.12.9999.ebuild
1979 new file mode 100644
1980 index 00000000..8afd46f0
1981 --- /dev/null
1982 +++ b/dev-qt/qtsvg/qtsvg-5.12.9999.ebuild
1983 @@ -0,0 +1,23 @@
1984 +# Copyright 1999-2018 Gentoo Foundation
1985 +# Distributed under the terms of the GNU General Public License v2
1986 +
1987 +EAPI=6
1988 +inherit qt5-build
1989 +
1990 +DESCRIPTION="SVG rendering library for the Qt5 framework"
1991 +
1992 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
1993 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
1994 +fi
1995 +
1996 +IUSE=""
1997 +
1998 +RDEPEND="
1999 + ~dev-qt/qtcore-${PV}
2000 + ~dev-qt/qtgui-${PV}
2001 + ~dev-qt/qtwidgets-${PV}
2002 + >=sys-libs/zlib-1.2.5
2003 +"
2004 +DEPEND="${RDEPEND}
2005 + test? ( ~dev-qt/qtxml-${PV} )
2006 +"
2007
2008 diff --git a/dev-qt/qttest/qttest-5.12.9999.ebuild b/dev-qt/qttest/qttest-5.12.9999.ebuild
2009 new file mode 100644
2010 index 00000000..a136469c
2011 --- /dev/null
2012 +++ b/dev-qt/qttest/qttest-5.12.9999.ebuild
2013 @@ -0,0 +1,33 @@
2014 +# Copyright 1999-2018 Gentoo Foundation
2015 +# Distributed under the terms of the GNU General Public License v2
2016 +
2017 +EAPI=6
2018 +QT5_MODULE="qtbase"
2019 +VIRTUALX_REQUIRED="test"
2020 +inherit qt5-build
2021 +
2022 +DESCRIPTION="Unit testing library for the Qt5 framework"
2023 +
2024 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2025 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
2026 +fi
2027 +
2028 +IUSE=""
2029 +
2030 +RDEPEND="
2031 + ~dev-qt/qtcore-${PV}
2032 +"
2033 +DEPEND="${RDEPEND}
2034 + test? (
2035 + ~dev-qt/qtgui-${PV}
2036 + ~dev-qt/qtxml-${PV}
2037 + )
2038 +"
2039 +
2040 +QT5_TARGET_SUBDIRS=(
2041 + src/testlib
2042 +)
2043 +
2044 +QT5_GENTOO_PRIVATE_CONFIG=(
2045 + :testlib
2046 +)
2047
2048 diff --git a/dev-qt/qttranslations/qttranslations-5.12.9999.ebuild b/dev-qt/qttranslations/qttranslations-5.12.9999.ebuild
2049 new file mode 100644
2050 index 00000000..02291152
2051 --- /dev/null
2052 +++ b/dev-qt/qttranslations/qttranslations-5.12.9999.ebuild
2053 @@ -0,0 +1,19 @@
2054 +# Copyright 1999-2018 Gentoo Foundation
2055 +# Distributed under the terms of the GNU General Public License v2
2056 +
2057 +EAPI=6
2058 +inherit qt5-build
2059 +
2060 +DESCRIPTION="Translation files for the Qt5 framework"
2061 +
2062 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2063 + KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
2064 +fi
2065 +
2066 +IUSE=""
2067 +
2068 +DEPEND="
2069 + ~dev-qt/linguist-tools-${PV}
2070 + ~dev-qt/qtcore-${PV}
2071 +"
2072 +RDEPEND=""
2073
2074 diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.12.9999.ebuild b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.12.9999.ebuild
2075 new file mode 100644
2076 index 00000000..21fd992d
2077 --- /dev/null
2078 +++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.12.9999.ebuild
2079 @@ -0,0 +1,38 @@
2080 +# Copyright 1999-2018 Gentoo Foundation
2081 +# Distributed under the terms of the GNU General Public License v2
2082 +
2083 +EAPI=6
2084 +inherit qt5-build
2085 +
2086 +DESCRIPTION="Virtual keyboard plugin for the Qt5 framework"
2087 +
2088 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2089 + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-fbsd"
2090 +fi
2091 +
2092 +# TODO: unbudle libraries for more layouts
2093 +IUSE="handwriting +spell +xcb"
2094 +
2095 +DEPEND="
2096 + ~dev-qt/qtcore-${PV}
2097 + ~dev-qt/qtdeclarative-${PV}
2098 + ~dev-qt/qtgui-${PV}
2099 + ~dev-qt/qtsvg-${PV}
2100 + spell? ( app-text/hunspell:= )
2101 + xcb? ( x11-libs/libxcb:= )
2102 +"
2103 +RDEPEND="${DEPEND}"
2104 +
2105 +src_configure() {
2106 + local myqmakeargs=(
2107 + $(usex handwriting CONFIG+=lipi-toolkit "")
2108 + $(usex spell "" CONFIG+=disable-hunspell)
2109 + $(usex xcb "" CONFIG+=disable-desktop)
2110 + CONFIG+="lang-ar_AR lang-da_DK lang-de_DE lang-en_GB \
2111 + lang-es_ES lang-fa_FA lang-fi_FI lang-fr_FR \
2112 + lang-hi_IN lang-it_IT lang-nb_NO lang-pl_PL \
2113 + lang-pt_PT lang-ro_RO lang-ru_RU lang-sv_SE"
2114 + )
2115 +
2116 + qt5-build_src_configure
2117 +}
2118
2119 diff --git a/dev-qt/qtwayland/qtwayland-5.12.9999.ebuild b/dev-qt/qtwayland/qtwayland-5.12.9999.ebuild
2120 new file mode 100644
2121 index 00000000..4c355304
2122 --- /dev/null
2123 +++ b/dev-qt/qtwayland/qtwayland-5.12.9999.ebuild
2124 @@ -0,0 +1,39 @@
2125 +# Copyright 1999-2018 Gentoo Foundation
2126 +# Distributed under the terms of the GNU General Public License v2
2127 +
2128 +EAPI=6
2129 +inherit qt5-build
2130 +
2131 +DESCRIPTION="Wayland platform plugin for Qt"
2132 +
2133 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2134 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
2135 +fi
2136 +
2137 +IUSE="+libinput xcomposite"
2138 +
2139 +DEPEND="
2140 + >=dev-libs/wayland-1.6.0
2141 + ~dev-qt/qtcore-${PV}
2142 + ~dev-qt/qtdeclarative-${PV}
2143 + ~dev-qt/qtgui-${PV}[egl,libinput?]
2144 + media-libs/mesa[egl]
2145 + >=x11-libs/libxkbcommon-0.2.0
2146 + xcomposite? (
2147 + x11-libs/libX11
2148 + x11-libs/libXcomposite
2149 + )
2150 +"
2151 +RDEPEND="${DEPEND}"
2152 +
2153 +src_prepare() {
2154 + qt_use_disable_config libinput xkbcommon-evdev \
2155 + src/client/client.pro \
2156 + src/compositor/wayland_wrapper/wayland_wrapper.pri \
2157 + src/plugins/shellintegration/ivi-shell/ivi-shell.pro \
2158 + tests/auto/compositor/compositor/compositor.pro
2159 +
2160 + use xcomposite || rm -r config.tests/xcomposite || die
2161 +
2162 + qt5-build_src_prepare
2163 +}
2164
2165 diff --git a/dev-qt/qtwebchannel/qtwebchannel-5.12.9999.ebuild b/dev-qt/qtwebchannel/qtwebchannel-5.12.9999.ebuild
2166 new file mode 100644
2167 index 00000000..7f4acf24
2168 --- /dev/null
2169 +++ b/dev-qt/qtwebchannel/qtwebchannel-5.12.9999.ebuild
2170 @@ -0,0 +1,26 @@
2171 +# Copyright 1999-2018 Gentoo Foundation
2172 +# Distributed under the terms of the GNU General Public License v2
2173 +
2174 +EAPI=6
2175 +inherit qt5-build
2176 +
2177 +DESCRIPTION="Qt5 module for integrating C++ and QML applications with HTML/JavaScript clients"
2178 +
2179 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2180 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
2181 +fi
2182 +
2183 +IUSE="qml"
2184 +
2185 +DEPEND="
2186 + ~dev-qt/qtcore-${PV}
2187 + qml? ( ~dev-qt/qtdeclarative-${PV} )
2188 +"
2189 +RDEPEND="${DEPEND}"
2190 +
2191 +src_prepare() {
2192 + qt_use_disable_mod qml quick src/src.pro
2193 + qt_use_disable_mod qml qml src/webchannel/webchannel.pro
2194 +
2195 + qt5-build_src_prepare
2196 +}
2197
2198 diff --git a/dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild
2199 new file mode 100644
2200 index 00000000..f1bc40d6
2201 --- /dev/null
2202 +++ b/dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild
2203 @@ -0,0 +1,134 @@
2204 +# Copyright 1999-2018 Gentoo Foundation
2205 +# Distributed under the terms of the GNU General Public License v2
2206 +
2207 +EAPI=6
2208 +PYTHON_COMPAT=( python2_7 )
2209 +inherit multiprocessing pax-utils python-any-r1 qt5-build
2210 +
2211 +DESCRIPTION="Library for rendering dynamic web content in Qt5 C++ and QML applications"
2212 +
2213 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2214 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
2215 +fi
2216 +
2217 +IUSE="alsa bindist designer geolocation pax_kernel pulseaudio +system-ffmpeg +system-icu widgets"
2218 +REQUIRED_USE="designer? ( widgets )"
2219 +
2220 +RDEPEND="
2221 + app-arch/snappy:=
2222 + dev-libs/glib:2
2223 + dev-libs/nspr
2224 + dev-libs/nss
2225 + ~dev-qt/qtcore-${PV}
2226 + ~dev-qt/qtdeclarative-${PV}
2227 + ~dev-qt/qtgui-${PV}
2228 + ~dev-qt/qtnetwork-${PV}
2229 + ~dev-qt/qtprintsupport-${PV}
2230 + ~dev-qt/qtwebchannel-${PV}[qml]
2231 + dev-libs/expat
2232 + dev-libs/libevent:=
2233 + dev-libs/libxml2[icu]
2234 + dev-libs/libxslt
2235 + dev-libs/re2:=
2236 + media-libs/fontconfig
2237 + media-libs/freetype
2238 + media-libs/harfbuzz:=
2239 + media-libs/libjpeg-turbo:=
2240 + media-libs/libpng:0=
2241 + >=media-libs/libvpx-1.5:=[svc]
2242 + media-libs/libwebp:=
2243 + media-libs/mesa[egl]
2244 + media-libs/opus
2245 + net-libs/libsrtp:0=
2246 + sys-apps/dbus
2247 + sys-apps/pciutils
2248 + sys-libs/libcap
2249 + sys-libs/zlib[minizip]
2250 + virtual/libudev
2251 + x11-libs/libdrm
2252 + x11-libs/libX11
2253 + x11-libs/libXcomposite
2254 + x11-libs/libXcursor
2255 + x11-libs/libXdamage
2256 + x11-libs/libXext
2257 + x11-libs/libXfixes
2258 + x11-libs/libXi
2259 + x11-libs/libXrandr
2260 + x11-libs/libXrender
2261 + x11-libs/libXScrnSaver
2262 + x11-libs/libXtst
2263 + alsa? ( media-libs/alsa-lib )
2264 + designer? ( ~dev-qt/designer-${PV} )
2265 + geolocation? ( ~dev-qt/qtpositioning-${PV} )
2266 + pulseaudio? ( media-sound/pulseaudio:= )
2267 + system-ffmpeg? ( media-video/ffmpeg:0= )
2268 + system-icu? ( >=dev-libs/icu-60.2:= )
2269 + widgets? (
2270 + ~dev-qt/qtdeclarative-${PV}[widgets]
2271 + ~dev-qt/qtwidgets-${PV}
2272 + )
2273 +"
2274 +DEPEND="${RDEPEND}
2275 + ${PYTHON_DEPS}
2276 + >=app-arch/gzip-1.7
2277 + dev-util/gperf
2278 + dev-util/ninja
2279 + dev-util/re2c
2280 + sys-devel/bison
2281 + pax_kernel? ( sys-apps/elfix )
2282 +"
2283 +
2284 +PATCHES+=(
2285 + "${FILESDIR}/${PN}-5.12.0-libxml2-disable-catalogs.patch" # bug 653078
2286 + "${FILESDIR}/${PN}-5.11.1-nouveau-disable-gpu.patch" # bug 609752
2287 +)
2288 +
2289 +src_prepare() {
2290 + use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.9.3-paxmark-mksnapshot.patch" )
2291 +
2292 + # bug 620444 - ensure local headers are used
2293 + find "${S}" -type f -name "*.pr[fio]" | xargs sed -i -e 's|INCLUDEPATH += |&$$QTWEBENGINE_ROOT/include |' || die
2294 +
2295 + qt_use_disable_config alsa webengine-alsa src/core/config/linux.pri
2296 + qt_use_disable_config pulseaudio webengine-pulseaudio src/core/config/linux.pri
2297 +
2298 + qt_use_disable_mod designer webenginewidgets src/plugins/plugins.pro
2299 +
2300 + qt_use_disable_mod geolocation positioning \
2301 + mkspecs/features/configure.prf \
2302 + src/core/core_chromium.pri \
2303 + src/core/core_common.pri
2304 +
2305 + qt_use_disable_mod widgets widgets src/src.pro
2306 +
2307 + qt5-build_src_prepare
2308 +}
2309 +
2310 +src_configure() {
2311 + export NINJA_PATH=/usr/bin/ninja
2312 + export NINJAFLAGS="${NINJAFLAGS:--j$(makeopts_jobs) -l$(makeopts_loadavg "${MAKEOPTS}" 0) -v}"
2313 +
2314 + local myqmakeargs=(
2315 + --
2316 + -opus
2317 + -printing-and-pdf
2318 + -webp
2319 + $(usex alsa '-alsa' '')
2320 + $(usex bindist '' '-proprietary-codecs')
2321 + $(usex pulseaudio '-pulseaudio' '')
2322 + $(usex system-ffmpeg '-ffmpeg' '')
2323 + $(usex system-icu '-webengine-icu' '')
2324 + )
2325 + qt5-build_src_configure
2326 +}
2327 +
2328 +src_install() {
2329 + qt5-build_src_install
2330 +
2331 + # bug 601472
2332 + if [[ ! -f ${D%/}${QT5_LIBDIR}/libQt5WebEngine.so ]]; then
2333 + die "${CATEGORY}/${PF} failed to build anything. Please report to https://bugs.gentoo.org/"
2334 + fi
2335 +
2336 + pax-mark m "${D%/}${QT5_LIBEXECDIR}"/QtWebEngineProcess
2337 +}
2338
2339 diff --git a/dev-qt/qtwebkit/qtwebkit-5.12.9999.ebuild b/dev-qt/qtwebkit/qtwebkit-5.12.9999.ebuild
2340 new file mode 100644
2341 index 00000000..8af05a19
2342 --- /dev/null
2343 +++ b/dev-qt/qtwebkit/qtwebkit-5.12.9999.ebuild
2344 @@ -0,0 +1,120 @@
2345 +# Copyright 1999-2018 Gentoo Foundation
2346 +# Distributed under the terms of the GNU General Public License v2
2347 +
2348 +EAPI=6
2349 +PYTHON_COMPAT=( python2_7 )
2350 +QT_MIN_VER="5.9.1:5"
2351 +inherit python-any-r1 qt5-build
2352 +
2353 +DESCRIPTION="WebKit rendering library for the Qt5 framework (deprecated)"
2354 +
2355 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2356 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
2357 +fi
2358 +
2359 +# TODO: qttestlib
2360 +
2361 +IUSE="geolocation gstreamer gles2 +jit multimedia opengl orientation printsupport qml test webchannel webp"
2362 +REQUIRED_USE="?? ( gstreamer multimedia )"
2363 +
2364 +RDEPEND="
2365 + dev-db/sqlite:3
2366 + dev-libs/icu:=
2367 + >=dev-libs/leveldb-1.18-r1
2368 + dev-libs/libxml2:2
2369 + dev-libs/libxslt
2370 + >=dev-qt/qtcore-${QT_MIN_VER}[icu]
2371 + >=dev-qt/qtgui-${QT_MIN_VER}
2372 + >=dev-qt/qtnetwork-${QT_MIN_VER}
2373 + >=dev-qt/qtsql-${QT_MIN_VER}
2374 + >=dev-qt/qtwidgets-${QT_MIN_VER}
2375 + media-libs/fontconfig:1.0
2376 + media-libs/libpng:0=
2377 + >=sys-libs/zlib-1.2.5
2378 + virtual/jpeg:0
2379 + virtual/opengl
2380 + x11-libs/libX11
2381 + x11-libs/libXcomposite
2382 + x11-libs/libXrender
2383 + geolocation? ( >=dev-qt/qtpositioning-${QT_MIN_VER} )
2384 + gstreamer? (
2385 + dev-libs/glib:2
2386 + media-libs/gstreamer:1.0
2387 + media-libs/gst-plugins-base:1.0
2388 + )
2389 + multimedia? ( >=dev-qt/qtmultimedia-${QT_MIN_VER}[widgets] )
2390 + opengl? (
2391 + >=dev-qt/qtgui-${QT_MIN_VER}[gles2=]
2392 + >=dev-qt/qtopengl-${QT_MIN_VER}
2393 + )
2394 + orientation? ( >=dev-qt/qtsensors-${QT_MIN_VER} )
2395 + printsupport? ( >=dev-qt/qtprintsupport-${QT_MIN_VER} )
2396 + qml? ( >=dev-qt/qtdeclarative-${QT_MIN_VER} )
2397 + webchannel? ( >=dev-qt/qtwebchannel-${QT_MIN_VER} )
2398 + webp? ( media-libs/libwebp:0= )
2399 +"
2400 +DEPEND="${RDEPEND}
2401 + ${PYTHON_DEPS}
2402 + dev-lang/ruby
2403 + dev-util/gperf
2404 + sys-devel/bison
2405 + sys-devel/flex
2406 + virtual/rubygems
2407 + test? ( >=dev-qt/qttest-${QT_MIN_VER} )
2408 +"
2409 +
2410 +PATCHES=(
2411 + "${FILESDIR}/${PN}-5.4.2-system-leveldb.patch"
2412 +)
2413 +
2414 +src_prepare() {
2415 + # ensure bundled library cannot be used
2416 + rm -r Source/ThirdParty/leveldb || die
2417 +
2418 + # force using system library
2419 + sed -i -e 's/qtConfig(system-jpeg)/true/' \
2420 + -e 's/qtConfig(system-png)/true/' \
2421 + Tools/qmake/mkspecs/features/features.prf || die
2422 +
2423 + # bug 466216
2424 + sed -i -e '/CONFIG +=/s/rpath//' \
2425 + Source/WebKit/qt/declarative/{experimental/experimental,public}.pri \
2426 + Tools/qmake/mkspecs/features/{force_static_libs_as_shared,unix/default_post}.prf \
2427 + || die
2428 +
2429 + qt_use_disable_config opengl opengl Tools/qmake/mkspecs/features/features.prf
2430 +
2431 + qt_use_disable_mod geolocation positioning Tools/qmake/mkspecs/features/features.prf
2432 + qt_use_disable_mod multimedia multimediawidgets Tools/qmake/mkspecs/features/features.prf
2433 + qt_use_disable_mod orientation sensors Tools/qmake/mkspecs/features/features.prf
2434 + qt_use_disable_mod printsupport printsupport Tools/qmake/mkspecs/features/features.prf
2435 + qt_use_disable_mod qml quick Tools/qmake/mkspecs/features/features.prf
2436 + qt_use_disable_mod webchannel webchannel \
2437 + Source/WebKit2/Target.pri \
2438 + Source/WebKit2/WebKit2.pri
2439 +
2440 + if ! use gstreamer; then
2441 + PATCHES+=("${FILESDIR}/${PN}-5.8.0-disable-gstreamer.patch")
2442 + fi
2443 +
2444 + # bug 562396
2445 + use jit || PATCHES+=("${FILESDIR}/${PN}-5.5.1-disable-jit.patch")
2446 +
2447 + use webp || sed -i -e '/config_libwebp: WEBKIT_CONFIG += use_webp/d' \
2448 + Tools/qmake/mkspecs/features/features.prf || die
2449 +
2450 + # bug 458222
2451 + sed -i -e '/SUBDIRS += examples/d' Source/QtWebKit.pro || die
2452 +
2453 + qt5-build_src_prepare
2454 +}
2455 +
2456 +src_install() {
2457 + qt5-build_src_install
2458 +
2459 + # bug 572056
2460 + if [[ ! -f ${D%/}${QT5_LIBDIR}/libQt5WebKit.so ]]; then
2461 + eerror "${CATEGORY}/${PF} could not build due to a broken ruby environment."
2462 + die 'Check "eselect ruby" and ensure you have a working ruby in your $PATH'
2463 + fi
2464 +}
2465
2466 diff --git a/dev-qt/qtwebsockets/qtwebsockets-5.12.9999.ebuild b/dev-qt/qtwebsockets/qtwebsockets-5.12.9999.ebuild
2467 new file mode 100644
2468 index 00000000..362a0a81
2469 --- /dev/null
2470 +++ b/dev-qt/qtwebsockets/qtwebsockets-5.12.9999.ebuild
2471 @@ -0,0 +1,27 @@
2472 +# Copyright 1999-2018 Gentoo Foundation
2473 +# Distributed under the terms of the GNU General Public License v2
2474 +
2475 +EAPI=6
2476 +inherit qt5-build
2477 +
2478 +DESCRIPTION="Implementation of the WebSocket protocol for the Qt5 framework"
2479 +
2480 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2481 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
2482 +fi
2483 +
2484 +IUSE="qml +ssl"
2485 +
2486 +DEPEND="
2487 + ~dev-qt/qtcore-${PV}
2488 + ~dev-qt/qtnetwork-${PV}[ssl=]
2489 + qml? ( ~dev-qt/qtdeclarative-${PV} )
2490 +
2491 +"
2492 +RDEPEND="${DEPEND}"
2493 +
2494 +src_prepare() {
2495 + qt_use_disable_mod qml quick src/src.pro
2496 +
2497 + qt5-build_src_prepare
2498 +}
2499
2500 diff --git a/dev-qt/qtwebview/qtwebview-5.12.9999.ebuild b/dev-qt/qtwebview/qtwebview-5.12.9999.ebuild
2501 new file mode 100644
2502 index 00000000..43288fc1
2503 --- /dev/null
2504 +++ b/dev-qt/qtwebview/qtwebview-5.12.9999.ebuild
2505 @@ -0,0 +1,21 @@
2506 +# Copyright 1999-2018 Gentoo Foundation
2507 +# Distributed under the terms of the GNU General Public License v2
2508 +
2509 +EAPI=6
2510 +inherit qt5-build
2511 +
2512 +DESCRIPTION="Module for displaying web content in a QML application using the Qt5 framework"
2513 +
2514 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2515 + KEYWORDS="~amd64"
2516 +fi
2517 +
2518 +IUSE=""
2519 +
2520 +DEPEND="
2521 + ~dev-qt/qtcore-${PV}
2522 + ~dev-qt/qtdeclarative-${PV}
2523 + ~dev-qt/qtgui-${PV}
2524 + ~dev-qt/qtwebengine-${PV}
2525 +"
2526 +RDEPEND="${DEPEND}"
2527
2528 diff --git a/dev-qt/qtwidgets/qtwidgets-5.12.9999.ebuild b/dev-qt/qtwidgets/qtwidgets-5.12.9999.ebuild
2529 new file mode 100644
2530 index 00000000..caf1f79a
2531 --- /dev/null
2532 +++ b/dev-qt/qtwidgets/qtwidgets-5.12.9999.ebuild
2533 @@ -0,0 +1,57 @@
2534 +# Copyright 1999-2018 Gentoo Foundation
2535 +# Distributed under the terms of the GNU General Public License v2
2536 +
2537 +EAPI=6
2538 +QT5_MODULE="qtbase"
2539 +inherit qt5-build
2540 +
2541 +DESCRIPTION="Set of components for creating classic desktop-style UIs for the Qt5 framework"
2542 +
2543 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2544 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
2545 +fi
2546 +
2547 +# keep IUSE defaults in sync with qtgui
2548 +IUSE="gles2 gtk +png +xcb"
2549 +
2550 +DEPEND="
2551 + ~dev-qt/qtcore-${PV}
2552 + ~dev-qt/qtgui-${PV}[gles2=,png=,xcb?]
2553 + gtk? (
2554 + ~dev-qt/qtgui-${PV}[dbus]
2555 + x11-libs/gtk+:3
2556 + x11-libs/libX11
2557 + x11-libs/pango
2558 + )
2559 +"
2560 +RDEPEND="${DEPEND}"
2561 +
2562 +QT5_TARGET_SUBDIRS=(
2563 + src/tools/uic
2564 + src/widgets
2565 + src/plugins/platformthemes
2566 +)
2567 +
2568 +QT5_GENTOO_CONFIG=(
2569 + gtk:gtk3:
2570 + ::widgets
2571 + !:no-widgets:
2572 +)
2573 +
2574 +QT5_GENTOO_PRIVATE_CONFIG=(
2575 + :widgets
2576 +)
2577 +
2578 +src_configure() {
2579 + local myconf=(
2580 + -opengl $(usex gles2 es2 desktop)
2581 + $(qt_use gtk)
2582 + -gui
2583 + $(qt_use png libpng system)
2584 + -widgets
2585 + $(qt_use xcb xcb system)
2586 + $(qt_use xcb xkbcommon system)
2587 + $(usex xcb '-xcb-xlib -xinput2 -xkb' '')
2588 + )
2589 + qt5-build_src_configure
2590 +}
2591
2592 diff --git a/dev-qt/qtx11extras/qtx11extras-5.12.9999.ebuild b/dev-qt/qtx11extras/qtx11extras-5.12.9999.ebuild
2593 new file mode 100644
2594 index 00000000..b029cc42
2595 --- /dev/null
2596 +++ b/dev-qt/qtx11extras/qtx11extras-5.12.9999.ebuild
2597 @@ -0,0 +1,21 @@
2598 +# Copyright 1999-2018 Gentoo Foundation
2599 +# Distributed under the terms of the GNU General Public License v2
2600 +
2601 +EAPI=6
2602 +inherit qt5-build
2603 +
2604 +DESCRIPTION="Linux/X11-specific support library for the Qt5 framework"
2605 +
2606 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2607 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
2608 +fi
2609 +
2610 +IUSE=""
2611 +
2612 +RDEPEND="
2613 + ~dev-qt/qtcore-${PV}
2614 + ~dev-qt/qtgui-${PV}[xcb]
2615 +"
2616 +DEPEND="${RDEPEND}
2617 + test? ( ~dev-qt/qtwidgets-${PV} )
2618 +"
2619
2620 diff --git a/dev-qt/qtxml/qtxml-5.12.9999.ebuild b/dev-qt/qtxml/qtxml-5.12.9999.ebuild
2621 new file mode 100644
2622 index 00000000..b8568f5e
2623 --- /dev/null
2624 +++ b/dev-qt/qtxml/qtxml-5.12.9999.ebuild
2625 @@ -0,0 +1,29 @@
2626 +# Copyright 1999-2018 Gentoo Foundation
2627 +# Distributed under the terms of the GNU General Public License v2
2628 +
2629 +EAPI=6
2630 +QT5_MODULE="qtbase"
2631 +inherit qt5-build
2632 +
2633 +DESCRIPTION="Implementation of SAX and DOM for the Qt5 framework"
2634 +
2635 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2636 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
2637 +fi
2638 +
2639 +IUSE=""
2640 +
2641 +RDEPEND="
2642 + ~dev-qt/qtcore-${PV}
2643 +"
2644 +DEPEND="${RDEPEND}
2645 + test? ( ~dev-qt/qtnetwork-${PV} )
2646 +"
2647 +
2648 +QT5_TARGET_SUBDIRS=(
2649 + src/xml
2650 +)
2651 +
2652 +QT5_GENTOO_PRIVATE_CONFIG=(
2653 + :xml
2654 +)
2655
2656 diff --git a/dev-qt/qtxmlpatterns/qtxmlpatterns-5.12.9999.ebuild b/dev-qt/qtxmlpatterns/qtxmlpatterns-5.12.9999.ebuild
2657 new file mode 100644
2658 index 00000000..8e0054f7
2659 --- /dev/null
2660 +++ b/dev-qt/qtxmlpatterns/qtxmlpatterns-5.12.9999.ebuild
2661 @@ -0,0 +1,19 @@
2662 +# Copyright 1999-2018 Gentoo Foundation
2663 +# Distributed under the terms of the GNU General Public License v2
2664 +
2665 +EAPI=6
2666 +inherit qt5-build
2667 +
2668 +DESCRIPTION="XPath, XQuery, XSLT, and XML Schema validation library for the Qt5 framework"
2669 +
2670 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
2671 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
2672 +fi
2673 +
2674 +IUSE=""
2675 +
2676 +DEPEND="
2677 + ~dev-qt/qtcore-${PV}
2678 + ~dev-qt/qtnetwork-${PV}
2679 +"
2680 +RDEPEND="${DEPEND}"