blob: f2a16dcf71fb5405ffc32daff5c750511c5dc042 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001# Copyright (C) 2014-2015 Freescale Semiconductor
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4LICENSE = "MIT"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
Patrick Williamsb48b7b42016-08-17 15:04:38 -05006 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
7
8SUMMARY = "Set of Bluetooth related tools for inclusion in images"
9DESCRIPTION = "Includes bluetooth specific tools for this version of BlueZ.\
10These tools are used at runtime. \
11Supports BlueZ4 and BlueZ5."
12
13inherit packagegroup
14inherit bluetooth
15
16RDEPENDS_bluez4 = " \
17 obexftp \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'libasound-module-bluez', '', d)} \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050019"
20
21RDEPENDS_bluez5 = " \
22 bluez5-noinst-tools \
23 bluez5-obex \
24 bluez5-testtools \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025 ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', \
26 'pulseaudio-module-bluetooth-discover \
27 pulseaudio-module-bluetooth-policy \
28 pulseaudio-module-bluez5-discover \
29 pulseaudio-module-bluez5-device \
30 pulseaudio-module-switch-on-connect \
31 pulseaudio-module-loopback', \
32 '', d)} \
33"
34
35# Install bluez4 tools or bluez5 tools depending on what is specified in the distro.
36# Otherwise install nothing.
37RDEPENDS_${PN} = "${RDEPENDS_${BLUEZ}}"