diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-25 01:25:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-25 01:25:44 +0100 |
commit | c25088d4fc442a7d6dc3a8d0498b43024888318d (patch) | |
tree | fdb19b6a9b3a20669ecb49f0ba8d9f435fbb4b1a /dev-qt/qtconnectivity | |
parent | d80b870c42fbe218389ffaf86f0f2a39404deca1 (diff) |
gentoo auto-resync : 25:09:2024 - 01:25:44
Diffstat (limited to 'dev-qt/qtconnectivity')
-rw-r--r-- | dev-qt/qtconnectivity/Manifest | 2 | ||||
-rw-r--r-- | dev-qt/qtconnectivity/qtconnectivity-6.8.0_rc.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/dev-qt/qtconnectivity/Manifest b/dev-qt/qtconnectivity/Manifest index b40fbedfe8c0..8c561a38fe54 100644 --- a/dev-qt/qtconnectivity/Manifest +++ b/dev-qt/qtconnectivity/Manifest @@ -1,6 +1,8 @@ DIST qtconnectivity-everywhere-src-6.7.2.tar.xz 1061952 BLAKE2B 2b46b255f5ca5ab7b5363f6e3584dd4318a4e4d120c8595b309fba1354d9e1c763d9fa8e84b22f5c342204b2849b27d08a7f5dbd9d00533e150c2b8fb6561db3 SHA512 381098e406ac18d87d34eb9087d1655c16e604059d69b77c04df9d444cefc77630a212f52b0fc2a1573c524044aa1837379d70460e152cd353731e52c4bd0e67 +DIST qtconnectivity-everywhere-src-6.8.0-rc.tar.xz 1066600 BLAKE2B 8b48bc8a8a30cc8ae8f5c968758ee0e5a96cac47f414319ee8eaa6f2f83df06c8fd86197a10a512abc406a500aa7283ba7171bf167432bdfa6e368fe15e58419 SHA512 a456047d1e9d478f7937f8f204e71506403105dc4c2c7972d0048b7b5832b9c63b21b0fc8158d78634a1bbec5a4031cfea93d78b71abd49606cae6809265984c EBUILD qtconnectivity-6.7.2.ebuild 1734 BLAKE2B 21b1cfd523c635eab9abc358262511a368e362173e3ba7db637b70bd66bfaa53840e93dae3e79c4782b77fc8edfde324750b1d1d5ea7d95642662e4ebeed3e83 SHA512 26dc5f98133d3c734442a9a2d30422042cdd1d41db8b0948a91ac9c5947ecdec2173524c22d20cb359a7e503debee16e1d3686eaee134b2c487bc58599f83753 EBUILD qtconnectivity-6.7.9999.ebuild 1739 BLAKE2B 1b838a40dd3edf95f2d18767409880412bd70eb3bff7e6bb2ad89b59935b33aafdd339e47965976acade4b392924cb5eb928e381be4cf3bb34fc6747236a5506 SHA512 7d6cbb7d9577a95111ad15b758ddcb0a0d3ed9c54279b1b0825d0d925f8c4133b6a0cf25adf0b2a0a03856af2a1cd6ae97f811754cc38ef5890c7afdf81b51cf +EBUILD qtconnectivity-6.8.0_rc.ebuild 1900 BLAKE2B 793c75a1ad6163c68f41ac12cc4878a490126ac48197de40fb644df49e95299af53f32cd8a734dc2873f2d21528c787c92352db01ea5395ba646312976b517c4 SHA512 8ce94f9e5d17a0a5052e8c7fa84aba0924a275184e6c3630f1a48d13c44abf1980664eafed9e2718ab6553ad110b84ab5ced95a8ef21532fd34d3e3fcebf01fd EBUILD qtconnectivity-6.8.9999.ebuild 1900 BLAKE2B 793c75a1ad6163c68f41ac12cc4878a490126ac48197de40fb644df49e95299af53f32cd8a734dc2873f2d21528c787c92352db01ea5395ba646312976b517c4 SHA512 8ce94f9e5d17a0a5052e8c7fa84aba0924a275184e6c3630f1a48d13c44abf1980664eafed9e2718ab6553ad110b84ab5ced95a8ef21532fd34d3e3fcebf01fd EBUILD qtconnectivity-6.9999.ebuild 1900 BLAKE2B 793c75a1ad6163c68f41ac12cc4878a490126ac48197de40fb644df49e95299af53f32cd8a734dc2873f2d21528c787c92352db01ea5395ba646312976b517c4 SHA512 8ce94f9e5d17a0a5052e8c7fa84aba0924a275184e6c3630f1a48d13c44abf1980664eafed9e2718ab6553ad110b84ab5ced95a8ef21532fd34d3e3fcebf01fd MISC metadata.xml 721 BLAKE2B 4c2d1448a532b27910627b3fa1b8912b9048434058ee6f7b14276913ad5d77e55a6f2200002953863aa76ef5d66c04126995e0746cfaf208fa6dbd6e9b622ce1 SHA512 17808c1ab2c7a8e36f6f20801ac288abfd3b390d67ae55212d0d6b890aa7bb49ad8c7d3899cade2d8515faee76a5e02b3cfc582e3f5dde744371592e6d8dfb67 diff --git a/dev-qt/qtconnectivity/qtconnectivity-6.8.0_rc.ebuild b/dev-qt/qtconnectivity/qtconnectivity-6.8.0_rc.ebuild new file mode 100644 index 000000000000..ed26392897ad --- /dev/null +++ b/dev-qt/qtconnectivity/qtconnectivity-6.8.0_rc.ebuild @@ -0,0 +1,85 @@ +# 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 ~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[network] + bluetooth? ( + ~dev-qt/qtbase-${PV}:6[dbus] + 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 +} |