diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5.inc | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 36a606195e..2fae7fbccc 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc | |||
@@ -6,12 +6,13 @@ LICENSE = "GPLv2+ & LGPLv2.1+" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ |
7 | file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \ | 7 | file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \ |
8 | file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e" | 8 | file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e" |
9 | DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck libical readline" | 9 | DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline" |
10 | 10 | ||
11 | RCONFLICTS_${PN} = "bluez4" | 11 | RCONFLICTS_${PN} = "bluez4" |
12 | 12 | ||
13 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" | 13 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} obex-profiles" |
14 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | 14 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" |
15 | PACKAGECONFIG[obex-profiles] = "--enable-obex,--disable-obex,libical" | ||
15 | 16 | ||
16 | SRC_URI = "\ | 17 | SRC_URI = "\ |
17 | ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \ | 18 | ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \ |
@@ -53,7 +54,7 @@ do_install_append() { | |||
53 | } | 54 | } |
54 | 55 | ||
55 | ALLOW_EMPTY_libasound-module-bluez = "1" | 56 | ALLOW_EMPTY_libasound-module-bluez = "1" |
56 | PACKAGES =+ "libasound-module-bluez ${PN}-test" | 57 | PACKAGES =+ "libasound-module-bluez ${PN}-test ${PN}-obex" |
57 | 58 | ||
58 | FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa" | 59 | FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa" |
59 | FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${nonarch_base_libdir}/udev/ ${systemd_unitdir}/ ${datadir}/dbus-1" | 60 | FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${nonarch_base_libdir}/udev/ ${systemd_unitdir}/ ${datadir}/dbus-1" |
@@ -62,6 +63,12 @@ FILES_${PN}-dev += "\ | |||
62 | ${libdir}/alsa-lib/*.la \ | 63 | ${libdir}/alsa-lib/*.la \ |
63 | " | 64 | " |
64 | 65 | ||
66 | FILES_${PN}-obex = "${libdir}/bluez5/bluetooth/obexd \ | ||
67 | ${libdir}/systemd/user/obex.service \ | ||
68 | ${datadir}/dbus-1/services/org.bluez.obex.service \ | ||
69 | " | ||
70 | SYSTEMD_SERVICE_${PN}-obex = "obex.service" | ||
71 | |||
65 | FILES_${PN}-test = "${libdir}/bluez/test/*" | 72 | FILES_${PN}-test = "${libdir}/bluez/test/*" |
66 | 73 | ||
67 | FILES_${PN}-dbg += "\ | 74 | FILES_${PN}-dbg += "\ |