diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2015-04-28 12:17:55 +0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-11 10:25:53 +0200 |
commit | 3ad735b7e26d5f2acc7452de563db93f8d10340c (patch) | |
tree | 98409e2b628dfa1f37c8bd4f19d368b713f77c8f /meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb | |
parent | e7e67108df29927e3ebc5e9566dbbcd3a6e553b0 (diff) | |
download | meta-openembedded-3ad735b7e26d5f2acc7452de563db93f8d10340c.tar.gz |
bluez collection: add (moved from oe-core)
BlueZ 4.x Bluetooth stack has been removed from oe-core.
However, it is still supported, so add it to
recipes-connectivity in meta-oe.
meta-systemd layer bluez4 bbappend has been integrated
into bluez4 recipe.
In order to use it in oe-core/poky/YP, 'bluez5' backfill
distro feature needs to be disabled via:
DISTRO_FEATURES_BACKFILL_CONSIDERED = "bluez5" .
'bluetooth' distro feature needs to be present also.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb')
-rw-r--r-- | meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb b/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb new file mode 100644 index 0000000000..96ce0f64fb --- /dev/null +++ b/meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb | |||
@@ -0,0 +1,50 @@ | |||
1 | require bluez4.inc | ||
2 | |||
3 | PR = "r11" | ||
4 | |||
5 | SRC_URI += "file://bluetooth.conf \ | ||
6 | file://sbc_mmx.patch \ | ||
7 | file://fix-udev-paths.patch \ | ||
8 | file://obsolete_automake_macros.patch \ | ||
9 | file://network-fix-network-Connect-method-parameters.patch \ | ||
10 | file://install-test-script.patch \ | ||
11 | file://use-legacy-pygobject-instead-ofgobject-introspection.patch \ | ||
12 | file://fix_encrypt_collision.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[md5sum] = "fb42cb7038c380eb0e2fa208987c96ad" | ||
16 | SRC_URI[sha256sum] = "59738410ade9f0e61a13c0f77d9aaffaafe49ba9418107e4ad75fe52846f7487" | ||
17 | |||
18 | RCONFLICTS_${PN} = "bluez5" | ||
19 | |||
20 | do_install_append() { | ||
21 | install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/ | ||
22 | install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/ | ||
23 | install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/ | ||
24 | # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT | ||
25 | install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/ | ||
26 | } | ||
27 | |||
28 | RDEPENDS_${PN}-dev = "bluez-hcidump" | ||
29 | RDEPENDS_${PN}-testtools += "python python-dbus python-pygobject" | ||
30 | |||
31 | ALLOW_EMPTY_libasound-module-bluez = "1" | ||
32 | PACKAGES =+ "libasound-module-bluez ${PN}-testtools" | ||
33 | |||
34 | FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa" | ||
35 | FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${nonarch_base_libdir}/udev/ ${systemd_unitdir}/ ${datadir}/dbus-1" | ||
36 | FILES_${PN}-dev += "\ | ||
37 | ${libdir}/bluetooth/plugins/*.la \ | ||
38 | ${libdir}/alsa-lib/*.la \ | ||
39 | " | ||
40 | |||
41 | FILES_${PN}-testtools = "${libdir}/bluez4/test/*" | ||
42 | |||
43 | FILES_${PN}-dbg += "\ | ||
44 | ${libdir}/bluetooth/plugins/.debug \ | ||
45 | ${libdir}/*/.debug \ | ||
46 | */udev/.debug \ | ||
47 | " | ||
48 | |||
49 | SYSTEMD_SERVICE_${PN} = "bluetooth.service" | ||
50 | SYSTEMD_AUTO_ENABLE = "disable" \ No newline at end of file | ||