commit: c59b048874a5c436a02e644dbb5add98a377e4b3
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 3 09:55:26 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 3 10:37:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c59b0488
dev-qt/qtpositioning: add 6.9.1
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-qt/qtpositioning/Manifest | 1 +
dev-qt/qtpositioning/qtpositioning-6.9.1.ebuild | 68 +++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/dev-qt/qtpositioning/Manifest b/dev-qt/qtpositioning/Manifest
index d30cb80841d8..c10d5f1913c2 100644
--- a/dev-qt/qtpositioning/Manifest
+++ b/dev-qt/qtpositioning/Manifest
@@ -3,3 +3,4 @@ DIST qtlocation-everywhere-opensource-src-5.15.17.tar.xz
6550288 BLAKE2B 3c83702
DIST qtpositioning-everywhere-src-6.8.2.tar.xz 661464 BLAKE2B
2622579346fd47f6fe6f086b9127e568937c32edb2be1efa07f38dfdc52f9d547f3583643bcd90f3bc6cac76f2b711c01cfe737c002e4995a856837e6bf67f27
SHA512
9f1a6486f9d466e780b8cde469ccc8c51fd62d60201730841ad526a15e5eb6f28b58e24254c2c1384a4a0d5f5ee08a6e9e3348082d4d764fae7014aa21c50429
DIST qtpositioning-everywhere-src-6.8.3.tar.xz 663612 BLAKE2B
77bae4fd9750e3d634fb449d85098e1f1a0ae802b88f9f1cb7ccd831dcaaed5d68bb1fe0c6e811b8fe95b736de06423eea09b48901d2ff9267b7abc8cf57a1d8
SHA512
8899b4bf8096211fca37f7a7855ae2c6f79d770602105d76a98b580ad8e2f2f55096095bd7f935f6f9ac36e23135e7594cf3c2e5b760c979560a108d43d57784
DIST qtpositioning-everywhere-src-6.9.0.tar.xz 663760 BLAKE2B
f202bbd5eba543c162bb4cf074a6042082f6dd1f8ce154d4befb53c8abe06404dc9b403c1535a0c3b1c009df0fa5eac12e78ff046106a90defb311cbf651b88e
SHA512
1bcc292590a9d586695708f210eb8a10bd04670a1bfb79eb2a05ce826e1dda57059b06a4da319329bdd3bb974a3d2e4139e6948fa7168ac691e3454989cde8bd
+DIST qtpositioning-everywhere-src-6.9.1.tar.xz 664156 BLAKE2B
d6cf0bf238e6bb1dedb77776982819dd1060bca3307537b5d5daf5a53132750b4643f8427ebb3fcb734df0ae1e753b30db3e04174cf697f2ace0bc21058807bd
SHA512
8deff5eb12ccd5bd0187788834a18c0f41338abcca2f0e918645f25524a3364510fecade316a4d36a735aa0e205e62f754810e38f91abf47f929981d3805024f
diff --git a/dev-qt/qtpositioning/qtpositioning-6.9.1.ebuild
b/dev-qt/qtpositioning/qtpositioning-6.9.1.ebuild
new file mode 100644
index 000000000000..dbfd92016370
--- /dev/null
+++ b/dev-qt/qtpositioning/qtpositioning-6.9.1.ebuild
@@ -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
+}