mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-qt/qtconnectivity: drop 6.10.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
72a57e5653
commit
892c2fdc6c
@ -1,3 +1,2 @@
|
||||
DIST qtconnectivity-everywhere-src-6.10.0.tar.xz 1057636 BLAKE2B 0a2d1a272f232e0191c78ec81dba9b43a81028163d85a01de8ca355c7b3a141184ffe9d43b1b05a1cdc5ba6bba0f1290b69f882c3b535b7450aa36f13601a01e SHA512 b51befddfa59647b94dce24ff15aee3eecb8f19636c87eb4a54283fd850becc45f5d7d2138db2f419cd31721e6a2ed3ff5051fe0fd14ef4cb73121961af99392
|
||||
DIST qtconnectivity-everywhere-src-6.10.1.tar.xz 1058196 BLAKE2B e2f5b95b0d57f9a8307cf9a19e10a7388df36148baad5093030c2b8b8e347c2f36309d93228edd6923be20185dcd2e0081180b56f73708528b9ae742eca0c043 SHA512 a299584e0d1f33517f25f282365ad149244386d0cc9f1196b5e1415017f0f24c8558f79ff2cb8f22c9d8fa98aba0bbed9e93b634ad0a10532288e65836d8d9f7
|
||||
DIST qtconnectivity-everywhere-src-6.9.3.tar.xz 1057832 BLAKE2B 0489c0c7e2ae9a572a978c5a2ec77aa43f4397ff298599a7e0f74ac667367c2949372e6f085ddbd8bdc007bcb0dc6b682be126809bb42c081bc8297c016345ed SHA512 cdec804e2316b86cfb89dffe4d548eed74c4e547441f54918560085a945ff1cef08c4122f428aa3f0d48f10c1e3a72a029a91e4bf667c5f5fde3cdfb011db126
|
||||
|
||||
@ -1,85 +0,0 @@
|
||||
# Copyright 2023-2025 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 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
IUSE="+bluetooth neard nfc smartcard"
|
||||
REQUIRED_USE="
|
||||
|| ( bluetooth nfc )
|
||||
nfc? ( ?? ( neard smartcard ) )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtbase-${PV}:6
|
||||
bluetooth? (
|
||||
~dev-qt/qtbase-${PV}:6[dbus,network]
|
||||
net-wireless/bluez:=
|
||||
)
|
||||
nfc? (
|
||||
neard? ( ~dev-qt/qtbase-${PV}:6[dbus] )
|
||||
smartcard? ( sys-apps/pcsc-lite )
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
nfc? (
|
||||
neard? ( net-wireless/neard )
|
||||
)
|
||||
"
|
||||
|
||||
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_qbluetoothdevicediscoveryagent #936485
|
||||
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 neard)
|
||||
$(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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user