1 DESCRIPTION = "Linux Bluetooth Stack Userland Utilities."
4 DEPENDS = "gstreamer gst-plugins-base bluez-libs-${PV} virtual/libusb0 dbus glib-2.0"
5 PROVIDES = "bluez-utils-dbus"
6 RPROVIDES_${PN} = "bluez-pan bluez-sdp bluez-utils-dbus"
7 RREPLACES = "bluez-utils-dbus"
8 RCONFLICTS_${PN} = "bluez-utils-nodbus"
11 FILESPATH = "${FILE_DIRNAME}/bluez-utils-${PV}:${FILE_DIRNAME}/bluez-utils"
13 SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
15 file://sbc-thumb.patch;patch=1"
18 S = "${WORKDIR}/bluez-utils-${PV}"
20 inherit autotools update-rc.d
35 --enable-initscripts \
39 # The config options are explained below:
41 # --enable-obex enable OBEX support
42 # --enable-alsa enable ALSA support, not needed for nokia770, nokia800 and om-gtao1
43 # --enable-cups install CUPS backend support
44 # --enable-bccmd install BCCMD interface utility
45 # --enable-avctrl install Audio/Video control utility
46 # --enable-hid2hci install HID mode switching utility
47 # --enable-dfutool install DFU firmware upgrade utility
49 # --enable-glib For systems that use and install GLib anyway
50 # --disable-sdpd The sdpd is obsolete and should no longer be used. This of course requires that hcid will be started with -s to enable the SDP server
52 #Following services can be enabled so far:
59 #There is no need to modify any init script. They will be started
60 #automatically or on demand. Only /etc/bluetooth/*.service files should
61 #be patched to change name or the autostart value.
63 # --enable-initscripts
65 #For even smaller -doc packages
67 # --disable-pcmciarules
69 #I haven't seen any embedded device with HID proxy support. So simply
73 OE_LT_RPATH_ALLOW = "any"
74 OE_LT_RPATH_ALLOW[export]="1"
77 install -d ${D}${base_sbindir} ${D}${base_bindir}/ ${D}${sysconfdir}/apm/event.d/
78 if [ "${sbindir}" != "${base_sbindir}" ]; then
79 mv ${D}${sbindir}/* ${D}${base_sbindir}/
82 if [ "${bindir}" != "${base_bindir}" ]; then
83 mv ${D}${bindir}/* ${D}${base_bindir}/
86 chmod u+s ${D}${base_sbindir}/hciattach ${D}${base_sbindir}/hciconfig
87 install -m 0644 ${WORKDIR}/hcid.conf ${D}${sysconfdir}/bluetooth/
88 install -m 0644 ${S}/rfcomm/rfcomm.conf ${D}${sysconfdir}/bluetooth/
89 install -m 0755 ${S}/daemon/.libs/passkey-agent ${D}${base_bindir}/ ||true
90 install -m 0755 ${S}/test/.libs/passkey-agent ${D}${base_bindir}/ ||true
94 INITSCRIPT_NAME = "bluetooth"
95 INITSCRIPT_PARAMS = "defaults 23 19"
98 PACKAGES =+ "${PN}-compat"
102 ${base_sbindir}/hcid \
103 ${libdir}/bluetooth \
104 ${sysconfdir}/init.d/bluetooth \
105 ${sysconfdir}/bluetooth/*.service \
106 ${sysconfdir}/bluetooth/hcid.conf \
107 ${sysconfdir}/default \
108 ${sysconfdir}/dbus-1 \
109 ${base_sbindir}/hciattach \
112 FILES_${PN}-dbg += " \
113 ${libdir}/bluetooth/.debug \
114 ${libdir}/cups/backend/.debug \
115 ${libdir}/alsa-lib/.debug \
118 FILES_${PN}-compat = " \
119 ${base_bindir}/sdptool \
120 ${base_bindir}/dund \
121 ${base_bindir}/rctest \
122 ${base_bindir}/ciptool \
123 ${base_bindir}/l2test \
124 ${base_bindir}/rfcomm \
125 ${base_bindir}/hcitool \
126 ${base_bindir}/pand \
127 ${base_bindir}/hidd \
128 ${base_bindir}/l2ping \
129 ${base_sbindir}/hciconfig \
130 ${base_sbindir}/bccmd \
131 ${base_sbindir}/hciemu \
132 ${base_sbindir}/hid2hci \
133 ${base_bindir}/passkey-agent \
134 ${sysconfdir}/bluetooth/rfcomm.conf \