From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtconnectivity/
Date: Fri, 22 Mar 2024 10:29:22 +0000 (UTC) [thread overview]
Message-ID: <1711103306.edf601a79721410696bf9451fd6ffa5e0b660725.ionen@gentoo> (raw)
commit: edf601a79721410696bf9451fd6ffa5e0b660725
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 22 08:30:32 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Mar 22 10:28:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf601a7
dev-qt/qtconnectivity: add 6.7.0_rc2
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-qt/qtconnectivity/Manifest | 1 +
.../qtconnectivity/qtconnectivity-6.7.0_rc2.ebuild | 72 ++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/dev-qt/qtconnectivity/Manifest b/dev-qt/qtconnectivity/Manifest
index 23fae3d48eff..dd12819294ae 100644
--- a/dev-qt/qtconnectivity/Manifest
+++ b/dev-qt/qtconnectivity/Manifest
@@ -1,2 +1,3 @@
DIST qtconnectivity-everywhere-src-6.6.2.tar.xz 1060936 BLAKE2B 561f487a55c1352a67a3a5b2166ce4d62403f3adfdfbe7f6fee27c23b23e3ed6f0917daa212ffdc023ff521328421d6af7afe3d2353a1d835fba2bf3c10444b3 SHA512 aa66652cb8bd9f44cec616922f76b02c8dccdaea2bc8d24be8b8a4b6b76f08925a5088a2559eca3042e6aa77c67c722ec90910d2e2a092705c6f74ca413e4c5a
DIST qtconnectivity-everywhere-src-6.7.0-rc.tar.xz 1061300 BLAKE2B 6d7d6132619aa13f1d9bde57f35a6a310113ad04a44fd4d51c778ba56a40f12fe74006efbd45269afcb6b8f5e8a1e0495574efc651d80f5ce06652ee04cb97b6 SHA512 0e9bd553f4626d253017a350519a8d63d998c62a1ef82c3616dd67c8e4158adf3bbeb591794d33ae45bce8cb6749a492fee928260ef400416d8a7e5a3d57edfa
+DIST qtconnectivity-everywhere-src-6.7.0-rc2.tar.xz 1061232 BLAKE2B 33489b5d433d7aacb7a4936dc5771b3d36db4b4856b65cce53fe510d08541fd10c0f70da128cb428137b39aaaf1425828835ba9f15366f84501f237dc702c23a SHA512 d36b52cb6dfcffadd5f306cc78ca2c5056280710396fc693a59f8b4a853e13fcbb1b08596a30c62a62a6eed4b877f2a0292a1e47cf7c02b79e858ceb71de484e
diff --git a/dev-qt/qtconnectivity/qtconnectivity-6.7.0_rc2.ebuild b/dev-qt/qtconnectivity/qtconnectivity-6.7.0_rc2.ebuild
new file mode 100644
index 000000000000..ee563938e4e6
--- /dev/null
+++ b/dev-qt/qtconnectivity/qtconnectivity-6.7.0_rc2.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
+}
next reply other threads:[~2024-03-22 10:29 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-22 10:29 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-27 23:38 [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtconnectivity/ Ionen Wolkens
2025-01-27 21:27 Sam James
2025-01-27 21:27 Sam James
2025-01-27 13:14 Sam James
2025-01-27 13:14 Sam James
2025-01-27 13:14 Sam James
2025-01-27 13:14 Sam James
2024-12-27 12:02 Sam James
2024-12-27 1:54 Sam James
2024-11-02 14:10 Arthur Zamarin
2024-11-01 6:35 Arthur Zamarin
2024-09-03 7:44 Ionen Wolkens
2024-08-12 18:21 Arthur Zamarin
2024-07-22 22:53 Ionen Wolkens
2024-07-08 11:16 Arthur Zamarin
2024-07-08 10:09 Sam James
2024-06-15 15:47 Arthur Zamarin
2024-06-08 5:27 Arthur Zamarin
2024-05-28 18:56 Arthur Zamarin
2024-04-13 17:50 Arthur Zamarin
2024-04-02 6:09 Arthur Zamarin
2024-04-01 18:29 Arthur Zamarin
2024-03-28 4:03 Yixun Lan
2024-03-27 12:44 Arthur Zamarin
2024-03-26 18:46 Arthur Zamarin
2024-03-26 7:10 Ionen Wolkens
2024-03-22 6:16 Arthur Zamarin
2024-02-20 14:30 Arthur Zamarin
2024-02-14 12:24 Ionen Wolkens
2024-01-02 16:26 WANG Xuerui
2023-12-22 22:40 Mart Raudsepp
2023-12-19 20:33 Ionen Wolkens
2023-12-17 18:29 Arthur Zamarin
2023-11-27 8:47 Ionen Wolkens
2023-11-15 19:28 Ionen Wolkens
2023-11-15 17:20 Arthur Zamarin
2023-10-10 14:51 Ionen Wolkens
2023-09-26 19:48 Ionen Wolkens
2023-09-15 4:49 Sam James
2023-09-07 10:03 Ionen Wolkens
2023-09-05 13:05 Ionen Wolkens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1711103306.edf601a79721410696bf9451fd6ffa5e0b660725.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox