commit:     65eaf8332f903d05723963f75ca347a9ae3fa4f6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  8 15:05:30 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct  8 15:47:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65eaf833

dev-qt/qtlocation: add 5.15.11

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtlocation/Manifest                  |  3 ++
 dev-qt/qtlocation/qtlocation-5.15.11.ebuild | 58 +++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-qt/qtlocation/Manifest b/dev-qt/qtlocation/Manifest
index b6936e1774eb..cc0b0197ee0d 100644
--- a/dev-qt/qtlocation/Manifest
+++ b/dev-qt/qtlocation/Manifest
@@ -1,7 +1,10 @@
 DIST qtlocation-5.15.10-gentoo-kde-1.tar.xz 3664 BLAKE2B 
e2d694772a43ca4bc27c819d8fadf5bab3ddb40644d5a08315faa5af63a7aace6475c2dd2b6d612dcb7705113211cd50e6e83ce79773ec6033767be0fb761346
 SHA512 
c3917fa4db6316c9e173c475d8606b7fd9dc3cfed29487fa23c9b6df68887d799e6260abc3f5cd144e9d8c1e95e66b0de429bf59f15526639aab4d430c3d439a
+DIST qtlocation-5.15.11-fix-appendChildNode.patch.xz 536 BLAKE2B 
f20566fb1b28cbb6784a270e9687153166779fe70d048dc947a705bb77126c7420b6f714c3135770708a2a0e1b65da385ef3d893f94307f99fa3b39b8abb2b6e
 SHA512 
3a72c142150f65630a209a6d5ca36f796eeb57addae390dc1ae87ecf9d27d07a3a8c799bc4729a3030680bf032a245622037bcba7abaceaf3d1b98091b1eb66b
 DIST qtlocation-everywhere-opensource-src-5.15.10.tar.xz 6552240 BLAKE2B 
1e44bdafcde01294424cef1963924b85fc4f3cc8ab19b1ae37d79d10cb0bbb1a482f592725fa28e0f039fc84cb2167df4d15e23e4060bd7c49df013c54322665
 SHA512 
e4fb56ddd2dc50024f02de84323c3299788eb6632672e1bc52ef1399ccf9d0af34b0104548cb108fb372870057426b0cdd52052ad91ba45fc7f8098a675f29a4
+DIST qtlocation-everywhere-opensource-src-5.15.11.tar.xz 6554216 BLAKE2B 
e882ecdc4f565f48874371e5235dc96769fbded9446a2a7f1afd869217f4bc75a9f42c6c34627311b55fbfc60da9a95fc7472c3ced83fca722799497b437a9d9
 SHA512 
d439d03ff9044fc70165d1ceb5def9ec3290beec56b3e893409a24cd355651a4317e0eadff0266d38203ff84429a5fb8659a200f094669716579b6791a1a0f6d
 DIST qtlocation-everywhere-src-6.5.2.tar.xz 3032488 BLAKE2B 
c8cd34980b0f78326fb70bf76a04094cf3e27afbd6aed6d982ce30abfa9dc4250d164dbe11c1027bedcdeee3b7c907c3716e88f16eeae173b846ccdf2c38d458
 SHA512 
b1e5c1813deb8a4eb9f8548afa935f1a2145ed3168f0276493ea501057fd4f70b8980ae387248a59e50f0e450ae245a04cd8636fb61d37af9c3634ff1cdd24f3
 DIST qtlocation-everywhere-src-6.5.3.tar.xz 3032844 BLAKE2B 
3b23b8d1b1a06476428879c0d32d3fc21119e50410d97ee3948c0ab7b22832f27f1e5ed2d06e62f53baf668b77630a27e5c6814b54c2e9498706a436256c4005
 SHA512 
6633dedba335b8de4c96f98f4709a147e225e82fee1ed741938e15e1540421ad7c3140baec75914f0844a793433abcadaf3ce72d944662b62778327d65ff7348
 DIST qtlocation-everywhere-src-6.6.0-rc.tar.xz 3036648 BLAKE2B 
629f8d14f3904f0f5008471e115c76bd20d2f7956730dfb4b32d5fb4ff10843e65f3485d5290bd67b0f32c5bc1c2d56eaafa1e921d020d0c7839f9b4c09d1469
 SHA512 
dd094773e5f591e76c5c5b61eece1e7d2b04be2fc2bf2fbc604c052953ae12e8e83e0b0b134dae5d88c920872e4ab7746f961b769546060c395379fe296657d2
 DIST qtlocation-mapboxgl-5.15.10-4c88f2c0.tar.gz 3726387 BLAKE2B 
e9b818505ace86516262d1407450c14be82122bb91363a57708795844089371ac7d511a857f713c7cb4e6f8b54867aab0bc5dcdb9c49aa28aa3f8363271378e0
 SHA512 
e4d9133db892fd8b7b1bcf584bf7dae30c0f0353f3b0a696a6cabc9485067f262d42554b583640521734498572e5480b5e8d0143d5be47bb92077f3192fefa4d
 DIST qtlocation-mapboxgl-5.15.10-5a07e196.tar.gz 3726230 BLAKE2B 
9dbe08088a55bc1da4952a628af987b3b056615e883983d3a5e2eb392ce4aff16bfd753f84bbad07f9a415fbd275ec9933a64b6bcfd27ea6d8adced6d2adcac7
 SHA512 
ec3de81f643388690eda45d073a9c6f908d8efeff30cd062d9afcd1f94c6b45b301327747928d45b4047ce04b7df5b0afaf9e8942e22660711a5ac49787829eb
+DIST qtlocation-mapboxgl-5.15.11-4c88f2c0.tar.gz 3726387 BLAKE2B 
e9b818505ace86516262d1407450c14be82122bb91363a57708795844089371ac7d511a857f713c7cb4e6f8b54867aab0bc5dcdb9c49aa28aa3f8363271378e0
 SHA512 
e4d9133db892fd8b7b1bcf584bf7dae30c0f0353f3b0a696a6cabc9485067f262d42554b583640521734498572e5480b5e8d0143d5be47bb92077f3192fefa4d

diff --git a/dev-qt/qtlocation/qtlocation-5.15.11.ebuild 
b/dev-qt/qtlocation/qtlocation-5.15.11.ebuild
new file mode 100644
index 000000000000..0b6a971b4e21
--- /dev/null
+++ b/dev-qt/qtlocation/qtlocation-5.15.11.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt5-build
+
+DESCRIPTION="Location (places, maps, navigation) library for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+       MAPBOXGL_COMMIT=4c88f2c0e61daa89f584a8a9a3eba210221c6920
+       SRC_URI+=" 
https://invent.kde.org/qt/qt/${PN}-mapboxgl/-/archive/${MAPBOXGL_COMMIT}/${PN}-mapboxgl-${MAPBOXGL_COMMIT}.tar.gz
 -> ${PN}-mapboxgl-${PV}-${MAPBOXGL_COMMIT:0:8}.tar.gz
+       
https://dev.gentoo.org/~asturm/distfiles/${P}-fix-appendChildNode.patch.xz";
+       KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+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
+)
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+
+PATCHES=( "${WORKDIR}/${P}-fix-appendChildNode.patch" )
+
+src_prepare() {
+       rm -rf src/3rdparty/mapbox-gl-native/* || die
+       mv "${WORKDIR}"/${PN}-mapboxgl-${MAPBOXGL_COMMIT}/* 
src/3rdparty/mapbox-gl-native || die
+       qt5-build_src_prepare
+}
+fi
+
+src_configure() {
+       # src/plugins/geoservices requires files that are only generated when
+       # qmake is run in the root directory. Bug 633776.
+       qt5_configure_oos_quirk qtlocation-config.pri src/location
+       qt5-build_src_configure
+}

Reply via email to