summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-10-19 21:57:44 +0000
committerPhil Blundell <philb@gnu.org>2004-10-19 21:57:44 +0000
commitc0f7acb304a954162b00430fca2bea18e71c923c (patch)
tree9c54a16fbd3f0f257a533c65959975e77f4e048e
parent83459291350a9ea7330e4c64968f298a2ea8fb06 (diff)
fix up dbus support; add dbus to DEPENDS
add local hcid.conf with suitable policy bits BKrev: 41758dd8WaZCRITwbC96ex8jX4uL2Q
-rw-r--r--bluez-utils/bluez-utils-2.10/dbus.patch0
-rw-r--r--bluez-utils/bluez-utils_2.10.oe11
-rw-r--r--bluez-utils/files/hcid.conf0
3 files changed, 7 insertions, 4 deletions
diff --git a/bluez-utils/bluez-utils-2.10/dbus.patch b/bluez-utils/bluez-utils-2.10/dbus.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/bluez-utils/bluez-utils-2.10/dbus.patch
diff --git a/bluez-utils/bluez-utils_2.10.oe b/bluez-utils/bluez-utils_2.10.oe
index ef6bf41d14..d8da9337dc 100644
--- a/bluez-utils/bluez-utils_2.10.oe
+++ b/bluez-utils/bluez-utils_2.10.oe
@@ -1,11 +1,13 @@
DESCRIPTION = "Linux Bluetooth Stack Userland Utilities."
SECTION = "libs"
PRIORITY = "optional"
-DEPENDS = "bluez-libs pcmcia-cs"
+DEPENDS = "bluez-libs pcmcia-cs dbus"
RPROVIDES = "bluez-pan bluez-sdp"
-PR = "r1"
+PR = "r2"
-SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz"
+SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
+ file://dbus.patch;patch=1 \
+ file://hcid.conf"
EXTRA_OECONF = "--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR} --enable-pcmcia --enable-initscripts"
@@ -15,7 +17,8 @@ do_install_append() {
mv ${D}${bindir}/* ${D}/bin/
rmdir ${D}${bindir} ${D}${sbindir}
chmod u+s ${D}/sbin/hciattach ${D}/sbin/hciconfig
- chmod 755 ${D}/etc/pcmcia/bluetooth
+ chmod 755 ${D}/etc/pcmcia/bluetooth
+ install -m 0644 ${WORKDIR}/hcid.conf ${D}/etc/bluetooth/
}
inherit autotools update-rc.d
diff --git a/bluez-utils/files/hcid.conf b/bluez-utils/files/hcid.conf
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/bluez-utils/files/hcid.conf