summaryrefslogtreecommitdiff
path: root/meta/packages/bluez/bluez4.inc
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2008-11-12 13:04:51 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2008-12-01 20:44:09 +0000
commitf94ff9905535e4cd0157853bc57e1b6248029ad4 (patch)
treeb7de74ad48700eb4cffd8bd486a148df05349dca /meta/packages/bluez/bluez4.inc
parentfdc825062564e5145fdd1ebe6c7bd416429dfd82 (diff)
downloadopenembedded-core-f94ff9905535e4cd0157853bc57e1b6248029ad4.tar.gz
openembedded-core-f94ff9905535e4cd0157853bc57e1b6248029ad4.tar.bz2
openembedded-core-f94ff9905535e4cd0157853bc57e1b6248029ad4.zip
bluez4: Bump to 4.17
Diffstat (limited to 'meta/packages/bluez/bluez4.inc')
-rw-r--r--meta/packages/bluez/bluez4.inc41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/packages/bluez/bluez4.inc b/meta/packages/bluez/bluez4.inc
new file mode 100644
index 0000000000..4afb0fd8fa
--- /dev/null
+++ b/meta/packages/bluez/bluez4.inc
@@ -0,0 +1,41 @@
+DESCRIPTION = "BlueZ - Bluetooth protocol stack for Linux"
+SECTION = "console"
+PRIORITY = "optional"
+DEPENDS = "gstreamer gst-plugins-base libusb dbus"
+PROVIDES = "bluez-utils-dbus"
+RPROVIDES_${PN} = "bluez-pan bluez-sdp bluez-utils-dbus"
+RREPLACES_${PN} = "bluez-utils-dbus"
+RCONFLICTS_${PN} = "bluez-utils-nodbus"
+LICENSE = "GPL"
+
+SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/bluez-${PV}.tar.gz"
+
+S = "${WORKDIR}/bluez-${PV}"
+
+inherit autotools update-rc.d pkgconfig
+
+INITSCRIPT_NAME = "bluetooth"
+INITSCRIPT_PARAMS = "defaults 23 19"
+
+do_install_append() {
+ install -d ${D}${base_sbindir} ${D}${base_bindir}/
+ echo base_sbindir is: ${D}${base_sbindir}
+ mv ${D}${sbindir}/* ${D}${base_sbindir}/
+ mv ${D}${bindir}/* ${D}${base_bindir}/
+ rmdir ${D}${bindir} ${D}${sbindir}
+ chmod u+s ${D}${base_sbindir}/hciattach ${D}${base_sbindir}/hciconfig
+}
+
+PACKAGES =+ "${PN}-alsa ${PN}-alsa-dev gst-plugin-bluez gst-plugin-bluez-dev ${PN}-lib ${PN}-lib-dev ${PN}-lib-dbg"
+
+FILES_${PN}-alsa = " ${libdir}/alsa-lib/*.so "
+FILES_${PN}-alsa-dev += " ${libdir}/alsa-lib/*.la "
+
+FILES_gst-plugin-bluez = "${libdir}/gstreamer-*/*.so"
+FILES_gst-plugin-bluez-dev = "${libdir}/gstreamer-*/*.la"
+FILES_${PN}-lib = "${libdir}/libbluetooth.so.*"
+FILES_${PN}-lib-dev = "${libdir}/libbluetooth.so \
+ ${libdir}/*.la \
+ ${includedir}/bluetooth \
+ ${libdir}/pkgconfig/bluez.pc \
+ "