2011-09-22 06:42:13 +00:00
|
|
|
require bluez4.inc
|
2009-06-01 13:17:44 +00:00
|
|
|
|
2013-01-10 10:04:01 +00:00
|
|
|
PR = "r5"
|
2010-06-26 08:04:00 +00:00
|
|
|
|
2012-02-27 19:50:07 +00:00
|
|
|
SRC_URI += "file://bluetooth.conf \
|
2012-12-14 14:20:09 +00:00
|
|
|
file://sbc_mmx.patch \
|
2013-01-10 10:04:01 +00:00
|
|
|
file://fix-udev-paths.patch \
|
|
|
|
file://obsolete_automake_macros.patch \
|
2013-08-28 11:07:45 +00:00
|
|
|
file://network-fix-network-Connect-method-parameters.patch \
|
2013-01-10 10:04:01 +00:00
|
|
|
"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2012-07-04 11:34:00 +00:00
|
|
|
SRC_URI[md5sum] = "fb42cb7038c380eb0e2fa208987c96ad"
|
|
|
|
SRC_URI[sha256sum] = "59738410ade9f0e61a13c0f77d9aaffaafe49ba9418107e4ad75fe52846f7487"
|
2011-08-17 14:29:54 +00:00
|
|
|
|
2013-07-16 15:26:02 +00:00
|
|
|
RCONFLICTS_${PN} = "bluez5"
|
|
|
|
|
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-12-14 14:20:09 +00:00
|
|
|
FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${nonarch_base_libdir}/udev/ ${systemd_unitdir}/ ${datadir}/dbus-1"
|
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 \
|
2013-04-17 13:50:26 +00:00
|
|
|
*/udev/.debug \
|
2011-10-11 05:51:18 +00:00
|
|
|
"
|