2011-09-22 06:42:13 +00:00
|
|
|
require bluez4.inc
|
2009-06-01 13:17:44 +00:00
|
|
|
|
2012-04-19 08:31:22 +00:00
|
|
|
PR = "r2"
|
2010-06-26 08:04:00 +00:00
|
|
|
|
2012-02-27 19:50:07 +00:00
|
|
|
SRC_URI += "file://bluetooth.conf \
|
|
|
|
file://sbc_mmx.patch \
|
|
|
|
"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2012-03-14 07:18:50 +00:00
|
|
|
SRC_URI[md5sum] = "570aa10692ed890aa0a4297b37824912"
|
|
|
|
SRC_URI[sha256sum] = "d884b9aa5d3d9653c076b7646ca14a3e43eb84bccfe8193c49690f802bbd827c"
|
2011-08-17 14:29:54 +00:00
|
|
|
|
2009-06-01 13:17:44 +00:00
|
|
|
do_install_append() {
|
2010-06-26 08:07:32 +00:00
|
|
|
install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
|
|
|
|
install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/
|
|
|
|
install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/
|
|
|
|
# at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT
|
|
|
|
install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/
|
2009-06-01 13:17:44 +00:00
|
|
|
}
|
|
|
|
|
2011-09-22 06:42:13 +00:00
|
|
|
RDEPENDS_${PN}-dev = "bluez-hcidump"
|
|
|
|
|
2012-04-19 08:31:22 +00:00
|
|
|
ALLOW_EMPTY_libasound-module-bluez = "1"
|
2011-09-22 06:42:13 +00:00
|
|
|
PACKAGES =+ "libasound-module-bluez"
|
2009-06-01 13:17:44 +00:00
|
|
|
|
2011-08-17 14:29:54 +00:00
|
|
|
FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa"
|
2012-03-22 11:05:58 +00:00
|
|
|
FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${systemd_unitdir}/"
|
2009-06-01 13:17:44 +00:00
|
|
|
FILES_${PN}-dev += "\
|
|
|
|
${libdir}/bluetooth/plugins/*.la \
|
|
|
|
${libdir}/alsa-lib/*.la \
|
|
|
|
"
|
|
|
|
|
|
|
|
FILES_${PN}-dbg += "\
|
|
|
|
${libdir}/bluetooth/plugins/.debug \
|
|
|
|
${libdir}/*/.debug \
|
2011-08-17 14:29:54 +00:00
|
|
|
${base_libdir}/udev/.debug \
|
2011-10-11 05:51:18 +00:00
|
|
|
"
|