blob: 5240ccfd8b310ca4925d6ebf5706a85cef1ba2ef [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Linux Bluetooth Stack Userland V4"
2DESCRIPTION = "Linux Bluetooth stack V4 userland components. These include a system configurations, daemons, tools and system libraries."
3HOMEPAGE = "http://www.bluez.org"
4SECTION = "libs"
5LICENSE = "GPLv2+ & LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
7 file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \
8 file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e \
9 file://sbc/sbc.c;beginline=1;endline=25;md5=1a40781ed30d50d8639323a184aeb191"
10
11RPROVIDES_${PN} += "${PN}-systemd"
12RREPLACES_${PN} += "${PN}-systemd"
13RCONFLICTS_${PN} += "${PN}-systemd"
14
15DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline libsndfile1"
16RDEPENDS_${PN}-dev = "bluez-hcidump"
17
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pie systemd', d)}"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050019PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
20PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,"
21PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir="
22
23ASNEEDED = ""
24
25SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz"
26S = "${WORKDIR}/bluez-${PV}"
27
28inherit autotools-brokensep pkgconfig systemd
29
30EXTRA_OECONF = "\
31 --disable-gstreamer \
32 --enable-usb \
33 --enable-tools \
34 --enable-bccmd \
35 --enable-hid2hci \
36 --enable-dfutool \
37 --disable-hidd \
38 --disable-pand \
39 --disable-dund \
40 --disable-cups \
41 --enable-test \
42 --enable-datafiles \
43 --with-udevdir=`pkg-config --variable=udevdir udev` \
44 --with-udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d \
45"
46
47EXCLUDE_FROM_WORLD = "1"