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 \
16 file://fix-dfutool-usb-declaration-mismatch.patch;patch=1 \
17 file://sbc-thumb.patch;patch=1 \
18 file://bluetooth.conf \
20 S = "${WORKDIR}/bluez-${PV}"
22 inherit autotools_stage update-rc.d
23 AUTOTOOLS_STAGE_PKGCONFIG = "1"
40 --enable-configfiles \
41 --enable-initscripts \
42 --disable-pcmciarules \
46 install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
47 install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/
48 install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/
49 # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT
50 install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/
53 INITSCRIPT_NAME = "bluetooth"
54 INITSCRIPT_PARAMS = "defaults 23 19"
56 PACKAGES =+ "gst-plugin-bluez libasound-module-bluez"
58 FILES_gst-plugin-bluez = "${libdir}/gstreamer-0.10/lib*.so"
59 FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so"
60 FILES_${PN} += "${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev"
62 ${libdir}/bluetooth/plugins/*.la \
63 ${libdir}/alsa-lib/*.la \
64 ${libdir}/gstreamer-0.10/*.la \
68 ${libdir}/bluetooth/plugins/.debug \