diff options
Diffstat (limited to 'meta/recipes-connectivity/bluez/bluez4.inc')
-rw-r--r-- | meta/recipes-connectivity/bluez/bluez4.inc | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bluez/bluez4.inc b/meta/recipes-connectivity/bluez/bluez4.inc new file mode 100644 index 0000000000..0827005074 --- /dev/null +++ b/meta/recipes-connectivity/bluez/bluez4.inc | |||
@@ -0,0 +1,46 @@ | |||
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 | DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline libsndfile1" | ||
11 | RDEPENDS_${PN}-dev = "bluez-hcidump" | ||
12 | |||
13 | PACKAGECONFIG ??= "\ | ||
14 | ${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}\ | ||
15 | ${@base_contains('DISTRO_FEATURES', 'pie', 'pie', '', d)}\ | ||
16 | " | ||
17 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | ||
18 | PACKAGECONFIG[pie] = "--enable-pie,--disable-pie," | ||
19 | |||
20 | ASNEEDED = "" | ||
21 | |||
22 | SRC_URI = "\ | ||
23 | ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \ | ||
24 | " | ||
25 | S = "${WORKDIR}/bluez-${PV}" | ||
26 | |||
27 | inherit autotools-brokensep | ||
28 | |||
29 | EXTRA_OECONF = "\ | ||
30 | --disable-gstreamer \ | ||
31 | --enable-usb \ | ||
32 | --enable-tools \ | ||
33 | --enable-bccmd \ | ||
34 | --enable-hid2hci \ | ||
35 | --enable-dfutool \ | ||
36 | --disable-hidd \ | ||
37 | --disable-pand \ | ||
38 | --disable-dund \ | ||
39 | --disable-cups \ | ||
40 | --enable-test \ | ||
41 | --enable-datafiles \ | ||
42 | --with-udevdir=`pkg-config --variable=udevdir udev` \ | ||
43 | --with-udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d \ | ||
44 | " | ||
45 | |||
46 | EXCLUDE_FROM_WORLD = "1" | ||