1 DESCRIPTION = "Linux Bluetooth Stack Userland V4"
2 HOMEPAGE = "http://www.bluez.org"
6 DEPENDS = "gst-plugins-base alsa-lib virtual/libusb0 dbus-glib"
9 # temporary solution until bug 5176 is properly fixed
10 PROVIDES += "bluez-utils bluez-libs bluez-utils-dbus"
11 RPROVIDES_bluez4 += "bluez-utils bluez-libs bluez-utils-dbus"
12 RPROVIDES_bluez4-dev = "bluez-libs-dev"
15 http://www.kernel.org/pub/linux/bluetooth/bluez-${PV}.tar.gz;name=bluez-${PV} \
16 file://fix-dfutool-usb-declaration-mismatch.patch;patch=1 \
17 file://sbc-thumb.patch;patch=1 \
18 file://0001-hciattach_tialt-Implement-texas_change_speed-functio.patch;patch=1 \
19 file://firmware_path.patch;patch=1 \
20 file://bluetooth.conf \
22 S = "${WORKDIR}/bluez-${PV}"
24 inherit autotools_stage update-rc.d
25 AUTOTOOLS_STAGE_PKGCONFIG = "1"
42 --enable-configfiles \
43 --enable-initscripts \
44 --disable-pcmciarules \
48 install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
49 install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/
50 install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/
51 # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT
52 install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/
55 INITSCRIPT_NAME = "bluetooth"
56 INITSCRIPT_PARAMS = "defaults 23 19"
58 PACKAGES =+ "gst-plugin-bluez libasound-module-bluez"
60 FILES_gst-plugin-bluez = "${libdir}/gstreamer-0.10/lib*.so"
61 FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so"
62 FILES_${PN} += "${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev"
64 ${libdir}/bluetooth/plugins/*.la \
65 ${libdir}/alsa-lib/*.la \
66 ${libdir}/gstreamer-0.10/*.la \
70 ${libdir}/bluetooth/plugins/.debug \