diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-27 22:51:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-27 22:51:10 +0000 |
commit | ee0c4d5e506a6c64994a15c3af5cf1ca22045567 (patch) | |
tree | bdf578939023d42f04092ddb4bcd190eb391770f /dev-qt/qtconnectivity | |
parent | 161eaa4b12ca6314376288834bba20b7824d0d77 (diff) |
gentoo auto-resync : 27:11:2023 - 22:51:09
Diffstat (limited to 'dev-qt/qtconnectivity')
-rw-r--r-- | dev-qt/qtconnectivity/Manifest | 2 | ||||
-rw-r--r-- | dev-qt/qtconnectivity/qtconnectivity-6.6.1.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-qt/qtconnectivity/Manifest b/dev-qt/qtconnectivity/Manifest index fb53c4bd2605..302419c22e70 100644 --- a/dev-qt/qtconnectivity/Manifest +++ b/dev-qt/qtconnectivity/Manifest @@ -1,7 +1,9 @@ DIST qtconnectivity-everywhere-src-6.5.3.tar.xz 986024 BLAKE2B 70ac7bc70d4c4cde2f03acdebf90024977237c208fb342adc0f680ab6bb96e06966ad61c991178bd46638bf5abbcf075159ec48241ef9423ea8b385c53360976 SHA512 d0a8309143545689c7f6f545ae1aa8e1b4e516398bc6cc0d0f0ea3df6a414d6c933d32ae32451134d2a0d7d2c02078e8e46438b0aec59e938e4b8533d4da9457 DIST qtconnectivity-everywhere-src-6.6.0.tar.xz 989076 BLAKE2B 4ad09c18fe259042b8242a52baaccbf0b70d9b4f6f7029513ca90074b9f2b801397115eb9aed95fc2c2503d1fd7aae72942481b058c596f59db5ff06b3775f43 SHA512 f660edbfaa9aefebdb602bb44b2e62b8a5d8dceba4b8c3d73d0f9daf6c29ff5f8953c134dc5af79dfd90b888f97d99e44f91a8e0aee3a51b278747eee2d1c381 +DIST qtconnectivity-everywhere-src-6.6.1.tar.xz 989544 BLAKE2B 5b1f49cf865cf241363f08ff9b2bebefbf718606df8d88f70b30d800a6bd48ecfb740b8385e2d28e2e619cfb2c7d735598cf904473095dedbec508a3d541a0f9 SHA512 b1a1962d881c1965c56cef5226b3eac39613332c96778daf322fa0ccba9aa33677e1943f3bb3f7efbdd8aec81623ca6b59c2340c805346935ef77e7606210dab EBUILD qtconnectivity-6.5.3.ebuild 1646 BLAKE2B 4884f8d88098f69792dd281fa3dd664b8845eae85bfbb67112fbc7034c5e8758c109422cbbf45acca552197893fb8dbda7e265150e57c03cd311bec377b9efb3 SHA512 02eaaa1eddce7eca4fbde9634423b18f85a928f330a17e117732355a0bf207f8b468ad22f6ca649ef399f05b5f3b477e34b247e0d93a27b86e953c0c3fc8e076 EBUILD qtconnectivity-6.6.0.ebuild 1647 BLAKE2B d890151be30c6195e874e420a27ae3bc096d8818f09bf838881690a931001c83731a3c2545c955580fd0bcfda56b4c4e8b61784d99df724a669d6036d87d1fc5 SHA512 55b2000fff9cb30feb13e230fc1e0678c61e66fe020870f64f0c86fee9c45b34591240db264c108991bc5793d2216cd629769b6c040b481b115f0871d923bf98 +EBUILD qtconnectivity-6.6.1.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.1.ebuild b/dev-qt/qtconnectivity/qtconnectivity-6.6.1.ebuild new file mode 100644 index 000000000000..47506d7b4b09 --- /dev/null +++ b/dev-qt/qtconnectivity/qtconnectivity-6.6.1.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 +} |