Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtdeclarative/
Date: Tue, 12 Mar 2019 07:10:26
Message-Id: 1552374460.2791137e2e1521c93254df94df98574cda601930.asturm@gentoo
1 commit: 2791137e2e1521c93254df94df98574cda601930
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 12 00:03:43 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 12 07:07:40 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2791137e
7
8 dev-qt/qtdeclarative: Drop USE xml
9
10 Missing follow-up to 359fc371b09aa331917b8f5af3b0019bed1252e0.
11
12 xmllistmodel was moved to qtdeclarative in upstream commit
13 0477a057fd02050fd330760bf046f5e0e91a9331.
14
15 Package-Manager: Portage-2.3.62, Repoman-2.3.12
16 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
17
18 .../qtdeclarative/qtdeclarative-5.12.1-r1.ebuild | 55 ++++++++++++++++++++++
19 1 file changed, 55 insertions(+)
20
21 diff --git a/dev-qt/qtdeclarative/qtdeclarative-5.12.1-r1.ebuild b/dev-qt/qtdeclarative/qtdeclarative-5.12.1-r1.ebuild
22 new file mode 100644
23 index 00000000000..b3c3411fbb0
24 --- /dev/null
25 +++ b/dev-qt/qtdeclarative/qtdeclarative-5.12.1-r1.ebuild
26 @@ -0,0 +1,55 @@
27 +# Copyright 1999-2019 Gentoo Authors
28 +# Distributed under the terms of the GNU General Public License v2
29 +
30 +EAPI=6
31 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
32 +inherit python-any-r1 qt5-build
33 +
34 +DESCRIPTION="The QML and Quick modules for the Qt5 framework"
35 +
36 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
37 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
38 +fi
39 +
40 +IUSE="gles2 +jit localstorage +widgets"
41 +
42 +# qtgui[gles2=] is needed because of bug 504322
43 +COMMON_DEPEND="
44 + ~dev-qt/qtcore-${PV}
45 + ~dev-qt/qtgui-${PV}[gles2=]
46 + ~dev-qt/qtnetwork-${PV}
47 + ~dev-qt/qttest-${PV}
48 + localstorage? ( ~dev-qt/qtsql-${PV} )
49 + widgets? ( ~dev-qt/qtwidgets-${PV}[gles2=] )
50 +"
51 +DEPEND="${COMMON_DEPEND}
52 + ${PYTHON_DEPS}
53 +"
54 +RDEPEND="${COMMON_DEPEND}
55 + !<dev-qt/qtquickcontrols-5.7:5
56 +"
57 +
58 +src_prepare() {
59 + use jit || PATCHES+=("${FILESDIR}/${PN}-5.4.2-disable-jit.patch")
60 +
61 + qt_use_disable_mod localstorage sql \
62 + src/imports/imports.pro
63 +
64 + qt_use_disable_mod widgets widgets \
65 + src/src.pro \
66 + src/qmltest/qmltest.pro \
67 + tests/auto/auto.pro \
68 + tools/tools.pro \
69 + tools/qmlscene/qmlscene.pro \
70 + tools/qml/qml.pro
71 +
72 + qt5-build_src_prepare
73 +}
74 +
75 +src_configure() {
76 + local myqmakeargs=(
77 + --
78 + -qml-debug
79 + )
80 + qt5-build_src_configure
81 +}