commit: 270e8f4844b349c8436b3495b971d8d4ee7f5a82
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 2 04:40:23 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Apr 2 04:52:21 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=270e8f48
dev-qt/qtlocation: add 6.9.0
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-qt/qtlocation/Manifest | 1 +
dev-qt/qtlocation/qtlocation-6.9.0.ebuild | 44 +++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/dev-qt/qtlocation/Manifest b/dev-qt/qtlocation/Manifest
index 1641d0e282ac..fc8c99784ae6 100644
--- a/dev-qt/qtlocation/Manifest
+++ b/dev-qt/qtlocation/Manifest
@@ -2,4 +2,5 @@ DIST qtlocation-5.15.11-patchset.tar.xz 4796 BLAKE2B
dcfa75bd3fb2e9069e1a530c27e
DIST qtlocation-everywhere-opensource-src-5.15.16.tar.xz 6548480 BLAKE2B
9f6d66d22f4ad45935e3e76e275866b236cd842b7a17a3a9e6553f75dcf3048cd70e0b046d5d08c57d4c9d7ea73f723b210d044f44bf494cafbbff590b0703e5
SHA512
321a8e68f731a97c7ef0209d6db0ff4891dd14dc43e14f5c4c5ac763069c7f17298fbc6410326df9265ccd631372cdba662fc82e26a324936d371c8572e19a48
DIST qtlocation-everywhere-src-6.8.2.tar.xz 3164164 BLAKE2B
afa31c8caad97b54ee577145966e1e13d60854181cfd899facbabd17c498995b80ca4bf233ff68645d895130b8628571d109611f8b1b9e3907aa7a0ff5458178
SHA512
b113e26284bae7c9a45075c771d4159ec11d7ab0670aca2165616c775f51d87f63a97c2befb1ec03f777b48eedea9625584f0c62891ae23c7158be5513edeebd
DIST qtlocation-everywhere-src-6.8.3.tar.xz 3165768 BLAKE2B
75f8dba414b72a9fa4f79a2316e264bd8535d203b68caae472ef3f5ee4cb9f89587116fa8d51029beada48c6379bf8e58d5a9a770e35102c62ec379cc57d9b9f
SHA512
c7cbd76b6b8b7d09387c7da0e6630959ae66f0c8af2cd26b255e86ec36c6efeec59e4af7b34faa05f2fa035d4dd075d13a8dd0bccaefac48d391b4fa786769c0
+DIST qtlocation-everywhere-src-6.9.0.tar.xz 3166020 BLAKE2B
da3a3aa208fe3e8fe7139e128d196e8247fa4faefcbdc2d19bd8bb64798da7c9f61d0bff90bee851f82ac07d62fe0318ee1da909deba38ef099e4fb828d5b204
SHA512
08a6b6af91d4c208210f8f28f7aa0f14831ac54e60bf695fce128fcf4dc9b36e403d360597fad5bdc81c729898e1678f4155d02ef788171e4f5622cbb16b25cd
DIST qtlocation-mapboxgl-5.15.16-35d56672.tar.gz 3726302 BLAKE2B
f51c0589a06fab35ba85b3bf4ca8a1904cda5aec47b17fdf747da527d02be623a76b1af5883b33267fab825a4b5d0863ea0220f2907e98e286b40d4a0bbc82e5
SHA512
5c2ff6ab7e4382d87546a802c5603bdcec3deb7fbb836fc981292c67660514caaa6118e164d2e099d0304710035572706562ec84e4aba5ce36b01cade8b0993e
diff --git a/dev-qt/qtlocation/qtlocation-6.9.0.ebuild
b/dev-qt/qtlocation/qtlocation-6.9.0.ebuild
new file mode 100644
index 000000000000..4685eef8061e
--- /dev/null
+++ b/dev-qt/qtlocation/qtlocation-6.9.0.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
+}