summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
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-support
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-support')
-rw-r--r--meta-oe/recipes-support/libcanberra/libcanberra_0.29.bb55
1 files changed, 55 insertions, 0 deletions
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 @@
1SUMMARY = "Implementation of XDG Sound Theme and Name Specifications"
2DESCRIPTION = "Libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops."
3LICENSE = "LGPLv2.1+"
4LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
5 file://src/canberra.h;beginline=7;endline=24;md5=c616c687cf8da540a14f917e0d23ab03"
6
7DEPENDS = "alsa-lib gstreamer gtk+ gtk+3 libtool libvorbis pulseaudio"
8PR = "r0"
9
10inherit autotools
11
12SRC_URI = "http://0pointer.de/lennart/projects/${BPN}/${BPN}-${PV}.tar.xz"
13SRC_URI[md5sum] = "2594093a5d61047bd9cc87e955f86df8"
14SRC_URI[sha256sum] = "127a5ef07805856d63758e5180ebfb241d1f80094fd301c287591a15b8cfcd72"
15
16EXTRA_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
28python 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
34PACKAGES =+ "${PN}-gnome ${PN}-gtk2 ${PN}-gtk3 ${PN}-systemd"
35
36FILES_${PN} = "${bindir}/ ${libdir}/${BPN}.so.*"
37
38FILES_${PN}-dev += "${datadir}/vala/vapi"
39
40FILES_${PN}-dbg += "${libdir}/${P}/.debug ${libdir}/gtk-*/modules/.debug"
41
42FILES_${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
47INSANE_SKIP_${PN}-gtk3 = "dev-so"
48FILES_${PN}-gtk3 = "${libdir}/${BPN}-gtk3.so.* \
49 ${libdir}/gtk-3.0/modules/*.la \
50 ${libdir}/gtk-3.0/modules/*.so"
51
52FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/ \
53 ${datadir}/gdm/ ${datadir}/gnome/"
54
55FILES_${PN}-systemd = "${base_libdir}/systemd/system/*.service"