summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-01-20 22:44:39 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-01-22 13:17:28 +0100
commit1274a964a4396023b938fff5f9b4d2acff670d2e (patch)
tree605a461f8875490f8ea484341d2238f9acf038e5 /meta-oe/recipes-devtools
parentdcbf03f84c73c1c3e130d7aa0fe05489db2468d7 (diff)
downloadmeta-openembedded-1274a964a4396023b938fff5f9b4d2acff670d2e.tar.gz
libcanberra: upgrade and refresh packaging
Update to 0.29 (latest, 0.30, needs GStreamer 1.0) and refresh the package based on the different recipes in oe-core and meta-oe. Explicitly depend on GTK+ 2 and GTK+ 3, but split those dependencies into different packages. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r--meta-oe/recipes-devtools/libcanberra/libcanberra/libcanberra-increase-buffer-size.patch13
-rw-r--r--meta-oe/recipes-devtools/libcanberra/libcanberra_0.26.bb63
2 files changed, 0 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 @@
1Index: 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 @@
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 = "r2"
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 = d.expand('${libdir}/${P}/')
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 ${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
51INSANE_SKIP_${PN}-gtk = "dev-so"
52
53FILES_${PN}-dev += "\
54 ${libdir}/gtk-2.0/modules/*.la \
55 ${libdir}/gtk-3.0/modules/*.la \
56 ${libdir}/${P}/*.la \
57"
58
59FILES_${PN}-dbg += "\
60 ${libdir}/gtk-2.0/modules/.debug \
61 ${libdir}/gtk-3.0/modules/.debug \
62 ${libdir}/${P}/.debug \
63"