commit: 719b606685d2fda88294937b078576b0f6ddf849
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 2 12:05:36 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Apr 2 13:05:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719b6066
dev-qt/qtlocation: add 6.7.0
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-qt/qtlocation/Manifest | 1 +
dev-qt/qtlocation/qtlocation-6.7.0.ebuild | 44 +++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/dev-qt/qtlocation/Manifest b/dev-qt/qtlocation/Manifest
index 6d06f076e664..3613334f6c46 100644
--- a/dev-qt/qtlocation/Manifest
+++ b/dev-qt/qtlocation/Manifest
@@ -3,5 +3,6 @@ DIST qtlocation-everywhere-opensource-src-5.15.12.tar.xz
6553488 BLAKE2B e9cab8e
DIST qtlocation-everywhere-opensource-src-5.15.13.tar.xz 6554724 BLAKE2B
26cc97cc210a4c2afcd5ca57f849081772f8e65f2fb809424f257f6e24309a702483be73085825f63ac283705db8e967b96132dac710cfaa0759c882802aad60
SHA512
37ccec9d9ce4ab59c0e4a2827c94d2e7247786fa53dc340539160631aaa9e5de02fbff1a5fadc5d96c64b2d9a81a5912a562beb6e4d0ec09186f8508626ade36
DIST qtlocation-everywhere-src-6.6.2.tar.xz 3028592 BLAKE2B
060dbe1d4ea3d761900f1f2e8eff0ae255b1b75edc8c23e1ce04d6d3a7b3ea278b9121d417e347bc589a5445b35f52db5447de0f0d1154d8859bfe83d4d5e7da
SHA512
a2c4b9d9fb3b3675d25d3e7abeb8eec42f5998a9b275648a355df61c7d21258fb6bf5ecefeb635bab1a37f3382fc71b588a05eafc1bd7b57580c0f9999c9f1cd
DIST qtlocation-everywhere-src-6.6.3.tar.xz 3028756 BLAKE2B
e5ba2437a3d65602d1e6ea9251fa8a9800b09cacfa98746a3600c6e0b6f45aa888bfde3eaf8559914bef68f5c7d56ca7196fc26a2534ddb404212fd588223d62
SHA512
3a014f498158151ad3932d9bed40622d54e75c2cc64660f12ea02645b93777eaad67b743c073d561f1b48a3558b3b66a5cd65a6f8bcb25a57ffc20d6f7371825
+DIST qtlocation-everywhere-src-6.7.0.tar.xz 3165588 BLAKE2B
ee2f3be403942d91f1a87e89d42d1f969eefc90654c77732d7249766e680ce1cb63685203989ceef984365ff59152995e6886bf5f112834d55abf0e6239229ae
SHA512
51e3777cdee6c27bf5770dfa4f21509ab4699161b5b49d99696aa09018ee5a355c921a85f8f1a732a80b19730ac30d40795d20cd73e4aefc1a4d4a989d41bc3d
DIST qtlocation-mapboxgl-5.15.12-4c88f2c0.tar.gz 3726387 BLAKE2B
e9b818505ace86516262d1407450c14be82122bb91363a57708795844089371ac7d511a857f713c7cb4e6f8b54867aab0bc5dcdb9c49aa28aa3f8363271378e0
SHA512
e4d9133db892fd8b7b1bcf584bf7dae30c0f0353f3b0a696a6cabc9485067f262d42554b583640521734498572e5480b5e8d0143d5be47bb92077f3192fefa4d
DIST qtlocation-mapboxgl-5.15.13-4c88f2c0.tar.gz 3726387 BLAKE2B
e9b818505ace86516262d1407450c14be82122bb91363a57708795844089371ac7d511a857f713c7cb4e6f8b54867aab0bc5dcdb9c49aa28aa3f8363271378e0
SHA512
e4d9133db892fd8b7b1bcf584bf7dae30c0f0353f3b0a696a6cabc9485067f262d42554b583640521734498572e5480b5e8d0143d5be47bb92077f3192fefa4d
diff --git a/dev-qt/qtlocation/qtlocation-6.7.0.ebuild
b/dev-qt/qtlocation/qtlocation-6.7.0.ebuild
new file mode 100644
index 000000000000..9ffb31700378
--- /dev/null
+++ b/dev-qt/qtlocation/qtlocation-6.7.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2021-2024 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 ~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
+}