mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
dev-qt/qtconnectivity: update live for 6.8+ branch
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user