dev-qt/qtpositioning: add 6.10.0_rc

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-09-23 00:37:28 -04:00
parent ecf6c603d0
commit 32d2fcd617
2 changed files with 69 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST qtlocation-everywhere-opensource-src-5.15.17.tar.xz 6550288 BLAKE2B 3c83702a55a0dc1dc000a918f0b4d5b8694c1f51454db79bd01f25e9aec72531195286f4114cee68245a4b18e9de13ec192412f092d35b45caac10227a83a092 SHA512 0f4a317948f46b58497d5d08a91c887c80f74e256d899816d5ec73120dd1931ae6129f6a16bd93b6fc2285141956e0f2c6e6ddebe5c536423fbb6314f4558473
DIST qtpositioning-everywhere-src-6.10.0-rc.tar.xz 649512 BLAKE2B 5cd4a7c96ee41e90d7f4954002b9e7956ed1a7ea68aa9b3d035ae2302a9fb5f8072c83dab62a5c95bf1c88bce7d79fd8dd3d43fe67d2e4e0859637f89e369511 SHA512 5033e0633ffb57580d3a1cef3a1ed19d30be7cc6c8c04dbc6c41efe69af86d60497e7aca7f57229f81af8300144fd1c85910096689df38da815283fbaf301f57
DIST qtpositioning-everywhere-src-6.9.1.tar.xz 664156 BLAKE2B d6cf0bf238e6bb1dedb77776982819dd1060bca3307537b5d5daf5a53132750b4643f8427ebb3fcb734df0ae1e753b30db3e04174cf697f2ace0bc21058807bd SHA512 8deff5eb12ccd5bd0187788834a18c0f41338abcca2f0e918645f25524a3364510fecade316a4d36a735aa0e205e62f754810e38f91abf47f929981d3805024f
DIST qtpositioning-everywhere-src-6.9.2.tar.xz 649488 BLAKE2B 53f6d586bc51f8b973f956ea3e47b432ca43ca8ac2adee000cfb2fad0ae1aad0e22d002ffdebc54faf5562782462a7eb01bf91b71422d7a3e8c07a2674734036 SHA512 ab9fdb39e7e564b5b9c6a07ddfa024830b3721d5ad697da313ec48c743ec990d29d3e7e7d66e77e8c9589c653b222aefb7c639bf0547f94927083322daff5333

View File

@@ -0,0 +1,68 @@
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Physical position determination library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
fi
IUSE="geoclue nmea +qml"
DEPEND="
~dev-qt/qtbase-${PV}:6
geoclue? ( ~dev-qt/qtbase-${PV}:6[dbus] )
nmea? (
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtserialport-${PV}:6
)
qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
"
RDEPEND="
${DEPEND}
geoclue? ( app-misc/geoclue:2.0 )
"
CMAKE_SKIP_TESTS=(
# threads test (rarely) fails randomly
tst_qgeoareamonitor
)
src_prepare() {
qt6-build_src_prepare
# unfortunately cmake_use_find_package would break things with qtbase
use geoclue ||
sed -e 's/TARGET Qt::DBus/FALSE/' \
-i src/plugins/position/CMakeLists.txt || die
use nmea ||
sed -e 's/TARGET Qt::Network/FALSE/' \
-i src/plugins/position/CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
$(cmake_use_find_package qml Qt6Qml)
)
qt6-build_src_configure
}
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*DummyPlugin*.cmake
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*TestPlugin*.cmake
"${D}${QT6_PLUGINDIR}"/position/libqtposition_satellitesourcetest.so
"${D}${QT6_PLUGINDIR}"/position/libqtposition_testplugin{,2}.so
)
# using -f given not tracking which tests may be skipped or not
rm -f -- "${delete[@]}" || die
fi
}