1 |
commit: 2093a67d115b1d878be6372038927710b2af1027 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 25 13:52:30 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 25 13:52:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2093a67d |
7 |
|
8 |
dev-qt/qtdeclarative: revision bump fixes crash when built with GCC 6 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/626070 |
11 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
12 |
|
13 |
dev-qt/qtdeclarative/qtdeclarative-5.7.1-r1.ebuild | 62 ++++++++++++++++++++++ |
14 |
1 file changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/dev-qt/qtdeclarative/qtdeclarative-5.7.1-r1.ebuild b/dev-qt/qtdeclarative/qtdeclarative-5.7.1-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..fae6450312c |
19 |
--- /dev/null |
20 |
+++ b/dev-qt/qtdeclarative/qtdeclarative-5.7.1-r1.ebuild |
21 |
@@ -0,0 +1,62 @@ |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
27 |
+inherit flag-o-matic python-any-r1 qt5-build |
28 |
+ |
29 |
+DESCRIPTION="The QML and Quick modules for the Qt5 framework" |
30 |
+ |
31 |
+if [[ ${QT5_BUILD_TYPE} == release ]]; then |
32 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
33 |
+fi |
34 |
+ |
35 |
+IUSE="gles2 +jit localstorage +widgets xml" |
36 |
+ |
37 |
+# qtgui[gles2=] is needed because of bug 504322 |
38 |
+COMMON_DEPEND=" |
39 |
+ ~dev-qt/qtcore-${PV} |
40 |
+ ~dev-qt/qtgui-${PV}[gles2=] |
41 |
+ ~dev-qt/qtnetwork-${PV} |
42 |
+ ~dev-qt/qttest-${PV} |
43 |
+ localstorage? ( ~dev-qt/qtsql-${PV} ) |
44 |
+ widgets? ( ~dev-qt/qtwidgets-${PV}[gles2=] ) |
45 |
+ xml? ( |
46 |
+ ~dev-qt/qtnetwork-${PV} |
47 |
+ ~dev-qt/qtxmlpatterns-${PV} |
48 |
+ ) |
49 |
+" |
50 |
+DEPEND="${COMMON_DEPEND} |
51 |
+ ${PYTHON_DEPS} |
52 |
+" |
53 |
+RDEPEND="${COMMON_DEPEND} |
54 |
+ !<dev-qt/qtquickcontrols-5.7:5 |
55 |
+" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ # this is supposed to be handled by the build system (src/qml/qml.pro), |
59 |
+ # fails because we override QMAKE_CXXFLAGS. bug 626070 |
60 |
+ if tc-is-gcc && [[ $(gcc-major-version) -ge 6 ]]; then |
61 |
+ append-cxxflags -fno-delete-null-pointer-checks -fno-lifetime-dse |
62 |
+ fi |
63 |
+ |
64 |
+ use jit || PATCHES+=("${FILESDIR}/${PN}-5.4.2-disable-jit.patch") |
65 |
+ |
66 |
+ use localstorage || sed -i -e '/localstorage/d' \ |
67 |
+ src/imports/imports.pro || die |
68 |
+ |
69 |
+ qt_use_disable_mod widgets widgets \ |
70 |
+ src/src.pro \ |
71 |
+ src/qmltest/qmltest.pro \ |
72 |
+ tests/auto/auto.pro \ |
73 |
+ tools/tools.pro \ |
74 |
+ tools/qmlscene/qmlscene.pro \ |
75 |
+ tools/qml/qml.pro |
76 |
+ |
77 |
+ qt_use_disable_mod xml xmlpatterns \ |
78 |
+ src/imports/imports.pro \ |
79 |
+ tests/auto/quick/quick.pro \ |
80 |
+ tests/auto/quick/examples/examples.pro |
81 |
+ |
82 |
+ qt5-build_src_prepare |
83 |
+} |