bluez4_4.82.bb 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. # For angstrom we want this to replace at least bluez-libs
  14. PROVIDES_append_angstrom = " bluez-utils bluez-libs"
  15. ASNEEDED = ""
  16. PR = "r0"
  17. SRC_URI = "\
  18. ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \
  19. file://fix-dfutool-usb-declaration-mismatch.patch;patch=1 \
  20. file://sbc-thumb.patch;patch=1 \
  21. file://bluetooth.conf \
  22. "
  23. SRC_URI[md5sum] = "b9e5de607e5e43c868c35c68fe6f189f"
  24. SRC_URI[sha256sum] = "75dc506f5346e1eb803f44294ae02406e806e309d9c9bda1de7ed235ff794b6d"
  25. S = "${WORKDIR}/bluez-${PV}"
  26. inherit autotools
  27. EXTRA_OECONF = "\
  28. --enable-gstreamer \
  29. --enable-alsa \
  30. --enable-usb \
  31. --enable-netlink \
  32. --enable-tools \
  33. --enable-bccmd \
  34. --enable-hid2hci \
  35. --enable-dfutool \
  36. --enable-hidd \
  37. --enable-pandd \
  38. --enable-dund \
  39. --disable-cups \
  40. --enable-test \
  41. --enable-manpages \
  42. --enable-configfiles \
  43. --enable-initscripts \
  44. --disable-pcmciarules \
  45. "
  46. do_install_append() {
  47. install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
  48. install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/
  49. install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/
  50. # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT
  51. install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/
  52. }
  53. PACKAGES =+ "gst-plugin-bluez libasound-module-bluez"
  54. FILES_gst-plugin-bluez = "${libdir}/gstreamer-0.10/lib*.so"
  55. FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so"
  56. FILES_${PN} += "${libdir}/bluetooth/plugins/*.so"
  57. FILES_${PN}-dev += "\
  58. ${libdir}/bluetooth/plugins/*.la \
  59. ${libdir}/alsa-lib/*.la \
  60. ${libdir}/gstreamer-0.10/*.la \
  61. "
  62. FILES_${PN}-dbg += "\
  63. ${libdir}/bluetooth/plugins/.debug \
  64. ${libdir}/*/.debug \
  65. "