summaryrefslogtreecommitdiff
path: root/dev-qt/qtpositioning
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-05 00:07:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-05 00:07:53 +0100
commit9d1e33edaf09cde926d589461f40e378d4124be9 (patch)
treeb0a5a85acd92ce912a95245121dde9cebcf76b71 /dev-qt/qtpositioning
parentdafa6f367240d1f5329ca89fb6f78985dbdc025b (diff)
gentoo auto-resync : 05:06:2024 - 00:07:52
Diffstat (limited to 'dev-qt/qtpositioning')
-rw-r--r--dev-qt/qtpositioning/Manifest3
-rw-r--r--dev-qt/qtpositioning/qtpositioning-5.15.14.ebuild2
-rw-r--r--dev-qt/qtpositioning/qtpositioning-6.8.9999.ebuild68
3 files changed, 71 insertions, 2 deletions
diff --git a/dev-qt/qtpositioning/Manifest b/dev-qt/qtpositioning/Manifest
index 331df8710c02..f3cd8a8f1d90 100644
--- a/dev-qt/qtpositioning/Manifest
+++ b/dev-qt/qtpositioning/Manifest
@@ -3,9 +3,10 @@ DIST qtlocation-everywhere-opensource-src-5.15.14.tar.xz 6549056 BLAKE2B 831c709
DIST qtpositioning-everywhere-src-6.7.0.tar.xz 658368 BLAKE2B 162b4d3ea4e57d5a1ef4c243ba2272b32baae6d987ed788cee8e039f83388c0a062c5b2009c778008274f41d22c54f96f7372f49acf9877c9641bb6a5f6ba047 SHA512 ba0bce58321d967ddb3fcbe4b978212f660e48afd788ba36a0068ca7c6804e7febd74d6a15bc541f6cf9ebeef72aeeceb3e2779f53bdaa432391fb64781e68a1
DIST qtpositioning-everywhere-src-6.7.1.tar.xz 658028 BLAKE2B 9e42900658975726b8d26565ac26e1e884ecfa251c2d948d1dbf91897c1ff31e6d53a600ce83e3a98dea457ce3be9bc7563ce4464e2b3a11127378edea3f6884 SHA512 3d5a51d1ad509f6834390955da0d53b92b28b285265a3d0972069606df4076275499e283f08961016949e90925fab49cd650041c28cf5aa879753dd4631b784a
EBUILD qtpositioning-5.15.13.ebuild 877 BLAKE2B faaba7ce4da8906b08b10a326f4f9a211f9eae86a12135dc0f58396342b82c91a1bb2aa1e8bac4b5fb2cf6e55733d12d77cbab56b6b26ba955036f5f072ce32d SHA512 f342bfdbb38c7f13c37087b544e07cccb6c7655774e9547caff9bbf3517e02d9b1e82fd3ba47b319a17fcac1e2476134f0d71368f5af792e8579c90a5a25dc67
-EBUILD qtpositioning-5.15.14.ebuild 879 BLAKE2B 83ac9949ce877ba32da0e8754b3464cdf8199613c4d197cb762144259bb2212daf9e1336f71d31139147564f0128a17a533eab2a8483285706444ff14769b14c SHA512 798335407a97ef77e3ccf0931b06cae6442d32f6c3ace4312a08b3a5829173a6e736bf263601d3bb76d5721f57245fb4f3ee6da4f2a95c9b221c5cc7d0c72485
+EBUILD qtpositioning-5.15.14.ebuild 877 BLAKE2B faaba7ce4da8906b08b10a326f4f9a211f9eae86a12135dc0f58396342b82c91a1bb2aa1e8bac4b5fb2cf6e55733d12d77cbab56b6b26ba955036f5f072ce32d SHA512 f342bfdbb38c7f13c37087b544e07cccb6c7655774e9547caff9bbf3517e02d9b1e82fd3ba47b319a17fcac1e2476134f0d71368f5af792e8579c90a5a25dc67
EBUILD qtpositioning-6.7.0.ebuild 1574 BLAKE2B 251541d705da198e0c95d321a66ceef2bd547dce229db0a1fb322b96b02a28039695eed097d816a33a3a39cf84272363a437e6809eea6c897a0cff5b984ea35b SHA512 2f978c890b67273429c49e0eca411542b649c821444505957f4e6307030eb27afda482904d3bfd2e4183ce3b420d07275780a82c001b89cc8c2804e30f7c9979
EBUILD qtpositioning-6.7.1.ebuild 1572 BLAKE2B a7a4d1d6c5871abb64ed4a6e791b220db3d738c759191efd638c0e62d61ab1778a63a1563845c63288cbf3fd162cf6420c12227d246cbc91393b697dd9f3fad6 SHA512 9ee63d18f1630882cccf95055bc22ca57be5799f2c53f0190d999f0b217fe585e8c8d0f1d007566b0436a06827e02a7261231a329b76505eca3a4e8647cf0776
EBUILD qtpositioning-6.7.9999.ebuild 1576 BLAKE2B 0a902084d44ef71dff03de73ca9d692b1fbe5bef21b1ce962b7ea892a707d9db46f63012d7c7378bd9314ed702a2c5d108d5c41a0a86e395033bcccb2dc029a8 SHA512 bfe20d4028ab0c0c1365db3d5f2ded0c1fe5e9e3e703cede4ca1ff57450cec65bf3b022ed364373b65c87e0bc776a9eca28a4607ef95ebdf661a17d89c3b6c56
+EBUILD qtpositioning-6.8.9999.ebuild 1576 BLAKE2B 0a902084d44ef71dff03de73ca9d692b1fbe5bef21b1ce962b7ea892a707d9db46f63012d7c7378bd9314ed702a2c5d108d5c41a0a86e395033bcccb2dc029a8 SHA512 bfe20d4028ab0c0c1365db3d5f2ded0c1fe5e9e3e703cede4ca1ff57450cec65bf3b022ed364373b65c87e0bc776a9eca28a4607ef95ebdf661a17d89c3b6c56
EBUILD qtpositioning-6.9999.ebuild 1576 BLAKE2B 0a902084d44ef71dff03de73ca9d692b1fbe5bef21b1ce962b7ea892a707d9db46f63012d7c7378bd9314ed702a2c5d108d5c41a0a86e395033bcccb2dc029a8 SHA512 bfe20d4028ab0c0c1365db3d5f2ded0c1fe5e9e3e703cede4ca1ff57450cec65bf3b022ed364373b65c87e0bc776a9eca28a4607ef95ebdf661a17d89c3b6c56
MISC metadata.xml 804 BLAKE2B 94a5445b2839e69d26bb57e8467dd1eab0820c8511304283a4db38710e7026f5956614285526451f77188a7e25f12a638fefbe6a544424fbdc422daecefa0836 SHA512 f3037d4ef45f0490dbf9df8d57497d38931076b5e9c774161633d061ee644a0282ba390d6d95d6195b8f18d91229f055bf4a9e786717cdfc98e2fb87c0e32245
diff --git a/dev-qt/qtpositioning/qtpositioning-5.15.14.ebuild b/dev-qt/qtpositioning/qtpositioning-5.15.14.ebuild
index d83fc841aa1a..a3d3f33c6b1a 100644
--- a/dev-qt/qtpositioning/qtpositioning-5.15.14.ebuild
+++ b/dev-qt/qtpositioning/qtpositioning-5.15.14.ebuild
@@ -9,7 +9,7 @@ inherit qt5-build
DESCRIPTION="Physical position determination library for the Qt5 framework"
if [[ ${QT5_BUILD_TYPE} == release ]]; then
- KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
fi
IUSE="geoclue +qml"
diff --git a/dev-qt/qtpositioning/qtpositioning-6.8.9999.ebuild b/dev-qt/qtpositioning/qtpositioning-6.8.9999.ebuild
new file mode 100644
index 000000000000..c872768c9bd8
--- /dev/null
+++ b/dev-qt/qtpositioning/qtpositioning-6.8.9999.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
+}