summaryrefslogtreecommitdiff
path: root/recipes-connectivity/bluez/bluez5.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/bluez/bluez5.inc')
-rw-r--r--recipes-connectivity/bluez/bluez5.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes-connectivity/bluez/bluez5.inc b/recipes-connectivity/bluez/bluez5.inc
index b7ca007..844f38b 100644
--- a/recipes-connectivity/bluez/bluez5.inc
+++ b/recipes-connectivity/bluez/bluez5.inc
@@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline"
RDEPENDS_${PN}-pand += "bash"
DEPENDS_${PN}-pand += "python-dbus python-logging python-syslog"
+DEPENDS_${PN}-rfcomm += "python-dbus python-pygobject"
PROVIDES += "bluez-hcidump"
RPROVIDES_${PN} += "bluez-hcidump"
@@ -31,6 +32,7 @@ SRC_URI = "\
file://bt-pan/init \
file://bt-pan/default \
file://bt-pan/bt-pan \
+ file://rfcomm/rfcomm.py \
"
S = "${WORKDIR}/bluez-${PV}"
@@ -64,6 +66,7 @@ do_install_append() {
install -m 0755 ${WORKDIR}/bt-pan/init ${D}${INIT_D_DIR}/bt-pan
install -d ${DBTEXEC}
install -m 0755 ${WORKDIR}/bt-pan/bt-pan ${DBTEXEC}
+ install -m 0755 ${WORKDIR}/rfcomm/rfcomm.py ${DBTEXEC}/rfcomm
install -d ${D}${sysconfdir}/bluetooth/
if [ -f ${S}/profiles/audio/audio.conf ]; then
@@ -96,7 +99,7 @@ do_install_append() {
}
ALLOW_EMPTY_libasound-module-bluez = "1"
-PACKAGES =+ "libasound-module-bluez ${PN}-testtools ${PN}-obex ${PN}-noinst-tools ${PN}-pand"
+PACKAGES =+ "libasound-module-bluez ${PN}-testtools ${PN}-obex ${PN}-noinst-tools ${PN}-pand ${PN}-rfcomm"
FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa"
FILES_${PN} += "${libdir}/bluetooth/plugins/*.so ${systemd_unitdir}/ ${datadir}/dbus-1"
@@ -111,7 +114,8 @@ FILES_${PN}-obex = "${libexecdir}/bluetooth/obexd \
${datadir}/dbus-1/services/org.bluez.obex.service \
"
-FILES_${PN}-pand = "${libexecdir}/bluetooth/bluetooth/bt-pan ${sysconfdir}/default/bt-pan ${sysconfdir}/init.d/bt-pan"
+FILES_${PN}-pand = "${libexecdir}/bluetooth/bt-pan ${sysconfdir}/default/bt-pan ${sysconfdir}/init.d/bt-pan"
+FILES_${PN}-rfcomm = "${libexecdir}/bluetooth/rfcomm"
CONFFILES_${PN}-pand = "${sysconfdir}/default/bt-pan"
SYSTEMD_SERVICE_${PN}-obex = "obex.service"