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 45E4E158041 for ; Tue, 2 Apr 2024 13:06:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4BC0C2BC019; Tue, 2 Apr 2024 13:06:49 +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 110AC2BC025 for ; Tue, 2 Apr 2024 13:06:49 +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 AB9D4343203 for ; Tue, 2 Apr 2024 13:06:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97A6E1621 for ; Tue, 2 Apr 2024 13:06:44 +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: <1712063103.3c24f6d712778454e343f942575fb6b3b10c8715.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.ebuild X-VCS-Directories: dev-qt/qtpositioning/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 3c24f6d712778454e343f942575fb6b3b10c8715 X-VCS-Branch: master Date: Tue, 2 Apr 2024 13:06:44 +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: be2fd5c7-2236-437a-9f14-b7d49fae90f9 X-Archives-Hash: 2a3d9d92f051c7defcb4331d6f2d82ab commit: 3c24f6d712778454e343f942575fb6b3b10c8715 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Apr 2 12:05:45 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Apr 2 13:05:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c24f6d7 dev-qt/qtpositioning: add 6.7.0 Signed-off-by: Ionen Wolkens gentoo.org> dev-qt/qtpositioning/Manifest | 1 + dev-qt/qtpositioning/qtpositioning-6.7.0.ebuild | 68 +++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-qt/qtpositioning/Manifest b/dev-qt/qtpositioning/Manifest index 90771c3cc2b4..5025fc494ed2 100644 --- a/dev-qt/qtpositioning/Manifest +++ b/dev-qt/qtpositioning/Manifest @@ -2,3 +2,4 @@ DIST qtlocation-everywhere-opensource-src-5.15.12.tar.xz 6553488 BLAKE2B e9cab8e DIST qtlocation-everywhere-opensource-src-5.15.13.tar.xz 6554724 BLAKE2B 26cc97cc210a4c2afcd5ca57f849081772f8e65f2fb809424f257f6e24309a702483be73085825f63ac283705db8e967b96132dac710cfaa0759c882802aad60 SHA512 37ccec9d9ce4ab59c0e4a2827c94d2e7247786fa53dc340539160631aaa9e5de02fbff1a5fadc5d96c64b2d9a81a5912a562beb6e4d0ec09186f8508626ade36 DIST qtpositioning-everywhere-src-6.6.2.tar.xz 1504848 BLAKE2B c34d253b31176f532c6c5f23416c084652f913379bbdb44a96739a5f22b9220564408a700910a102ca45db12342d1bc267cba7c9a66d01affb641b14e678652a SHA512 f2f67c7b25ff79e085a4a36421295f4ec4ef97a7df9fedcfb90ebd60483755109d0b595b30f7ff1881ad635ddbd2c6a227771df3549d7933fda03cf63f935cd3 DIST qtpositioning-everywhere-src-6.6.3.tar.xz 1505028 BLAKE2B 9b4c249f25b2ba398c3b9876f7c491c29c40193a229bd9935f6dbac30a0ed6e69cd3c3a1c3b2ef0ca6de724d39a465b2ab702ac5c40c1c5d8b1955045ed1aa79 SHA512 6ae48b27851a18c44fa3167fa05d7da9b885a85e8b99c2efc750092d1bc0bc2c438b10e085486fce143b4f961189be843fd1a58581d31bd212e79596ce52a686 +DIST qtpositioning-everywhere-src-6.7.0.tar.xz 658368 BLAKE2B 162b4d3ea4e57d5a1ef4c243ba2272b32baae6d987ed788cee8e039f83388c0a062c5b2009c778008274f41d22c54f96f7372f49acf9877c9641bb6a5f6ba047 SHA512 ba0bce58321d967ddb3fcbe4b978212f660e48afd788ba36a0068ca7c6804e7febd74d6a15bc541f6cf9ebeef72aeeceb3e2779f53bdaa432391fb64781e68a1 diff --git a/dev-qt/qtpositioning/qtpositioning-6.7.0.ebuild b/dev-qt/qtpositioning/qtpositioning-6.7.0.ebuild new file mode 100644 index 000000000000..c872768c9bd8 --- /dev/null +++ b/dev-qt/qtpositioning/qtpositioning-6.7.0.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 +}