diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-12-02 01:24:57 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-12-02 02:22:44 -0500 |
commit | 939c1c3b5fa2c1725a80a2dab4dd6214aee36991 (patch) | |
tree | 79e88fc9faa5f46e7e118d86971d124810cf7341 /dev-qt/qtpositioning | |
parent | dev-qt/qtnetworkauth: add 6.8.1 (diff) | |
download | gentoo-939c1c3b5fa2c1725a80a2dab4dd6214aee36991.tar.gz gentoo-939c1c3b5fa2c1725a80a2dab4dd6214aee36991.tar.bz2 gentoo-939c1c3b5fa2c1725a80a2dab4dd6214aee36991.zip |
dev-qt/qtpositioning: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtpositioning')
-rw-r--r-- | dev-qt/qtpositioning/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qtpositioning/qtpositioning-6.8.1.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-qt/qtpositioning/Manifest b/dev-qt/qtpositioning/Manifest index a97e2f8fb535..8745e248aeba 100644 --- a/dev-qt/qtpositioning/Manifest +++ b/dev-qt/qtpositioning/Manifest @@ -3,3 +3,4 @@ DIST qtlocation-everywhere-opensource-src-5.15.16.tar.xz 6548480 BLAKE2B 9f6d66d DIST qtpositioning-everywhere-src-6.7.2.tar.xz 658112 BLAKE2B ef32068ae5d718df1ad10fddf735d65f9f90edb559211978f7112d6228a69ef37e92dcd7c124d3fff3887f1032e970c8735f92397751bdcd482451251afb4cc6 SHA512 2983fde05cbccf86288cd989279551b5babeddcf9be2848870e59dbbfc2d91749465bf43c17e291d6df37ee746b5490c0bb1e6b3fd4298b4f0a22cc6d67db04e DIST qtpositioning-everywhere-src-6.7.3.tar.xz 659068 BLAKE2B b8489699a31005ae4de5238147c318d40d6928694c8e6c7ec601b2a69a03b6a5c2c4ba3304006e1a5029a855d3d045e964769f5f2fde73ff25ee72cf30a5cae9 SHA512 feb900f7371e712a63be6798f924d42e79676c317e18d1b347ae3cc870e9bf1003accc147dfeaa18d91ce6fdf2a7f3626c11a0419cb5058fa81f6f9ef17d6554 DIST qtpositioning-everywhere-src-6.8.0.tar.xz 660512 BLAKE2B d35ed4993dee2188e2a9b89f6b5058b13b7c386bf048e451203e5a5d5fa622f38ec9be88ad394ce1b7e3c86520b1f78295fa4083f67099d33863e7bdd568b807 SHA512 481332f5c436a615681fb9f66ca1eb370f407cd7d258bbda72af1621583d292f9a68b149b6890ce119b450d071ce08808ae1b0aab28ccc498b9c341b52f2469d +DIST qtpositioning-everywhere-src-6.8.1.tar.xz 661544 BLAKE2B 400c4c46afe624ccd51a93e1bcb1974315bbf663aaa9f2a5f869469f823578745924260922706f0d1e21ca49e775628099cb3547359ab374e0410acdc17ca1b7 SHA512 483da18c59375e72641b46218327339e487e1ec1e9463be5ff9d89611c1d8daed28624523632029b3daedaec46e3e0564a9136a3e29933b3267c3d33a922ad35 diff --git a/dev-qt/qtpositioning/qtpositioning-6.8.1.ebuild b/dev-qt/qtpositioning/qtpositioning-6.8.1.ebuild new file mode 100644 index 000000000000..c872768c9bd8 --- /dev/null +++ b/dev-qt/qtpositioning/qtpositioning-6.8.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 2021-2024 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 +} |