diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-10-10 04:52:42 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-10-10 10:49:22 -0400 |
commit | 41e9e28b0e9849b9d2f241e8280515828452307e (patch) | |
tree | 2cedfa3e92589823ce59c5dec913e955ca312a23 | |
parent | dev-qt/qtnetworkauth: add 6.6.0 (diff) | |
download | gentoo-41e9e28b0e9849b9d2f241e8280515828452307e.tar.gz gentoo-41e9e28b0e9849b9d2f241e8280515828452307e.tar.bz2 gentoo-41e9e28b0e9849b9d2f241e8280515828452307e.zip |
dev-qt/qtpositioning: add 6.6.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r-- | dev-qt/qtpositioning/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qtpositioning/qtpositioning-6.6.0.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-qt/qtpositioning/Manifest b/dev-qt/qtpositioning/Manifest index 6ed8d7e83e26..fde72063945f 100644 --- a/dev-qt/qtpositioning/Manifest +++ b/dev-qt/qtpositioning/Manifest @@ -2,3 +2,4 @@ DIST qtlocation-everywhere-opensource-src-5.15.10.tar.xz 6552240 BLAKE2B 1e44bda DIST qtlocation-everywhere-opensource-src-5.15.11.tar.xz 6554216 BLAKE2B e882ecdc4f565f48874371e5235dc96769fbded9446a2a7f1afd869217f4bc75a9f42c6c34627311b55fbfc60da9a95fc7472c3ced83fca722799497b437a9d9 SHA512 d439d03ff9044fc70165d1ceb5def9ec3290beec56b3e893409a24cd355651a4317e0eadff0266d38203ff84429a5fb8659a200f094669716579b6791a1a0f6d DIST qtpositioning-everywhere-src-6.5.2.tar.xz 1456284 BLAKE2B 15ec5202f72ccec5b5cd5e887eacd34718e47e150fd290e8ef3e03e6566b647ca4e2995c87bc54fad598b0225a390eaa93fe7685419006ff39db93fd3803488d SHA512 8319e999de227d6ee999a4e7f84e3a12e2a8b070375fd7b86cef7a7962cce1d4d45f17a846df779561e1cedde80a80240bd2a03259c8a2ed5ebda6e209bdd991 DIST qtpositioning-everywhere-src-6.5.3.tar.xz 1456364 BLAKE2B c48c0cb4422df02424697c6e757a7aa28bf946c71d8ebf5b1066f6e566949bbc2c76fbe3f6abf77bcf4751e4d35957159bbaa5d3c33dc8c0c5696a98e5ddb915 SHA512 af3ee341b57029ff10270602a23bde0b922b1f43e0e152b0f091e4447099d34df0410df582261935f6397c121f48bf944cc057772de9c063e679755fae7c5d11 +DIST qtpositioning-everywhere-src-6.6.0.tar.xz 1513304 BLAKE2B 5074c9cb2e2f1b6eb422b32234ef897fb7b90374a1ef7fc64403b2b13443db3614729009547d25fd00bee69f3bf1819f308f98b764b6bb426483b5ee378d801d SHA512 6e71563444b1d3102ba6ad4ad04541b7ea3f7ee8737ebab76f7c8f7df5ac8e57afa0612bf634b97da5b7a424f7b2dcf28d57f5e67b91266a5138cbd41de8a0f3 diff --git a/dev-qt/qtpositioning/qtpositioning-6.6.0.ebuild b/dev-qt/qtpositioning/qtpositioning-6.6.0.ebuild new file mode 100644 index 000000000000..5bc8b82de998 --- /dev/null +++ b/dev-qt/qtpositioning/qtpositioning-6.6.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 2021-2023 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" +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 ) +" + +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 +} |