summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb')
-rw-r--r--meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb56
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 @@
1DESCRIPTION = "Libcanberra is an implementation of the XDG Sound Theme and Name \
2Specifications, for generating event sounds on free desktops."
3LICENSE = "LGPLv2.1+"
4LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1"
5DEPENDS = "alsa-lib gstreamer gtk+ libtool libvorbis gconf"
6SECTION = "libs/multimedia"
7AUTHOR = "Lennart Poettering"
8HOMEPAGE = "http://0pointer.de/lennart/projects/libcanberra"
9PR = "r1"
10
11inherit autotools vala
12
13SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz \
14 file://libcanberra-increase-buffer-size.patch"
15
16SRC_URI[md5sum] = "ee2c66ada7c851a4e7b6eb1682285a24"
17SRC_URI[sha256sum] = "4b5d8d2c2835133620adbc53745dd107b6e58b9a2963059e8f457143fee00982"
18
19EXTRA_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
31python 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
36PACKAGES =+ "${PN}-gtk"
37
38PACKAGES_DYNAMIC = "libcanberra-*"
39
40FILES_${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
49FILES_${PN}-dev += "\
50 ${libdir}/${P}/*.la \
51"
52
53FILES_${PN}-dbg += "\
54 ${libdir}/gtk-2.0/modules/.debug \
55 ${libdir}/${P}/.debug \
56"