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/qtlocation/
Date: Fri, 25 Mar 2022 20:34:15
Message-Id: 1648240322.fa50e5ec82ab2014b6d71e58dd3c88bfcc9066a5.asturm@gentoo
1 commit: fa50e5ec82ab2014b6d71e58dd3c88bfcc9066a5
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 25 20:10:36 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 25 20:32:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa50e5ec
7
8 dev-qt/qtlocation: Fix appendChildNode() call
9
10 QTBUG: https://bugreports.qt.io/browse/QTBUG-96795
11 Package-Manager: Portage-3.0.30, Repoman-3.0.3
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 dev-qt/qtlocation/Manifest | 1 +
15 dev-qt/qtlocation/qtlocation-5.15.3-r1.ebuild | 49 +++++++++++++++++++++++++++
16 2 files changed, 50 insertions(+)
17
18 diff --git a/dev-qt/qtlocation/Manifest b/dev-qt/qtlocation/Manifest
19 index c8d953b27f70..9751407570b1 100644
20 --- a/dev-qt/qtlocation/Manifest
21 +++ b/dev-qt/qtlocation/Manifest
22 @@ -1,4 +1,5 @@
23 DIST qtlocation-5.15.2-861e372b.tar.gz 5431120 BLAKE2B c66e81f7e726b53000a0f8a4eafa9a4a6168aa08c89d4d0e2ef11b02e3598fd0b3f30dbd21e6c5436814bb88fa69c96d141b0d0d79f13239ec61396269af089a SHA512 b7cac8cd42185504c6140f1dcd4e8c0c749e3d8f22bf9977e97268e0ad6fbd3733e571a255ab7824eba31e30e707e804b07317f2ec9b7be15a4a5756c78c9e41
24 DIST qtlocation-5.15.3-gentoo-kde-1.tar.xz 700 BLAKE2B 098f0fc3f25fbbc8f87e6c76881bb7f27c7786e487e7e162c0ab38a35d0c71c96ba3aa65a5fc67953b8495d1773a02dff272f36bed49917ad377eb9a8b69b67a SHA512 e446763a8e6e7e0a6615aa707f8d393444f2e2ac6a03ea87e12bd9bff130c97ce94238c15392dd00121e587c5212b37666a53acf96c25501f86068779678cef8
25 +DIST qtlocation-5.15.3-gentoo-kde-2.tar.xz 1000 BLAKE2B bf03283153bed5f2e67cfcc42784fb6cec7574492cbc63979316602e9f2684fdd10f140b743f82076ec39e0831faa8a5a2074e9cfdf7c4743eff354e076b635f SHA512 f44f5aa2f6aac3a62fbc3cc6eaa88949d54f4238d1cbc12d770ba3b48f97712678c491083029ba871fb9eb31f5172296e8951e83a3f874ac2a8a1a78478559e4
26 DIST qtlocation-everywhere-opensource-src-5.15.3.tar.xz 6556680 BLAKE2B aa187e23ed544e380516d93f3cb83fcff73ee501e7b790eb55b9ca9ddcdbf96d31b8b645b70e003423bf6e8945e2fb06be0ba62785a1ba5680acca2129003d83 SHA512 755434db4cdea1c98159a2891c3efcda03fd03b144c37e7a71f57cb5d5dbc5ea1b35d1dcafa7301fc904ede910b4a9f7cfc834b7722cc06fcc360ad3be7b2886
27 DIST qtlocation-mapboxgl-5.15.2-d3101bbc.tar.gz 3726244 BLAKE2B e571a72e041b80b155eae7d171cee7f996fbe223c8d3337f549ea2a40472fc2da9dd8abf54238f22c1828d467aaf01307a61acecd3aedc4f5f7cabc06f48d830 SHA512 6e38e5ca0b9e17de690af79f4702278bdc933a74561aa135b3e82245df7d795602403048bcc5bce00237f774ce3957540a8bded1a71f8730a08da05dec1f039f
28
29 diff --git a/dev-qt/qtlocation/qtlocation-5.15.3-r1.ebuild b/dev-qt/qtlocation/qtlocation-5.15.3-r1.ebuild
30 new file mode 100644
31 index 000000000000..b41af51db3c9
32 --- /dev/null
33 +++ b/dev-qt/qtlocation/qtlocation-5.15.3-r1.ebuild
34 @@ -0,0 +1,49 @@
35 +# Copyright 1999-2022 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +QT5_KDEPATCHSET_REV=2
41 +inherit qt5-build
42 +
43 +DESCRIPTION="Location (places, maps, navigation) library for the Qt5 framework"
44 +
45 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
46 + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
47 +fi
48 +
49 +IUSE=""
50 +
51 +RDEPEND="
52 + dev-libs/icu:=
53 + =dev-qt/qtcore-${QT5_PV}*
54 + =dev-qt/qtdeclarative-${QT5_PV}*
55 + =dev-qt/qtgui-${QT5_PV}*
56 + =dev-qt/qtnetwork-${QT5_PV}*
57 + =dev-qt/qtpositioning-${QT5_PV}*[qml]
58 + =dev-qt/qtsql-${QT5_PV}*
59 + sys-libs/zlib
60 +"
61 +DEPEND="${RDEPEND}
62 + =dev-qt/qtconcurrent-${QT5_PV}*
63 +"
64 +
65 +QT5_TARGET_SUBDIRS=(
66 + src/3rdparty/clipper
67 + src/3rdparty/poly2tri
68 + src/3rdparty/clip2tri
69 + src/3rdparty/mapbox-gl-native
70 + src/location
71 + src/imports/location
72 + src/imports/locationlabs
73 + src/plugins/geoservices
74 +)
75 +
76 +src_configure() {
77 + # src/plugins/geoservices requires files that are only generated when
78 + # qmake is run in the root directory. Bug 633776.
79 + mkdir -p "${QT5_BUILD_DIR}"/src/location || die
80 + qt5_qmake "${QT5_BUILD_DIR}"
81 + cp "${S}"/src/location/qtlocation-config.pri "${QT5_BUILD_DIR}"/src/location || die
82 + qt5-build_src_configure
83 +}