diff options
Diffstat (limited to 'dev-qt/qtpositioning')
-rw-r--r-- | dev-qt/qtpositioning/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qtpositioning/qtpositioning-6.6.9999.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-qt/qtpositioning/Manifest b/dev-qt/qtpositioning/Manifest index 7592d70e34df..7b7b1310faad 100644 --- a/dev-qt/qtpositioning/Manifest +++ b/dev-qt/qtpositioning/Manifest @@ -3,5 +3,6 @@ DIST qtpositioning-everywhere-src-6.5.2.tar.xz 1456284 BLAKE2B 15ec5202f72ccec5b EBUILD qtpositioning-5.15.10.ebuild 877 BLAKE2B 901e07cc2a16f98840d7361b5db7611406a275116728fe65f28012e03b90f9b797291508623e8ab5a28a10c88d2f8e917145e149ed494355706e12f9b44260d7 SHA512 79aee05d67010aecd2a0d4c802a39bea7f4d63a1a2009ade3df0343e8081c568a374728c818539a23f37e17acd98f47de1cdf825263fb25fcb5bf0988dc13db6 EBUILD qtpositioning-6.5.2-r2.ebuild 1444 BLAKE2B ffe8580c4387d0f830c53171bdd6699cf539302d54dd6e3138dba12f00452ab8a89e87af9ec179bfbc7387e36a57f016ca1900d190bca3dbac40572cfacf2df0 SHA512 1e144814c599b533513050c3add315a8ce5ed96accbe3f5e495a9e5582d3230bfbf9e14230c2c44e92c64232fcde8e72458bc93140256aa03b5886c3486c8d03 EBUILD qtpositioning-6.5.9999.ebuild 1444 BLAKE2B ffe8580c4387d0f830c53171bdd6699cf539302d54dd6e3138dba12f00452ab8a89e87af9ec179bfbc7387e36a57f016ca1900d190bca3dbac40572cfacf2df0 SHA512 1e144814c599b533513050c3add315a8ce5ed96accbe3f5e495a9e5582d3230bfbf9e14230c2c44e92c64232fcde8e72458bc93140256aa03b5886c3486c8d03 +EBUILD qtpositioning-6.6.9999.ebuild 1444 BLAKE2B ffe8580c4387d0f830c53171bdd6699cf539302d54dd6e3138dba12f00452ab8a89e87af9ec179bfbc7387e36a57f016ca1900d190bca3dbac40572cfacf2df0 SHA512 1e144814c599b533513050c3add315a8ce5ed96accbe3f5e495a9e5582d3230bfbf9e14230c2c44e92c64232fcde8e72458bc93140256aa03b5886c3486c8d03 EBUILD qtpositioning-6.9999.ebuild 1444 BLAKE2B ffe8580c4387d0f830c53171bdd6699cf539302d54dd6e3138dba12f00452ab8a89e87af9ec179bfbc7387e36a57f016ca1900d190bca3dbac40572cfacf2df0 SHA512 1e144814c599b533513050c3add315a8ce5ed96accbe3f5e495a9e5582d3230bfbf9e14230c2c44e92c64232fcde8e72458bc93140256aa03b5886c3486c8d03 MISC metadata.xml 804 BLAKE2B 94a5445b2839e69d26bb57e8467dd1eab0820c8511304283a4db38710e7026f5956614285526451f77188a7e25f12a638fefbe6a544424fbdc422daecefa0836 SHA512 f3037d4ef45f0490dbf9df8d57497d38931076b5e9c774161633d061ee644a0282ba390d6d95d6195b8f18d91229f055bf4a9e786717cdfc98e2fb87c0e32245 diff --git a/dev-qt/qtpositioning/qtpositioning-6.6.9999.ebuild b/dev-qt/qtpositioning/qtpositioning-6.6.9999.ebuild new file mode 100644 index 000000000000..5bc8b82de998 --- /dev/null +++ b/dev-qt/qtpositioning/qtpositioning-6.6.9999.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 +} |