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.inc10
1 files changed, 6 insertions, 4 deletions
diff --git a/recipes-connectivity/bluez/bluez5.inc b/recipes-connectivity/bluez/bluez5.inc
index 601cd6f..c83848a 100644
--- a/recipes-connectivity/bluez/bluez5.inc
+++ b/recipes-connectivity/bluez/bluez5.inc
@@ -8,10 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \
file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e"
DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline"
-RDEPENDS_${PN}-pand += "bash"
-DEPENDS_${PN}-pand += "python-dbus python-logging python-syslog"
-RDEPENDS_${PN}-rfcomm += "bash"
-DEPENDS_${PN}-rfcomm += "python-dbus python-logging python-syslog python-glib"
+RDEPENDS_${PN}-pand += "bash python-dbus python-logging python-syslog"
+RDEPENDS_${PN}-rfcomm += "bash python-pygobject python-syslog python-logging python-dbus"
PROVIDES += "bluez-hcidump"
RPROVIDES_${PN} += "bluez-hcidump"
@@ -34,6 +32,8 @@ SRC_URI = "\
file://bt-pan/default \
file://bt-pan/bt-pan \
file://rfcomm/rfcomm.py \
+ file://rfcomm/init \
+ file://rfcomm/default \
"
S = "${WORKDIR}/bluez-${PV}"
@@ -65,6 +65,7 @@ do_install_append() {
install -d ${D}${INIT_D_DIR}
install -m 0755 ${WORKDIR}/init ${D}${INIT_D_DIR}/bluetooth
install -m 0755 ${WORKDIR}/bt-pan/init ${D}${INIT_D_DIR}/bt-pan
+ install -m 0755 ${WORKDIR}/rfcomm/init ${D}${INIT_D_DIR}/rfcomm
install -d ${DBTEXEC}
install -m 0755 ${WORKDIR}/bt-pan/bt-pan ${DBTEXEC}
install -m 0755 ${WORKDIR}/rfcomm/rfcomm.py ${DBTEXEC}/rfcomm
@@ -96,6 +97,7 @@ do_install_append() {
install -d ${D}${sysconfdir}/default
install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/bluetooth
install -m 0644 ${WORKDIR}/bt-pan/default ${D}${sysconfdir}/default/bt-pan
+ install -m 0644 ${WORKDIR}/rfcomm/default ${D}${sysconfdir}/default/rfcomm
install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/bluetooth/
}