commit: 34e03d0f386417fd0bb3452d2cbeeb4ec028e603
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 31 07:52:00 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jan 31 08:19:50 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e03d0f
dev-qt/qtlocation: add 6.8.2
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-qt/qtlocation/Manifest | 1 +
dev-qt/qtlocation/qtlocation-6.8.2.ebuild | 44 +++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/dev-qt/qtlocation/Manifest b/dev-qt/qtlocation/Manifest
index b7bb5552fef4..5e3aff4d39b1 100644
--- a/dev-qt/qtlocation/Manifest
+++ b/dev-qt/qtlocation/Manifest
@@ -1,4 +1,5 @@
DIST qtlocation-5.15.11-patchset.tar.xz 4796 BLAKE2B
dcfa75bd3fb2e9069e1a530c27e2b4e9ac921fcf0ccb712f0894375b575ba25103948c6e5b85b56a8f9c9f2d7edf7df8e38501e93356e69f060b577a04c2d221
SHA512
14bd2864abc6f446dc4fbac03548cb42305685b46db757d856360780144095a021130bc0ebf1d07a516dc7991dc0cfbf733bd0ef6be58237bc15822c21af1d0b
DIST qtlocation-everywhere-opensource-src-5.15.16.tar.xz 6548480 BLAKE2B
9f6d66d22f4ad45935e3e76e275866b236cd842b7a17a3a9e6553f75dcf3048cd70e0b046d5d08c57d4c9d7ea73f723b210d044f44bf494cafbbff590b0703e5
SHA512
321a8e68f731a97c7ef0209d6db0ff4891dd14dc43e14f5c4c5ac763069c7f17298fbc6410326df9265ccd631372cdba662fc82e26a324936d371c8572e19a48
DIST qtlocation-everywhere-src-6.8.1.tar.xz 3164180 BLAKE2B
12544d071894925abbc4c8af6875fafa5bf628e8814ef96a85caa2a0135b2a30cb4c68a96feb21b3b6ae20e53343f8fb14684a27d86a08b6cc3803830f38d6c7
SHA512
0d002e99b1e7434814a58e560a0730f0b1f9cc81cfe7d01001b2a2bd213b5ceaa4deaf6693f210f8576d7e76ac32fe22e758bc9c03888e7acfd4440902d454ac
+DIST qtlocation-everywhere-src-6.8.2.tar.xz 3164164 BLAKE2B
afa31c8caad97b54ee577145966e1e13d60854181cfd899facbabd17c498995b80ca4bf233ff68645d895130b8628571d109611f8b1b9e3907aa7a0ff5458178
SHA512
b113e26284bae7c9a45075c771d4159ec11d7ab0670aca2165616c775f51d87f63a97c2befb1ec03f777b48eedea9625584f0c62891ae23c7158be5513edeebd
DIST qtlocation-mapboxgl-5.15.16-35d56672.tar.gz 3726302 BLAKE2B
f51c0589a06fab35ba85b3bf4ca8a1904cda5aec47b17fdf747da527d02be623a76b1af5883b33267fab825a4b5d0863ea0220f2907e98e286b40d4a0bbc82e5
SHA512
5c2ff6ab7e4382d87546a802c5603bdcec3deb7fbb836fc981292c67660514caaa6118e164d2e099d0304710035572706562ec84e4aba5ce36b01cade8b0993e
diff --git a/dev-qt/qtlocation/qtlocation-6.8.2.ebuild
b/dev-qt/qtlocation/qtlocation-6.8.2.ebuild
new file mode 100644
index 000000000000..4685eef8061e
--- /dev/null
+++ b/dev-qt/qtlocation/qtlocation-6.8.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Location (places, maps, navigation) library for the Qt6 framework"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+fi
+
+RDEPEND="
+ ~dev-qt/qtbase-${PV}:6[network]
+ ~dev-qt/qtdeclarative-${PV}:6
+ ~dev-qt/qtpositioning-${PV}:6[qml]
+"
+DEPEND="${RDEPEND}"
+
+CMAKE_SKIP_TESTS=(
+ # ignores QML_IMPORT_PATH (unlike other tests) and looks in
+ # the missing builddir/qml, skip rather than work around
+ tst_declarative_ui
+)
+
+src_install() {
+ qt6-build_src_install
+
+ if use test; then
+ local delete=( # sigh
+
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*TestGeoServicePlugin*.cmake
+
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*UnsupportedPlacesGeoServicePlugin*.cmake
+
"${D}${QT6_LIBDIR}"/cmake/Qt6Qml/QmlPlugins/*declarative_location_test*.cmake
+
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_geocodingplugin.so
+
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_placesplugin_unsupported.so
+
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_qmltestplugin.so
+
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_routingplugin.so
+ "${D}${QT6_QMLDIR}"/QtLocation/Test
+ )
+ # using -f given not tracking which tests may be skipped or not
+ rm -rf -- "${delete[@]}" || die
+ fi
+}