Added bluetooth.default to bluez files, so that distros can start up different daemon...
authorRod Whitby <rod@whitby.id.au>
Sat, 26 Feb 2005 07:07:58 +0000 (07:07 +0000)
committerRod Whitby <rod@whitby.id.au>
Sat, 26 Feb 2005 07:07:58 +0000 (07:07 +0000)
BKrev: 4220204e4gEy0rHXrj_ZGMn9tYp7HQ

packages/bluez-utils/bluez-utils-common_2.14.inc
packages/bluez-utils/bluez-utils-dbus_2.14.bb
packages/bluez-utils/bluez-utils-nodbus_2.14.bb

index 6ab6d0c..3d8adf0 100644 (file)
@@ -5,13 +5,15 @@ DEPENDS = "bluez-libs-2.14 pcmcia-cs"
 RPROVIDES_${PN} = "bluez-pan bluez-sdp bluez-utils"
 LICENSE = "GPL"
 PACKAGES =+ "${PN}-ciptool ${PN}-bluepin"
-PR = "r1"
+PR = "r2"
 
 FILES_${PN}-ciptool = "/bin/ciptool"
 FILES_${PN}-bluepin = "/bin/bluepin"
 
 SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
-       file://hcid.conf"
+       file://hcid.conf \
+       file://bluetooth.default"
+
 S = "${WORKDIR}/bluez-utils-${PV}"
 
 EXTRA_OECONF = "--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR} --enable-pcmcia --enable-initscripts"
@@ -24,6 +26,7 @@ do_install_append() {
        chmod u+s ${D}${base_sbindir}/hciattach ${D}${base_sbindir}/hciconfig
        chmod 755 ${D}${sysconfdir}/pcmcia/bluetooth
        install -m 0644 ${WORKDIR}/hcid.conf ${D}${sysconfdir}/bluetooth/
+       install -m 0644 ${WORKDIR}/bluetooth.default ${D}${sysconfdir}/default/bluetooth
 }
 
 inherit autotools update-rc.d
index e69de29..6cee31a 100644 (file)
@@ -0,0 +1,6 @@
+include bluez-utils-common_${PV}.inc
+DEPENDS += "dbus"
+SRC_URI += "file://dbus.patch;patch=1 file://smash.patch;patch=1"
+PR = "r1"
+EXTRA_OECONF += "--with-dbus"
+
index e69de29..9fa32d1 100644 (file)
@@ -0,0 +1,5 @@
+include bluez-utils-common_${PV}.inc
+PR = "r1"
+
+EXTRA_OECONF += "--without-dbus"
+