From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 25B93158041 for ; Fri, 22 Mar 2024 10:29:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05EE2E29EC; Fri, 22 Mar 2024 10:29:27 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6624E29EC for ; Fri, 22 Mar 2024 10:29:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D3E8734301E for ; Fri, 22 Mar 2024 10:29:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D28D15C4 for ; Fri, 22 Mar 2024 10:29:23 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1711103307.1f56235a03f6654f6382967d2483ddebd92385e5.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtpositioning/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-qt/qtpositioning/Manifest dev-qt/qtpositioning/qtpositioning-6.7.0_rc2.ebuild X-VCS-Directories: dev-qt/qtpositioning/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 1f56235a03f6654f6382967d2483ddebd92385e5 X-VCS-Branch: master Date: Fri, 22 Mar 2024 10:29:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9a6469b7-2088-43b6-bfc1-3a79da27716e X-Archives-Hash: 002b3f78e3a67850e1edc8beeae1c759 commit: 1f56235a03f6654f6382967d2483ddebd92385e5 Author: Ionen Wolkens gentoo org> AuthorDate: Fri Mar 22 08:30:58 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri Mar 22 10:28:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f56235a dev-qt/qtpositioning: add 6.7.0_rc2 Signed-off-by: Ionen Wolkens gentoo.org> dev-qt/qtpositioning/Manifest | 1 + .../qtpositioning/qtpositioning-6.7.0_rc2.ebuild | 68 ++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-qt/qtpositioning/Manifest b/dev-qt/qtpositioning/Manifest index 493d31196d65..3a6fc7c1fb10 100644 --- a/dev-qt/qtpositioning/Manifest +++ b/dev-qt/qtpositioning/Manifest @@ -1,3 +1,4 @@ DIST qtlocation-everywhere-opensource-src-5.15.12.tar.xz 6553488 BLAKE2B e9cab8e6f62cc1cfc6586fa4a1b252bce915479fca5f9fbeac66a2494d77047af4af1ba840786799637edae3af7c6d2000f640af018548cfcd7bd624c6a31b15 SHA512 c480762cea2cd1a00e6061bab05c402d5aab2d12e7decebcd606c930d2029a93f2a46f8edbb188b73c7cdcad473b03c15037ea10e0b3538de0a99b1d7d7fb333 DIST qtpositioning-everywhere-src-6.6.2.tar.xz 1504848 BLAKE2B c34d253b31176f532c6c5f23416c084652f913379bbdb44a96739a5f22b9220564408a700910a102ca45db12342d1bc267cba7c9a66d01affb641b14e678652a SHA512 f2f67c7b25ff79e085a4a36421295f4ec4ef97a7df9fedcfb90ebd60483755109d0b595b30f7ff1881ad635ddbd2c6a227771df3549d7933fda03cf63f935cd3 DIST qtpositioning-everywhere-src-6.7.0-rc.tar.xz 658500 BLAKE2B 54bb72d0a90acd58757d8bacedba60b67f98a033b8de0302a18ac42b5918743d38b80ef0513ea1ed6ddf568207d2e5b2e4797be83ed7d76e32a59d98209af8bb SHA512 c87770cdb788c9e0dcd6f2ff793a89b564980326afc1b8deada62b33dd2c366e1cfc91e42263f440a58caaf45d1ef55eeaf60bac2d34a3d68a8a2fafa9a79fa1 +DIST qtpositioning-everywhere-src-6.7.0-rc2.tar.xz 658648 BLAKE2B 582f20f014c8b471244198449e1f506a02aeed362a678af86669b4fcb01ed89d978b6f21e40f8f949f114cb4f3c269b14014338820c1d2dc880a09964146c25b SHA512 16fdfcdef778a746870f0ec276f0d68bd0380c1d34dd64e797028dfa9bee50444f8b2b03cadc59b4c8a8e0637566b7832f8b596bac4c4f25f4864621c9461b71 diff --git a/dev-qt/qtpositioning/qtpositioning-6.7.0_rc2.ebuild b/dev-qt/qtpositioning/qtpositioning-6.7.0_rc2.ebuild new file mode 100644 index 000000000000..c872768c9bd8 --- /dev/null +++ b/dev-qt/qtpositioning/qtpositioning-6.7.0_rc2.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 +}