blob: 59c35e4733c6488ce5cf70096b4afb30fc1968e1 [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
18PACKAGECONFIG ??= "\
19 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}\
20 ${@bb.utils.contains('DISTRO_FEATURES', 'pie', 'pie', '', d)}\
21 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd','systemd', '', d)} \
22"
23PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
24PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,"
25PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir="
26
27ASNEEDED = ""
28
29SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz"
30S = "${WORKDIR}/bluez-${PV}"
31
32inherit autotools-brokensep pkgconfig systemd
33
34EXTRA_OECONF = "\
35 --disable-gstreamer \
36 --enable-usb \
37 --enable-tools \
38 --enable-bccmd \
39 --enable-hid2hci \
40 --enable-dfutool \
41 --disable-hidd \
42 --disable-pand \
43 --disable-dund \
44 --disable-cups \
45 --enable-test \
46 --enable-datafiles \
47 --with-udevdir=`pkg-config --variable=udevdir udev` \
48 --with-udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d \
49"
50
51EXCLUDE_FROM_WORLD = "1"