Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Linux Bluetooth Stack Userland V4" |
| 2 | DESCRIPTION = "Linux Bluetooth stack V4 userland components. These include a system configurations, daemons, tools and system libraries." |
| 3 | HOMEPAGE = "http://www.bluez.org" |
| 4 | SECTION = "libs" |
| 5 | LICENSE = "GPLv2+ & LGPLv2.1+" |
| 6 | LIC_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 | |
| 11 | RPROVIDES_${PN} += "${PN}-systemd" |
| 12 | RREPLACES_${PN} += "${PN}-systemd" |
| 13 | RCONFLICTS_${PN} += "${PN}-systemd" |
| 14 | |
| 15 | DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline libsndfile1" |
| 16 | RDEPENDS_${PN}-dev = "bluez-hcidump" |
| 17 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 18 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pie systemd', d)}" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 19 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" |
| 20 | PACKAGECONFIG[pie] = "--enable-pie,--disable-pie," |
| 21 | PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir=" |
| 22 | |
| 23 | ASNEEDED = "" |
| 24 | |
| 25 | SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz" |
| 26 | S = "${WORKDIR}/bluez-${PV}" |
| 27 | |
| 28 | inherit autotools-brokensep pkgconfig systemd |
| 29 | |
| 30 | EXTRA_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 | |
| 47 | EXCLUDE_FROM_WORLD = "1" |