diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-26 23:29:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-26 23:29:13 +0100 |
commit | b544d842bfe55df1b59d40fb8059d5d240e4f42b (patch) | |
tree | 092145f89b76ccd50aba38348cb99b802227f5ae /dev-qt/qtconnectivity | |
parent | 20c20eb967a638c833aae1462f149894b2dbd811 (diff) |
gentoo auto-resync : 26:09:2023 - 23:29:12
Diffstat (limited to 'dev-qt/qtconnectivity')
-rw-r--r-- | dev-qt/qtconnectivity/Manifest | 2 | ||||
-rw-r--r-- | dev-qt/qtconnectivity/qtconnectivity-6.6.0_rc.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-qt/qtconnectivity/Manifest b/dev-qt/qtconnectivity/Manifest index 690fe309798d..fcfcf92c790a 100644 --- a/dev-qt/qtconnectivity/Manifest +++ b/dev-qt/qtconnectivity/Manifest @@ -1,6 +1,8 @@ DIST qtconnectivity-everywhere-src-6.5.2.tar.xz 985972 BLAKE2B e7f3d8ad3580336d7eaff50e8ac2af3b291462544ebc5ca3d049d045a8388668d5e54a075375aaa9c99b3232ec07063dc4b7288bdc9fee83843fe57909e5e35b SHA512 76d9569ecfbbb4355587779a9aa0abf20f7d08484a2634e6c3b49a71b057451c54fd5fd344b4c376206384e5f1e9264a6bbbcd85ee44f15637c116f411d4aa30 +DIST qtconnectivity-everywhere-src-6.6.0-rc.tar.xz 989216 BLAKE2B ab69418fff788e3b78347c56c980850515ca36122e3c38d96f8990e4c813bd5553fb158a8cefef147baf307d72b5911e0f6acf0a21655568bbcba76b45d1d799 SHA512 0cb98794feb7273beb5438fd2efc8a01da018d12f81775e720195573fbf245d256b945eec04d25514fa4b47fd63f2b4af19b3ba1319221b2e9c588a8353a4fd0 EBUILD qtconnectivity-6.5.2.ebuild 1646 BLAKE2B 4884f8d88098f69792dd281fa3dd664b8845eae85bfbb67112fbc7034c5e8758c109422cbbf45acca552197893fb8dbda7e265150e57c03cd311bec377b9efb3 SHA512 02eaaa1eddce7eca4fbde9634423b18f85a928f330a17e117732355a0bf207f8b468ad22f6ca649ef399f05b5f3b477e34b247e0d93a27b86e953c0c3fc8e076 EBUILD qtconnectivity-6.5.9999.ebuild 1647 BLAKE2B d890151be30c6195e874e420a27ae3bc096d8818f09bf838881690a931001c83731a3c2545c955580fd0bcfda56b4c4e8b61784d99df724a669d6036d87d1fc5 SHA512 55b2000fff9cb30feb13e230fc1e0678c61e66fe020870f64f0c86fee9c45b34591240db264c108991bc5793d2216cd629769b6c040b481b115f0871d923bf98 +EBUILD qtconnectivity-6.6.0_rc.ebuild 1647 BLAKE2B d890151be30c6195e874e420a27ae3bc096d8818f09bf838881690a931001c83731a3c2545c955580fd0bcfda56b4c4e8b61784d99df724a669d6036d87d1fc5 SHA512 55b2000fff9cb30feb13e230fc1e0678c61e66fe020870f64f0c86fee9c45b34591240db264c108991bc5793d2216cd629769b6c040b481b115f0871d923bf98 EBUILD qtconnectivity-6.6.9999.ebuild 1647 BLAKE2B d890151be30c6195e874e420a27ae3bc096d8818f09bf838881690a931001c83731a3c2545c955580fd0bcfda56b4c4e8b61784d99df724a669d6036d87d1fc5 SHA512 55b2000fff9cb30feb13e230fc1e0678c61e66fe020870f64f0c86fee9c45b34591240db264c108991bc5793d2216cd629769b6c040b481b115f0871d923bf98 EBUILD qtconnectivity-6.9999.ebuild 1647 BLAKE2B d890151be30c6195e874e420a27ae3bc096d8818f09bf838881690a931001c83731a3c2545c955580fd0bcfda56b4c4e8b61784d99df724a669d6036d87d1fc5 SHA512 55b2000fff9cb30feb13e230fc1e0678c61e66fe020870f64f0c86fee9c45b34591240db264c108991bc5793d2216cd629769b6c040b481b115f0871d923bf98 MISC metadata.xml 637 BLAKE2B 5e9bcc7a56c93b58d09022effcbef407532e6248bda88bd0eb6a2d1c0094b9715b867025e464870bf9c6ee644c020538d8210ae742fcb55be1b795f50bfadbce SHA512 f9a9ebe77ba29217437d2afa9b05a13d421683feef94f1c64d861d9a1e081ed2ab1716453ddd66a0b93c6fecccfd11642ab69f297efbfe23baf3ad8f232197d5 diff --git a/dev-qt/qtconnectivity/qtconnectivity-6.6.0_rc.ebuild b/dev-qt/qtconnectivity/qtconnectivity-6.6.0_rc.ebuild new file mode 100644 index 000000000000..47506d7b4b09 --- /dev/null +++ b/dev-qt/qtconnectivity/qtconnectivity-6.6.0_rc.ebuild @@ -0,0 +1,72 @@ +# Copyright 2023 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" +fi + +IUSE="+bluetooth nfc smartcard" +REQUIRED_USE="|| ( bluetooth nfc )" + +RDEPEND=" + ~dev-qt/qtbase-${PV}:6[network] + bluetooth? ( + ~dev-qt/qtbase-${PV}:6[dbus] + net-wireless/bluez:= + ) + nfc? ( + smartcard? ( sys-apps/pcsc-lite ) + ) +" +DEPEND="${RDEPEND}" + +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_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 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 +} |