diff options
Diffstat (limited to 'meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb')
-rw-r--r-- | meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb b/meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb new file mode 100644 index 000000000..09e11f997 --- /dev/null +++ b/meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb | |||
@@ -0,0 +1,56 @@ | |||
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 = "r1" | ||
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 = bb.data.expand('${libdir}/${P}/', d) | ||
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 | ${datadir}/gnome \ | ||
46 | ${datadir}/gdm \ | ||
47 | " | ||
48 | |||
49 | FILES_${PN}-dev += "\ | ||
50 | ${libdir}/${P}/*.la \ | ||
51 | " | ||
52 | |||
53 | FILES_${PN}-dbg += "\ | ||
54 | ${libdir}/gtk-2.0/modules/.debug \ | ||
55 | ${libdir}/${P}/.debug \ | ||
56 | " | ||