diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/bluez/bluez4_4.93.bb')
-rw-r--r-- | meta-oe/recipes-connectivity/bluez/bluez4_4.93.bb | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/bluez/bluez4_4.93.bb b/meta-oe/recipes-connectivity/bluez/bluez4_4.93.bb new file mode 100644 index 000000000..928781063 --- /dev/null +++ b/meta-oe/recipes-connectivity/bluez/bluez4_4.93.bb | |||
@@ -0,0 +1,72 @@ | |||
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 | PRIORITY = "optional" | ||
6 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ | ||
8 | file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \ | ||
9 | file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e \ | ||
10 | file://sbc/sbc.c;beginline=1;endline=25;md5=1a40781ed30d50d8639323a184aeb191" | ||
11 | DEPENDS = "gst-plugins-base alsa-lib libusb dbus-glib libnl" | ||
12 | RDEPENDS_${PN}-dev = "bluez-hcidump" | ||
13 | |||
14 | ASNEEDED = "" | ||
15 | |||
16 | PR = "r0" | ||
17 | |||
18 | # to find bluez patches from oe-core | ||
19 | FILESPATH =. "${COREBASE}/meta/recipes-connectivity/bluez/bluez4-4.82/:" | ||
20 | SRC_URI = "\ | ||
21 | ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \ | ||
22 | file://fix-dfutool-usb-declaration-mismatch.patch \ | ||
23 | file://bluetooth.conf \ | ||
24 | " | ||
25 | SRC_URI[md5sum] = "c0f6450a39809996306005f5b85c6d3d" | ||
26 | SRC_URI[sha256sum] = "ad370dbc8c4d37a0cc3d5078d62542f0e53a33f5b2df849cf7601ef25c5e6087" | ||
27 | |||
28 | |||
29 | S = "${WORKDIR}/bluez-${PV}" | ||
30 | |||
31 | inherit autotools | ||
32 | |||
33 | EXTRA_OECONF = "\ | ||
34 | --enable-gstreamer \ | ||
35 | --enable-alsa \ | ||
36 | --enable-usb \ | ||
37 | --enable-tools \ | ||
38 | --enable-bccmd \ | ||
39 | --enable-hid2hci \ | ||
40 | --enable-dfutool \ | ||
41 | --enable-hidd \ | ||
42 | --enable-pand \ | ||
43 | --enable-dund \ | ||
44 | --disable-cups \ | ||
45 | --enable-test \ | ||
46 | --enable-configfiles \ | ||
47 | " | ||
48 | |||
49 | do_install_append() { | ||
50 | install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/ | ||
51 | install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/ | ||
52 | install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/ | ||
53 | # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT | ||
54 | install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/ | ||
55 | } | ||
56 | |||
57 | PACKAGES =+ "gst-plugin-bluez libasound-module-bluez" | ||
58 | |||
59 | FILES_gst-plugin-bluez = "${libdir}/gstreamer-0.10/lib*.so" | ||
60 | FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa" | ||
61 | FILES_${PN} += "${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/" | ||
62 | FILES_${PN}-dev += "\ | ||
63 | ${libdir}/bluetooth/plugins/*.la \ | ||
64 | ${libdir}/alsa-lib/*.la \ | ||
65 | ${libdir}/gstreamer-0.10/*.la \ | ||
66 | " | ||
67 | |||
68 | FILES_${PN}-dbg += "\ | ||
69 | ${libdir}/bluetooth/plugins/.debug \ | ||
70 | ${libdir}/*/.debug \ | ||
71 | ${base_libdir}/udev/.debug \ | ||
72 | " | ||