commit:     4c8cb2a8bf9b137d9774227309c9e5d2470ff20f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 14 06:15:45 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Mar 14 08:14:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c8cb2a8

dev-qt/qtlocation: add 6.9.0_rc

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-qt/qtlocation/Manifest                   |  1 +
 dev-qt/qtlocation/qtlocation-6.9.0_rc.ebuild | 44 ++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-qt/qtlocation/Manifest b/dev-qt/qtlocation/Manifest
index 56513d841f0d..a8ad5dda838d 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.2.tar.xz 3164164 BLAKE2B 
afa31c8caad97b54ee577145966e1e13d60854181cfd899facbabd17c498995b80ca4bf233ff68645d895130b8628571d109611f8b1b9e3907aa7a0ff5458178
 SHA512 
b113e26284bae7c9a45075c771d4159ec11d7ab0670aca2165616c775f51d87f63a97c2befb1ec03f777b48eedea9625584f0c62891ae23c7158be5513edeebd
+DIST qtlocation-everywhere-src-6.9.0-rc.tar.xz 3166476 BLAKE2B 
60d0f6871296ad6c8c14662f2c71a6162df30ddeaa403e480ea61cce718acd065ddac75c329852b7e55fc2220c2be2c8e46a4bc2eee0530c1ce1bd9200711715
 SHA512 
5e5f8b50fc7c2e6709d77f4d76c73700d47acbd27ca3f3711bfe7b5101934d6cc194e566573e715163d44c046293aa82480ae2a454fb2af4938f838bc1a8be75
 DIST qtlocation-mapboxgl-5.15.16-35d56672.tar.gz 3726302 BLAKE2B 
f51c0589a06fab35ba85b3bf4ca8a1904cda5aec47b17fdf747da527d02be623a76b1af5883b33267fab825a4b5d0863ea0220f2907e98e286b40d4a0bbc82e5
 SHA512 
5c2ff6ab7e4382d87546a802c5603bdcec3deb7fbb836fc981292c67660514caaa6118e164d2e099d0304710035572706562ec84e4aba5ce36b01cade8b0993e

diff --git a/dev-qt/qtlocation/qtlocation-6.9.0_rc.ebuild 
b/dev-qt/qtlocation/qtlocation-6.9.0_rc.ebuild
new file mode 100644
index 000000000000..4685eef8061e
--- /dev/null
+++ b/dev-qt/qtlocation/qtlocation-6.9.0_rc.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
+}

Reply via email to