summaryrefslogtreecommitdiff
path: root/dev-qt/qtpositioning
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-19 00:09:54 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-19 00:09:54 +0100
commite8df704cf9b5e9e517317b8912377c0a8ca0d11e (patch)
treeab3f43045fb1d37471f8217c8547d2120bb3d1da /dev-qt/qtpositioning
parentccaccfe4f1da8c11d9fa110f6e4eb847358769d7 (diff)
gentoo auto-resync : 19:06:2024 - 00:09:54
Diffstat (limited to 'dev-qt/qtpositioning')
-rw-r--r--dev-qt/qtpositioning/Manifest2
-rw-r--r--dev-qt/qtpositioning/qtpositioning-6.7.2.ebuild68
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-qt/qtpositioning/Manifest b/dev-qt/qtpositioning/Manifest
index 4da87a5736cc..85eac7798bd4 100644
--- a/dev-qt/qtpositioning/Manifest
+++ b/dev-qt/qtpositioning/Manifest
@@ -1,7 +1,9 @@
DIST qtlocation-everywhere-opensource-src-5.15.14.tar.xz 6549056 BLAKE2B 831c7091a7b9d1355121f7e1e89f62c8aaa8819bef98c80f90b1521eea9c11a35452557c97d1dd49d13e0e810bd70f5038f8682f6ac42b68622cd269664eadd3 SHA512 5a6271d61bb9ede80b8483e784d8cc15170cf3f7b019472b2362c742e1e1fd52d811c2132b751574dacee6f7274b81e6049b8a3dc934ba7612c0aef6643062dd
DIST qtpositioning-everywhere-src-6.7.1.tar.xz 658028 BLAKE2B 9e42900658975726b8d26565ac26e1e884ecfa251c2d948d1dbf91897c1ff31e6d53a600ce83e3a98dea457ce3be9bc7563ce4464e2b3a11127378edea3f6884 SHA512 3d5a51d1ad509f6834390955da0d53b92b28b285265a3d0972069606df4076275499e283f08961016949e90925fab49cd650041c28cf5aa879753dd4631b784a
+DIST qtpositioning-everywhere-src-6.7.2.tar.xz 658112 BLAKE2B ef32068ae5d718df1ad10fddf735d65f9f90edb559211978f7112d6228a69ef37e92dcd7c124d3fff3887f1032e970c8735f92397751bdcd482451251afb4cc6 SHA512 2983fde05cbccf86288cd989279551b5babeddcf9be2848870e59dbbfc2d91749465bf43c17e291d6df37ee746b5490c0bb1e6b3fd4298b4f0a22cc6d67db04e
EBUILD qtpositioning-5.15.14.ebuild 877 BLAKE2B faaba7ce4da8906b08b10a326f4f9a211f9eae86a12135dc0f58396342b82c91a1bb2aa1e8bac4b5fb2cf6e55733d12d77cbab56b6b26ba955036f5f072ce32d SHA512 f342bfdbb38c7f13c37087b544e07cccb6c7655774e9547caff9bbf3517e02d9b1e82fd3ba47b319a17fcac1e2476134f0d71368f5af792e8579c90a5a25dc67
EBUILD qtpositioning-6.7.1.ebuild 1571 BLAKE2B 3692949cb0c40644f6ece51c678db7b0e2bca3ca5f97b5a681f1dff91d1076cd10654dc3570f95eb72e978bee00102ad55d0e4c43af99034563e50d83dbfe0e7 SHA512 b2b7090183ccb373aec63bd75ea0bb41c9434694d319eb24d96d145bb4738a4003fbf4baf0b1f6d4467734cffed15a1bf6ed51b7c78c53dc73c86f4e61a64341
+EBUILD qtpositioning-6.7.2.ebuild 1576 BLAKE2B 0a902084d44ef71dff03de73ca9d692b1fbe5bef21b1ce962b7ea892a707d9db46f63012d7c7378bd9314ed702a2c5d108d5c41a0a86e395033bcccb2dc029a8 SHA512 bfe20d4028ab0c0c1365db3d5f2ded0c1fe5e9e3e703cede4ca1ff57450cec65bf3b022ed364373b65c87e0bc776a9eca28a4607ef95ebdf661a17d89c3b6c56
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
diff --git a/dev-qt/qtpositioning/qtpositioning-6.7.2.ebuild b/dev-qt/qtpositioning/qtpositioning-6.7.2.ebuild
new file mode 100644
index 000000000000..c872768c9bd8
--- /dev/null
+++ b/dev-qt/qtpositioning/qtpositioning-6.7.2.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
+}