diff options
Diffstat (limited to 'meta-oe')
3 files changed, 55 insertions, 76 deletions
diff --git a/meta-oe/recipes-devtools/libcanberra/libcanberra/libcanberra-increase-buffer-size.patch b/meta-oe/recipes-devtools/libcanberra/libcanberra/libcanberra-increase-buffer-size.patch deleted file mode 100644 index 1005d7868..000000000 --- a/meta-oe/recipes-devtools/libcanberra/libcanberra/libcanberra-increase-buffer-size.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Index: libcanberra-0.14/src/alsa.c | ||
2 | =================================================================== | ||
3 | --- libcanberra-0.14.orig/src/alsa.c | ||
4 | +++ libcanberra-0.14/src/alsa.c | ||
5 | @@ -272,7 +272,7 @@ | ||
6 | return translate_error(ret); | ||
7 | } | ||
8 | |||
9 | -#define BUFSIZE (16*1024) | ||
10 | +#define BUFSIZE (128*1024) | ||
11 | |||
12 | static void* thread_func(void *userdata) { | ||
13 | struct outstanding *out = userdata; | ||
diff --git a/meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb b/meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb deleted file mode 100644 index 5cf9a559c..000000000 --- a/meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | DESCRIPTION = "Libcanberra is an implementation of the XDG Sound Theme and Name \ | ||
2 | Specifications, for generating event sounds on free desktops." | ||
3 | LICENSE = "LGPLv2.1+" | ||
4 | LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1" | ||
5 | DEPENDS = "alsa-lib gstreamer gtk+ libtool libvorbis gconf" | ||
6 | SECTION = "libs/multimedia" | ||
7 | AUTHOR = "Lennart Poettering" | ||
8 | HOMEPAGE = "http://0pointer.de/lennart/projects/libcanberra" | ||
9 | PR = "r2" | ||
10 | |||
11 | inherit autotools vala | ||
12 | |||
13 | SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz \ | ||
14 | file://libcanberra-increase-buffer-size.patch" | ||
15 | |||
16 | SRC_URI[md5sum] = "ee2c66ada7c851a4e7b6eb1682285a24" | ||
17 | SRC_URI[sha256sum] = "4b5d8d2c2835133620adbc53745dd107b6e58b9a2963059e8f457143fee00982" | ||
18 | |||
19 | EXTRA_OECONF = "\ | ||
20 | --enable-alsa \ | ||
21 | --enable-gstreamer \ | ||
22 | --enable-gtk \ | ||
23 | --enable-multi \ | ||
24 | --enable-null \ | ||
25 | --disable-oss \ | ||
26 | --disable-pulse \ | ||
27 | --disable-tdb \ | ||
28 | " | ||
29 | # enable pulse again when pulseaudio >= 0.9.11 is the default in OE | ||
30 | |||
31 | python populate_packages_prepend() { | ||
32 | plugindir = d.expand('${libdir}/${P}/') | ||
33 | do_split_packages(d, plugindir, '^libcanberra-(.*)\.so$', 'libcanberra-%s', '%s support library', extra_depends='' ) | ||
34 | } | ||
35 | |||
36 | PACKAGES =+ "${PN}-gtk" | ||
37 | |||
38 | PACKAGES_DYNAMIC += "^libcanberra-.*" | ||
39 | |||
40 | FILES_${PN}-gtk = "\ | ||
41 | ${sysconfdir}/gconf \ | ||
42 | ${bindir}/* \ | ||
43 | ${libdir}/libcanberra-gtk.so.* \ | ||
44 | ${libdir}/gtk-2.0/modules/* \ | ||
45 | ${libdir}/gtk-3.0/modules/* \ | ||
46 | ${datadir}/gnome \ | ||
47 | ${datadir}/gdm \ | ||
48 | " | ||
49 | |||
50 | # /usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so > /usr/lib/gtk-3.0/modules/libcanberra-gtk3-module.so | ||
51 | INSANE_SKIP_${PN}-gtk = "dev-so" | ||
52 | |||
53 | FILES_${PN}-dev += "\ | ||
54 | ${libdir}/gtk-2.0/modules/*.la \ | ||
55 | ${libdir}/gtk-3.0/modules/*.la \ | ||
56 | ${libdir}/${P}/*.la \ | ||
57 | " | ||
58 | |||
59 | FILES_${PN}-dbg += "\ | ||
60 | ${libdir}/gtk-2.0/modules/.debug \ | ||
61 | ${libdir}/gtk-3.0/modules/.debug \ | ||
62 | ${libdir}/${P}/.debug \ | ||
63 | " | ||
diff --git a/meta-oe/recipes-support/libcanberra/libcanberra_0.29.bb b/meta-oe/recipes-support/libcanberra/libcanberra_0.29.bb new file mode 100644 index 000000000..a6d68d4eb --- /dev/null +++ b/meta-oe/recipes-support/libcanberra/libcanberra_0.29.bb | |||
@@ -0,0 +1,55 @@ | |||
1 | SUMMARY = "Implementation of XDG Sound Theme and Name Specifications" | ||
2 | DESCRIPTION = "Libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops." | ||
3 | LICENSE = "LGPLv2.1+" | ||
4 | LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
5 | file://src/canberra.h;beginline=7;endline=24;md5=c616c687cf8da540a14f917e0d23ab03" | ||
6 | |||
7 | DEPENDS = "alsa-lib gstreamer gtk+ gtk+3 libtool libvorbis pulseaudio" | ||
8 | PR = "r0" | ||
9 | |||
10 | inherit autotools | ||
11 | |||
12 | SRC_URI = "http://0pointer.de/lennart/projects/${BPN}/${BPN}-${PV}.tar.xz" | ||
13 | SRC_URI[md5sum] = "2594093a5d61047bd9cc87e955f86df8" | ||
14 | SRC_URI[sha256sum] = "127a5ef07805856d63758e5180ebfb241d1f80094fd301c287591a15b8cfcd72" | ||
15 | |||
16 | EXTRA_OECONF = "\ | ||
17 | --enable-null \ | ||
18 | --enable-alsa \ | ||
19 | --enable-gstreamer \ | ||
20 | --enable-pulse \ | ||
21 | --disable-oss \ | ||
22 | --enable-gtk \ | ||
23 | --enable-gtk3 \ | ||
24 | --disable-tdb \ | ||
25 | --disable-lynx \ | ||
26 | " | ||
27 | |||
28 | python populate_packages_prepend() { | ||
29 | plugindir = d.expand('${libdir}/${P}/') | ||
30 | do_split_packages(d, plugindir, '^libcanberra-(.*)\.so$', 'libcanberra-%s', '%s support library', extra_depends='' ) | ||
31 | do_split_packages(d, plugindir, '^libcanberra-(.*)\.la$', 'libcanberra-%s', '%s support library', extra_depends='' ) | ||
32 | } | ||
33 | |||
34 | PACKAGES =+ "${PN}-gnome ${PN}-gtk2 ${PN}-gtk3 ${PN}-systemd" | ||
35 | |||
36 | FILES_${PN} = "${bindir}/ ${libdir}/${BPN}.so.*" | ||
37 | |||
38 | FILES_${PN}-dev += "${datadir}/vala/vapi" | ||
39 | |||
40 | FILES_${PN}-dbg += "${libdir}/${P}/.debug ${libdir}/gtk-*/modules/.debug" | ||
41 | |||
42 | FILES_${PN}-gtk2 = "${libdir}/${BPN}-gtk.so.* \ | ||
43 | ${libdir}/gtk-2.0/modules/*.la \ | ||
44 | ${libdir}/gtk-2.0/modules/*.so" | ||
45 | |||
46 | # -gtk3 ships a symlink to a .so | ||
47 | INSANE_SKIP_${PN}-gtk3 = "dev-so" | ||
48 | FILES_${PN}-gtk3 = "${libdir}/${BPN}-gtk3.so.* \ | ||
49 | ${libdir}/gtk-3.0/modules/*.la \ | ||
50 | ${libdir}/gtk-3.0/modules/*.so" | ||
51 | |||
52 | FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/ \ | ||
53 | ${datadir}/gdm/ ${datadir}/gnome/" | ||
54 | |||
55 | FILES_${PN}-systemd = "${base_libdir}/systemd/system/*.service" | ||