dev-qt/qtlocation: add 6.10.2

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-01-28 07:43:26 -05:00
parent c3b03cb945
commit 4dea7fd802
2 changed files with 45 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST qtlocation-everywhere-src-6.10.1.tar.xz 3151780 BLAKE2B e2307209957dbfe2d021555ae47fd7b9ddfb00777aa2d3ef0aeb8bf882c2f89e67730917c8ddd30b79f3f501432461c28e3fb51307726e35d9d450113f6a14f3 SHA512 e2b0fc3bc68d6a39d56832aba396d9711e7a287970a4a83ad984997e0a9454ac66bd054386d03e3afba8c4c89bdd3486f5b319a2462dc92716d2779074cfc0ac
DIST qtlocation-everywhere-src-6.10.2.tar.xz 3151364 BLAKE2B 0fa4c4a3d6c9e2544843dbd9ccecbdc870b177c4b371711de07a27a4bded19cc3abacf33da3d9ff75bed6f0f30d307935ceb63061fd284282063c211b6594b33 SHA512 efb9dd495c00fef16e8acfe50b47d703f7e371573f9a05c8ecf7972aa2cb3024349ab4583e72f4185543706e07444bca66000680f82e0ce0ec8b6b315dfe0970
@@ -0,0 +1,44 @@
# Copyright 2021-2026 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
}