dev-qt/qtconnectivity: update live for 6.8+ branch

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-06-04 15:30:39 -04:00
parent 1c4adac9f0
commit a137dbfdd8
2 changed files with 18 additions and 5 deletions
+1
View File
@@ -6,6 +6,7 @@
<name>Gentoo Qt Project</name>
</maintainer>
<use>
<flag name="neard">Use <pkg>net-wireless/neard</pkg> to access NFC devices</flag>
<flag name="nfc">Enable support for the Near Field Communication protocol</flag>
</use>
<upstream>
@@ -11,20 +11,29 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
fi
IUSE="+bluetooth nfc smartcard"
REQUIRED_USE="|| ( bluetooth nfc )"
IUSE="+bluetooth neard nfc smartcard"
REQUIRED_USE="
|| ( bluetooth nfc )
nfc? ( ?? ( neard smartcard ) )
"
RDEPEND="
DEPEND="
~dev-qt/qtbase-${PV}:6[network]
bluetooth? (
~dev-qt/qtbase-${PV}:6[dbus]
net-wireless/bluez:=
)
nfc? (
neard? ( ~dev-qt/qtbase-${PV}:6[dbus] )
smartcard? ( sys-apps/pcsc-lite )
)
"
DEPEND="${RDEPEND}"
RDEPEND="
${DEPEND}
nfc? (
neard? ( net-wireless/neard )
)
"
CMAKE_SKIP_TESTS=(
# most hardware tests are auto-skipped, but some still misbehave
@@ -48,7 +57,10 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(usev nfc $(qt_feature smartcard pcsclite))
$(usev nfc "
$(qt_feature neard)
$(qt_feature smartcard pcsclite)
")
)
qt6-build_src_configure