summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/bluez/bluez4.inc37
-rw-r--r--meta/recipes-connectivity/bluez/bluez4_4.96.bb49
-rw-r--r--meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.96.bb28
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 @@
1SUMMARY = "Linux Bluetooth Stack Userland V4"
2DESCRIPTION = "Linux Bluetooth stack V4 userland components. These include a system configurations, daemons, tools and system libraries."
3HOMEPAGE = "http://www.bluez.org"
4SECTION = "libs"
5LICENSE = "GPLv2+ & LGPLv2.1+"
6LIC_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"
10DEPENDS = "udev alsa-lib libusb dbus-glib"
11RDEPENDS_${PN}-dev = "bluez-hcidump"
12
13ASNEEDED = ""
14
15SRC_URI = "\
16 ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \
17"
18S = "${WORKDIR}/bluez-${PV}"
19
20inherit autotools
21
22EXTRA_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 @@
1SUMMARY = "Linux Bluetooth Stack Userland V4" 1require bluez4.inc
2DESCRIPTION = "Linux Bluetooth stack V4 userland components. These include a system configurations, daemons, tools and system libraries."
3HOMEPAGE = "http://www.bluez.org"
4SECTION = "libs"
5LICENSE = "GPLv2+ & LGPLv2.1+"
6LIC_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"
10DEPENDS = "udev gst-plugins-base alsa-lib libusb dbus-glib"
11RDEPENDS_${PN}-dev = "bluez-hcidump"
12
13ASNEEDED = ""
14 2
15PR = "r1" 3PR = "r2"
16 4
17SRC_URI = "\ 5SRC_URI += "file://bluetooth.conf"
18 ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \
19 file://bluetooth.conf \
20"
21 6
22SRC_URI[md5sum] = "296111afac49e3f9035085ac14daf518" 7SRC_URI[md5sum] = "296111afac49e3f9035085ac14daf518"
23SRC_URI[sha256sum] = "c06fd50fd77909cad55e3181a42c6bce7cfcf7abb8cd87871c13d0d70f87fa99" 8SRC_URI[sha256sum] = "c06fd50fd77909cad55e3181a42c6bce7cfcf7abb8cd87871c13d0d70f87fa99"
24 9
25S = "${WORKDIR}/bluez-${PV}"
26
27inherit autotools
28
29EXTRA_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
45do_install_append() { 10do_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
53PACKAGES =+ "gst-plugin-bluez libasound-module-bluez" 18RDEPENDS_${PN}-dev = "bluez-hcidump"
19
20PACKAGES =+ "libasound-module-bluez"
54 21
55FILES_gst-plugin-bluez = "${libdir}/gstreamer-0.10/lib*.so"
56FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa" 22FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa"
57FILES_${PN} += "${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${base_libdir}/systemd/" 23FILES_${PN} += "${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${base_libdir}/systemd/"
58FILES_${PN}-dev += "\ 24FILES_${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
64FILES_${PN}-dbg += "\ 29FILES_${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 @@
1require bluez4.inc
2require recipes-multimedia/gstreamer/gst-plugins-package.inc
3
4DEPENDS = "bluez4 gst-plugins-base"
5
6EXTRA_OECONF = "\
7 --enable-gstreamer \
8"
9
10# clean unwanted files
11do_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
19FILES_${PN} = "${libdir}/gstreamer-0.10/lib*.so"
20FILES_${PN}-dev += "\
21 ${libdir}/gstreamer-0.10/*.la \
22"
23
24FILES_${PN}-dbg += "\
25 ${libdir}/*/.debug \
26"
27
28