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 4C79B158089 for ; Tue, 10 Oct 2023 14:51:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8805B2BC018; Tue, 10 Oct 2023 14:51:27 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 621F12BC017 for ; Tue, 10 Oct 2023 14:51:27 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 75B93335C8E for ; Tue, 10 Oct 2023 14:51:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3CA610B3 for ; Tue, 10 Oct 2023 14:51:24 +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: <1696949361.09d2b97017025219a569632d489d8017a023c1f5.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtconnectivity/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-qt/qtconnectivity/Manifest dev-qt/qtconnectivity/qtconnectivity-6.6.0.ebuild X-VCS-Directories: dev-qt/qtconnectivity/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 09d2b97017025219a569632d489d8017a023c1f5 X-VCS-Branch: master Date: Tue, 10 Oct 2023 14:51:24 +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: fac4d702-9100-4f65-a2c3-2f3e0c2f2bf6 X-Archives-Hash: 609296e1f711e73a95524b26c0dad035 commit: 09d2b97017025219a569632d489d8017a023c1f5 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Oct 10 08:50:41 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Oct 10 14:49:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d2b970 dev-qt/qtconnectivity: add 6.6.0 Signed-off-by: Ionen Wolkens gentoo.org> dev-qt/qtconnectivity/Manifest | 1 + dev-qt/qtconnectivity/qtconnectivity-6.6.0.ebuild | 72 +++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/dev-qt/qtconnectivity/Manifest b/dev-qt/qtconnectivity/Manifest index 42cd00d6d59f..66af77e080e9 100644 --- a/dev-qt/qtconnectivity/Manifest +++ b/dev-qt/qtconnectivity/Manifest @@ -1,2 +1,3 @@ DIST qtconnectivity-everywhere-src-6.5.2.tar.xz 985972 BLAKE2B e7f3d8ad3580336d7eaff50e8ac2af3b291462544ebc5ca3d049d045a8388668d5e54a075375aaa9c99b3232ec07063dc4b7288bdc9fee83843fe57909e5e35b SHA512 76d9569ecfbbb4355587779a9aa0abf20f7d08484a2634e6c3b49a71b057451c54fd5fd344b4c376206384e5f1e9264a6bbbcd85ee44f15637c116f411d4aa30 DIST qtconnectivity-everywhere-src-6.5.3.tar.xz 986024 BLAKE2B 70ac7bc70d4c4cde2f03acdebf90024977237c208fb342adc0f680ab6bb96e06966ad61c991178bd46638bf5abbcf075159ec48241ef9423ea8b385c53360976 SHA512 d0a8309143545689c7f6f545ae1aa8e1b4e516398bc6cc0d0f0ea3df6a414d6c933d32ae32451134d2a0d7d2c02078e8e46438b0aec59e938e4b8533d4da9457 +DIST qtconnectivity-everywhere-src-6.6.0.tar.xz 989076 BLAKE2B 4ad09c18fe259042b8242a52baaccbf0b70d9b4f6f7029513ca90074b9f2b801397115eb9aed95fc2c2503d1fd7aae72942481b058c596f59db5ff06b3775f43 SHA512 f660edbfaa9aefebdb602bb44b2e62b8a5d8dceba4b8c3d73d0f9daf6c29ff5f8953c134dc5af79dfd90b888f97d99e44f91a8e0aee3a51b278747eee2d1c381 diff --git a/dev-qt/qtconnectivity/qtconnectivity-6.6.0.ebuild b/dev-qt/qtconnectivity/qtconnectivity-6.6.0.ebuild new file mode 100644 index 000000000000..47506d7b4b09 --- /dev/null +++ b/dev-qt/qtconnectivity/qtconnectivity-6.6.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qt6-build + +DESCRIPTION="Bluetooth and NFC support library for the Qt6 framework" + +if [[ ${QT6_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64" +fi + +IUSE="+bluetooth nfc smartcard" +REQUIRED_USE="|| ( bluetooth nfc )" + +RDEPEND=" + ~dev-qt/qtbase-${PV}:6[network] + bluetooth? ( + ~dev-qt/qtbase-${PV}:6[dbus] + net-wireless/bluez:= + ) + nfc? ( + smartcard? ( sys-apps/pcsc-lite ) + ) +" +DEPEND="${RDEPEND}" + +CMAKE_SKIP_TESTS=( + # most hardware tests are auto-skipped, but some still misbehave + # if bluez/hardware is available (generally tests here may not be + # very relevant without hardware, lists may need to be extended) + tst_qbluetoothlocaldevice + tst_qbluetoothserver + tst_qbluetoothservicediscoveryagent + tst_qbluetoothserviceinfo + tst_qlowenergycontroller +) + +src_prepare() { + qt6-build_src_prepare + + use bluetooth || + sed -i '/add_subdirectory(bluetooth)/d' src/CMakeLists.txt || die + use nfc || + sed -i '/add_subdirectory(nfc)/d' src/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + $(usev nfc $(qt_feature smartcard pcsclite)) + ) + + qt6-build_src_configure +} + +src_install() { + qt6-build_src_install + + # broken (unnecessary) symlink due to add_app() being used over add_tool() + use !bluetooth || rm -- "${ED}"/usr/bin/sdpscanner6 || die + + if use test; then + local delete=( # sigh + "${D}${QT6_BINDIR}"/bluetoothtestdevice + "${D}${QT6_BINDIR}"/bttestui + "${D}${QT6_BINDIR}"/qlecontroller-server + ) + # using -f given not tracking which tests may be skipped or not + rm -f -- "${delete[@]}" || die + fi +}