diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/bluez/bluez4.inc | 37 | ||||
-rw-r--r-- | meta/recipes-connectivity/bluez/bluez4_4.96.bb | 49 | ||||
-rw-r--r-- | meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.96.bb | 28 |
3 files changed, 72 insertions, 42 deletions
diff --git a/meta/recipes-connectivity/bluez/bluez4.inc b/meta/recipes-connectivity/bluez/bluez4.inc new file mode 100644 index 0000000000..5dacd9266f --- /dev/null +++ b/meta/recipes-connectivity/bluez/bluez4.inc | |||
@@ -0,0 +1,37 @@ | |||
1 | SUMMARY = "Linux Bluetooth Stack Userland V4" | ||
2 | DESCRIPTION = "Linux Bluetooth stack V4 userland components. These include a system configurations, daemons, tools and system libraries." | ||
3 | HOMEPAGE = "http://www.bluez.org" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ | ||
7 | file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \ | ||
8 | file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e \ | ||
9 | file://sbc/sbc.c;beginline=1;endline=25;md5=1a40781ed30d50d8639323a184aeb191" | ||
10 | DEPENDS = "udev alsa-lib libusb dbus-glib" | ||
11 | RDEPENDS_${PN}-dev = "bluez-hcidump" | ||
12 | |||
13 | ASNEEDED = "" | ||
14 | |||
15 | SRC_URI = "\ | ||
16 | ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \ | ||
17 | " | ||
18 | S = "${WORKDIR}/bluez-${PV}" | ||
19 | |||
20 | inherit autotools | ||
21 | |||
22 | EXTRA_OECONF = "\ | ||
23 | --disable-gstreamer \ | ||
24 | --enable-alsa \ | ||
25 | --enable-usb \ | ||
26 | --enable-tools \ | ||
27 | --enable-bccmd \ | ||
28 | --enable-hid2hci \ | ||
29 | --enable-dfutool \ | ||
30 | --enable-hidd \ | ||
31 | --enable-pand \ | ||
32 | --enable-dund \ | ||
33 | --disable-cups \ | ||
34 | --enable-test \ | ||
35 | --enable-datafiles \ | ||
36 | " | ||
37 | |||
diff --git a/meta/recipes-connectivity/bluez/bluez4_4.96.bb b/meta/recipes-connectivity/bluez/bluez4_4.96.bb index 7ca6ac1040..5c170c12e6 100644 --- a/meta/recipes-connectivity/bluez/bluez4_4.96.bb +++ b/meta/recipes-connectivity/bluez/bluez4_4.96.bb | |||
@@ -1,47 +1,12 @@ | |||
1 | SUMMARY = "Linux Bluetooth Stack Userland V4" | 1 | require bluez4.inc |
2 | DESCRIPTION = "Linux Bluetooth stack V4 userland components. These include a system configurations, daemons, tools and system libraries." | ||
3 | HOMEPAGE = "http://www.bluez.org" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ | ||
7 | file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \ | ||
8 | file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e \ | ||
9 | file://sbc/sbc.c;beginline=1;endline=25;md5=1a40781ed30d50d8639323a184aeb191" | ||
10 | DEPENDS = "udev gst-plugins-base alsa-lib libusb dbus-glib" | ||
11 | RDEPENDS_${PN}-dev = "bluez-hcidump" | ||
12 | |||
13 | ASNEEDED = "" | ||
14 | 2 | ||
15 | PR = "r1" | 3 | PR = "r2" |
16 | 4 | ||
17 | SRC_URI = "\ | 5 | SRC_URI += "file://bluetooth.conf" |
18 | ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \ | ||
19 | file://bluetooth.conf \ | ||
20 | " | ||
21 | 6 | ||
22 | SRC_URI[md5sum] = "296111afac49e3f9035085ac14daf518" | 7 | SRC_URI[md5sum] = "296111afac49e3f9035085ac14daf518" |
23 | SRC_URI[sha256sum] = "c06fd50fd77909cad55e3181a42c6bce7cfcf7abb8cd87871c13d0d70f87fa99" | 8 | SRC_URI[sha256sum] = "c06fd50fd77909cad55e3181a42c6bce7cfcf7abb8cd87871c13d0d70f87fa99" |
24 | 9 | ||
25 | S = "${WORKDIR}/bluez-${PV}" | ||
26 | |||
27 | inherit autotools | ||
28 | |||
29 | EXTRA_OECONF = "\ | ||
30 | --enable-gstreamer \ | ||
31 | --enable-alsa \ | ||
32 | --enable-usb \ | ||
33 | --enable-tools \ | ||
34 | --enable-bccmd \ | ||
35 | --enable-hid2hci \ | ||
36 | --enable-dfutool \ | ||
37 | --enable-hidd \ | ||
38 | --enable-pand \ | ||
39 | --enable-dund \ | ||
40 | --disable-cups \ | ||
41 | --enable-test \ | ||
42 | --enable-datafiles \ | ||
43 | " | ||
44 | |||
45 | do_install_append() { | 10 | do_install_append() { |
46 | install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/ | 11 | install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/ |
47 | install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/ | 12 | install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/ |
@@ -50,19 +15,19 @@ do_install_append() { | |||
50 | install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/ | 15 | install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/ |
51 | } | 16 | } |
52 | 17 | ||
53 | PACKAGES =+ "gst-plugin-bluez libasound-module-bluez" | 18 | RDEPENDS_${PN}-dev = "bluez-hcidump" |
19 | |||
20 | PACKAGES =+ "libasound-module-bluez" | ||
54 | 21 | ||
55 | FILES_gst-plugin-bluez = "${libdir}/gstreamer-0.10/lib*.so" | ||
56 | FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa" | 22 | FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa" |
57 | FILES_${PN} += "${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${base_libdir}/systemd/" | 23 | FILES_${PN} += "${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${base_libdir}/systemd/" |
58 | FILES_${PN}-dev += "\ | 24 | FILES_${PN}-dev += "\ |
59 | ${libdir}/bluetooth/plugins/*.la \ | 25 | ${libdir}/bluetooth/plugins/*.la \ |
60 | ${libdir}/alsa-lib/*.la \ | 26 | ${libdir}/alsa-lib/*.la \ |
61 | ${libdir}/gstreamer-0.10/*.la \ | ||
62 | " | 27 | " |
63 | 28 | ||
64 | FILES_${PN}-dbg += "\ | 29 | FILES_${PN}-dbg += "\ |
65 | ${libdir}/bluetooth/plugins/.debug \ | 30 | ${libdir}/bluetooth/plugins/.debug \ |
66 | ${libdir}/*/.debug \ | 31 | ${libdir}/*/.debug \ |
67 | ${base_libdir}/udev/.debug \ | 32 | ${base_libdir}/udev/.debug \ |
68 | " | 33 | |
diff --git a/meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.96.bb b/meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.96.bb new file mode 100644 index 0000000000..a137b12e21 --- /dev/null +++ b/meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.96.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | require bluez4.inc | ||
2 | require recipes-multimedia/gstreamer/gst-plugins-package.inc | ||
3 | |||
4 | DEPENDS = "bluez4 gst-plugins-base" | ||
5 | |||
6 | EXTRA_OECONF = "\ | ||
7 | --enable-gstreamer \ | ||
8 | " | ||
9 | |||
10 | # clean unwanted files | ||
11 | do_install_append() { | ||
12 | rm -rf ${D}${bindir} | ||
13 | rm -rf ${D}${sbindir} | ||
14 | rm -f ${D}${libdir}/lib* | ||
15 | rm -rf ${D}${sysconfdir} | ||
16 | rm -rf ${D}${base_libdir} | ||
17 | } | ||
18 | |||
19 | FILES_${PN} = "${libdir}/gstreamer-0.10/lib*.so" | ||
20 | FILES_${PN}-dev += "\ | ||
21 | ${libdir}/gstreamer-0.10/*.la \ | ||
22 | " | ||
23 | |||
24 | FILES_${PN}-dbg += "\ | ||
25 | ${libdir}/*/.debug \ | ||
26 | " | ||
27 | |||
28 | |||