bluez4.inc 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. RPROVIDES_${PN} += "${PN}-systemd"
  11. RREPLACES_${PN} += "${PN}-systemd"
  12. RCONFLICTS_${PN} += "${PN}-systemd"
  13. DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline libsndfile1"
  14. RDEPENDS_${PN}-dev = "bluez-hcidump"
  15. PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pie systemd', d)}"
  16. PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
  17. PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,"
  18. PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir="
  19. ASNEEDED = ""
  20. SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz"
  21. S = "${WORKDIR}/bluez-${PV}"
  22. inherit autotools-brokensep pkgconfig systemd
  23. EXTRA_OECONF = "\
  24. --disable-gstreamer \
  25. --enable-usb \
  26. --enable-tools \
  27. --enable-bccmd \
  28. --enable-hid2hci \
  29. --enable-dfutool \
  30. --disable-hidd \
  31. --disable-pand \
  32. --disable-dund \
  33. --disable-cups \
  34. --enable-test \
  35. --enable-datafiles \
  36. --with-udevdir=`pkg-config --variable=udevdir udev` \
  37. --with-udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d \
  38. "
  39. EXCLUDE_FROM_WORLD = "1"