diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-03 02:07:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-03 02:07:18 +0000 |
commit | 7f4b508a2da3c371c7e770aa6ab83b0c4237cd1c (patch) | |
tree | 81d78cbf05f5daa7d57418d32f44b0149a56a765 /dev-qt/qtconnectivity | |
parent | d4f65848c7ecabb56e2f93889cbd20078cd347f7 (diff) |
gentoo auto-resync : 03:12:2024 - 02:07:18
Diffstat (limited to 'dev-qt/qtconnectivity')
-rw-r--r-- | dev-qt/qtconnectivity/Manifest | 2 | ||||
-rw-r--r-- | dev-qt/qtconnectivity/qtconnectivity-6.8.1.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/dev-qt/qtconnectivity/Manifest b/dev-qt/qtconnectivity/Manifest index f5a4e7d04626..9205de0262e6 100644 --- a/dev-qt/qtconnectivity/Manifest +++ b/dev-qt/qtconnectivity/Manifest @@ -1,9 +1,11 @@ DIST qtconnectivity-everywhere-src-6.7.2.tar.xz 1061952 BLAKE2B 2b46b255f5ca5ab7b5363f6e3584dd4318a4e4d120c8595b309fba1354d9e1c763d9fa8e84b22f5c342204b2849b27d08a7f5dbd9d00533e150c2b8fb6561db3 SHA512 381098e406ac18d87d34eb9087d1655c16e604059d69b77c04df9d444cefc77630a212f52b0fc2a1573c524044aa1837379d70460e152cd353731e52c4bd0e67 DIST qtconnectivity-everywhere-src-6.7.3.tar.xz 1062684 BLAKE2B 69a10c7c9e6ad25726a136e582005c5306ab3adba1a5f253b51e4ef46009de315e5593bf76020f6019a09d60600c9ae12855f2713c1424f407399a9660a14f8d SHA512 46d77b7c02a03f8aee3401c889121ada5979858d95959ab4d7f31d54ce17c92c5f9c18097297baecc08c468c4f020a826b08edffb55e00e5d3fdaa0523600362 DIST qtconnectivity-everywhere-src-6.8.0.tar.xz 1066392 BLAKE2B ec45b909202e84aea530d4a0d8cad00c74dc98ae72b85ca91a3780bffa6f641c11c99c77b7b7ca02cffba4d6d114c0bfbe30d7a4f44c44553588b6676b430a23 SHA512 c5c780c3f30d366d4845b4ce497ded6603423d0c42f025dd90d54342ff4b536d065d8d1541fa86ae9ca6fcde930e48cbef09216b8cbdabd73d864ce04a7979c9 +DIST qtconnectivity-everywhere-src-6.8.1.tar.xz 1067952 BLAKE2B d0c1dbc863dbd12041321248f9256d63f03ecf919ac7c60f3e3e87dd4102fa9063dbb3b0896e3f168713e4dd7eccf2deb62109bea39ba8425184aaf9c019dee1 SHA512 61933f37210323cd912ec677322002557dae308228e390f692beb88374f328b2791e3448b14256a570de741ef6f3e935261ab90cfd3ae22725a8919bd304a8fb EBUILD qtconnectivity-6.7.2.ebuild 1734 BLAKE2B 21b1cfd523c635eab9abc358262511a368e362173e3ba7db637b70bd66bfaa53840e93dae3e79c4782b77fc8edfde324750b1d1d5ea7d95642662e4ebeed3e83 SHA512 26dc5f98133d3c734442a9a2d30422042cdd1d41db8b0948a91ac9c5947ecdec2173524c22d20cb359a7e503debee16e1d3686eaee134b2c487bc58599f83753 EBUILD qtconnectivity-6.7.3.ebuild 1736 BLAKE2B 74f24d80da81e3757ad6f3784579a8b1f11a1b5b2892b18329dc2e2c59539520ae0b71703cbfba23cbfe7a40295a4273b5cbf92a535b25db1903589bc4fef1b5 SHA512 07be632f7ca1ac429c437937c83ef4f9b903845925daf32d3e9273e8a3661ca1102a8c5f3a3be05d40c381d05233fee940095064a3ba8093ff3d0da832eabbd9 EBUILD qtconnectivity-6.8.0.ebuild 1900 BLAKE2B 793c75a1ad6163c68f41ac12cc4878a490126ac48197de40fb644df49e95299af53f32cd8a734dc2873f2d21528c787c92352db01ea5395ba646312976b517c4 SHA512 8ce94f9e5d17a0a5052e8c7fa84aba0924a275184e6c3630f1a48d13c44abf1980664eafed9e2718ab6553ad110b84ab5ced95a8ef21532fd34d3e3fcebf01fd +EBUILD qtconnectivity-6.8.1.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.1.ebuild b/dev-qt/qtconnectivity/qtconnectivity-6.8.1.ebuild new file mode 100644 index 000000000000..ed26392897ad --- /dev/null +++ b/dev-qt/qtconnectivity/qtconnectivity-6.8.1.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 +} |