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 9988215808B for ; Wed, 14 Feb 2024 12:24:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3001E2A47; Wed, 14 Feb 2024 12:24:58 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B4F7E2A47 for ; Wed, 14 Feb 2024 12:24:58 +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 82AF13430B6 for ; Wed, 14 Feb 2024 12:24:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF09F14C6 for ; Wed, 14 Feb 2024 12:24:55 +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: <1707913254.22bb1a65855d2037a442f0f2a07f292088304e67.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.2.ebuild X-VCS-Directories: dev-qt/qtconnectivity/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 22bb1a65855d2037a442f0f2a07f292088304e67 X-VCS-Branch: master Date: Wed, 14 Feb 2024 12:24:55 +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: 6fbd5789-cf30-4e0f-978b-8ee694c2d403 X-Archives-Hash: 51d6549e1a7f621ec5e15484cf8dacd6 commit: 22bb1a65855d2037a442f0f2a07f292088304e67 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Feb 14 11:06:24 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Feb 14 12:20:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22bb1a65 dev-qt/qtconnectivity: add 6.6.2 Signed-off-by: Ionen Wolkens gentoo.org> dev-qt/qtconnectivity/Manifest | 1 + dev-qt/qtconnectivity/qtconnectivity-6.6.2.ebuild | 72 +++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/dev-qt/qtconnectivity/Manifest b/dev-qt/qtconnectivity/Manifest index f673dd6704ac..710435edf83e 100644 --- a/dev-qt/qtconnectivity/Manifest +++ b/dev-qt/qtconnectivity/Manifest @@ -1 +1,2 @@ DIST qtconnectivity-everywhere-src-6.6.1.tar.xz 989544 BLAKE2B 5b1f49cf865cf241363f08ff9b2bebefbf718606df8d88f70b30d800a6bd48ecfb740b8385e2d28e2e619cfb2c7d735598cf904473095dedbec508a3d541a0f9 SHA512 b1a1962d881c1965c56cef5226b3eac39613332c96778daf322fa0ccba9aa33677e1943f3bb3f7efbdd8aec81623ca6b59c2340c805346935ef77e7606210dab +DIST qtconnectivity-everywhere-src-6.6.2.tar.xz 1060936 BLAKE2B 561f487a55c1352a67a3a5b2166ce4d62403f3adfdfbe7f6fee27c23b23e3ed6f0917daa212ffdc023ff521328421d6af7afe3d2353a1d835fba2bf3c10444b3 SHA512 aa66652cb8bd9f44cec616922f76b02c8dccdaea2bc8d24be8b8a4b6b76f08925a5088a2559eca3042e6aa77c67c722ec90910d2e2a092705c6f74ca413e4c5a diff --git a/dev-qt/qtconnectivity/qtconnectivity-6.6.2.ebuild b/dev-qt/qtconnectivity/qtconnectivity-6.6.2.ebuild new file mode 100644 index 000000000000..ee563938e4e6 --- /dev/null +++ b/dev-qt/qtconnectivity/qtconnectivity-6.6.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 2023-2024 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 ~arm64 ~loong" +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 +}