commit:     fa50e5ec82ab2014b6d71e58dd3c88bfcc9066a5
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 20:10:36 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 20:32:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa50e5ec

dev-qt/qtlocation: Fix appendChildNode() call

QTBUG: https://bugreports.qt.io/browse/QTBUG-96795
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtlocation/Manifest                    |  1 +
 dev-qt/qtlocation/qtlocation-5.15.3-r1.ebuild | 49 +++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-qt/qtlocation/Manifest b/dev-qt/qtlocation/Manifest
index c8d953b27f70..9751407570b1 100644
--- a/dev-qt/qtlocation/Manifest
+++ b/dev-qt/qtlocation/Manifest
@@ -1,4 +1,5 @@
 DIST qtlocation-5.15.2-861e372b.tar.gz 5431120 BLAKE2B 
c66e81f7e726b53000a0f8a4eafa9a4a6168aa08c89d4d0e2ef11b02e3598fd0b3f30dbd21e6c5436814bb88fa69c96d141b0d0d79f13239ec61396269af089a
 SHA512 
b7cac8cd42185504c6140f1dcd4e8c0c749e3d8f22bf9977e97268e0ad6fbd3733e571a255ab7824eba31e30e707e804b07317f2ec9b7be15a4a5756c78c9e41
 DIST qtlocation-5.15.3-gentoo-kde-1.tar.xz 700 BLAKE2B 
098f0fc3f25fbbc8f87e6c76881bb7f27c7786e487e7e162c0ab38a35d0c71c96ba3aa65a5fc67953b8495d1773a02dff272f36bed49917ad377eb9a8b69b67a
 SHA512 
e446763a8e6e7e0a6615aa707f8d393444f2e2ac6a03ea87e12bd9bff130c97ce94238c15392dd00121e587c5212b37666a53acf96c25501f86068779678cef8
+DIST qtlocation-5.15.3-gentoo-kde-2.tar.xz 1000 BLAKE2B 
bf03283153bed5f2e67cfcc42784fb6cec7574492cbc63979316602e9f2684fdd10f140b743f82076ec39e0831faa8a5a2074e9cfdf7c4743eff354e076b635f
 SHA512 
f44f5aa2f6aac3a62fbc3cc6eaa88949d54f4238d1cbc12d770ba3b48f97712678c491083029ba871fb9eb31f5172296e8951e83a3f874ac2a8a1a78478559e4
 DIST qtlocation-everywhere-opensource-src-5.15.3.tar.xz 6556680 BLAKE2B 
aa187e23ed544e380516d93f3cb83fcff73ee501e7b790eb55b9ca9ddcdbf96d31b8b645b70e003423bf6e8945e2fb06be0ba62785a1ba5680acca2129003d83
 SHA512 
755434db4cdea1c98159a2891c3efcda03fd03b144c37e7a71f57cb5d5dbc5ea1b35d1dcafa7301fc904ede910b4a9f7cfc834b7722cc06fcc360ad3be7b2886
 DIST qtlocation-mapboxgl-5.15.2-d3101bbc.tar.gz 3726244 BLAKE2B 
e571a72e041b80b155eae7d171cee7f996fbe223c8d3337f549ea2a40472fc2da9dd8abf54238f22c1828d467aaf01307a61acecd3aedc4f5f7cabc06f48d830
 SHA512 
6e38e5ca0b9e17de690af79f4702278bdc933a74561aa135b3e82245df7d795602403048bcc5bce00237f774ce3957540a8bded1a71f8730a08da05dec1f039f

diff --git a/dev-qt/qtlocation/qtlocation-5.15.3-r1.ebuild 
b/dev-qt/qtlocation/qtlocation-5.15.3-r1.ebuild
new file mode 100644
index 000000000000..b41af51db3c9
--- /dev/null
+++ b/dev-qt/qtlocation/qtlocation-5.15.3-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+QT5_KDEPATCHSET_REV=2
+inherit qt5-build
+
+DESCRIPTION="Location (places, maps, navigation) library for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+       KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+IUSE=""
+
+RDEPEND="
+       dev-libs/icu:=
+       =dev-qt/qtcore-${QT5_PV}*
+       =dev-qt/qtdeclarative-${QT5_PV}*
+       =dev-qt/qtgui-${QT5_PV}*
+       =dev-qt/qtnetwork-${QT5_PV}*
+       =dev-qt/qtpositioning-${QT5_PV}*[qml]
+       =dev-qt/qtsql-${QT5_PV}*
+       sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+       =dev-qt/qtconcurrent-${QT5_PV}*
+"
+
+QT5_TARGET_SUBDIRS=(
+       src/3rdparty/clipper
+       src/3rdparty/poly2tri
+       src/3rdparty/clip2tri
+       src/3rdparty/mapbox-gl-native
+       src/location
+       src/imports/location
+       src/imports/locationlabs
+       src/plugins/geoservices
+)
+
+src_configure() {
+       # src/plugins/geoservices requires files that are only generated when
+       # qmake is run in the root directory. Bug 633776.
+       mkdir -p "${QT5_BUILD_DIR}"/src/location || die
+       qt5_qmake "${QT5_BUILD_DIR}"
+       cp "${S}"/src/location/qtlocation-config.pri 
"${QT5_BUILD_DIR}"/src/location || die
+       qt5-build_src_configure
+}

Reply via email to