summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/configure.json
blob: a1e650002ac5e9f6c2e866e50fc41817c6ca63ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
    "module": "bluetooth",
    "testDir": "../../config.tests",

    "libraries": {
        "bluez": {
            "label": "BlueZ",
            "test": "bluez",
            "sources": [
                { "type": "pkgConfig", "args": "bluez" },
                "-lbluetooth"
            ]
        }
    },

    "tests": {
        "bluez_le": {
            "label": "BlueZ Low Energy",
            "type": "compile",
            "test": "bluez_le"
        },
        "linux_crypto_api": {
            "label": "Linux Crypto API",
            "type": "compile",
            "test": "linux_crypto_api"
        }
    },

    "features": {
        "bluez": {
            "label": "BlueZ",
            "condition": "libs.bluez && features.concurrent && features.dbus",
            "output": [ "publicFeature" ]
        },
        "bluez_le": {
            "label": "BlueZ Low Energy",
            "condition": "features.bluez && tests.bluez_le",
            "output": [ "privateFeature" ]
        },
        "linux_crypto_api": {
            "label": "Linux Crypto API",
            "condition": "features.bluez_le && tests.linux_crypto_api",
            "output": [ "privateFeature" ]
        }
    },

    "report": [
        {
            "type": "note",
            "condition": "features.bluez_le && !features.linux_crypto_api",
            "message": "Linux crypto API not present. BTLE signed writes will not work."
        },
        {
            "type": "note",
            "condition": "features.bluez && !features.bluez_le",
            "message": "Bluez version is too old to support Bluetooth Low Energy.
Only classic Bluetooth will be available."
        }
    ],

    "summary": [
        {
            "section": "Qt Bluetooth",
            "entries": [
                "bluez",
                "bluez_le",
                "linux_crypto_api"
            ]
        }
    ]
}