diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-09-12 08:33:15 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-09-13 12:40:16 -0400 |
commit | 6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9 (patch) | |
tree | b6e6a851ee3af700f7b82a7184fd134b8d14ebd7 /dev-qt/qtlocation | |
parent | app-misc/yq: remove unused patch (diff) | |
download | gentoo-6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9.tar.gz gentoo-6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9.tar.bz2 gentoo-6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9.zip |
dev-qt/*: add 6.6.9999
Sraight copies from 6.9999, pending updates as-needed to prepare
for 6.6 which is slowly approaching (6.9999 been 6.7 for some time).
6.5.9999 will be leaving soon given 6.5.3 is the last 6.5 release
for plebians.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtlocation')
-rw-r--r-- | dev-qt/qtlocation/qtlocation-6.6.9999.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-qt/qtlocation/qtlocation-6.6.9999.ebuild b/dev-qt/qtlocation/qtlocation-6.6.9999.ebuild new file mode 100644 index 000000000000..1183318657ba --- /dev/null +++ b/dev-qt/qtlocation/qtlocation-6.6.9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2023 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" +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/*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 +} |