diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2015-06-08 13:17:46 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-06-23 12:40:09 +0200 |
commit | 780333ce0d786748530078a81b56568ad72119c9 (patch) | |
tree | b4c546fa0af629976c96052a596101c0fb84b2a0 /meta-oe | |
parent | 9c2d43fc4f8ebdf4833ad0ceb93319002f8e7797 (diff) | |
download | meta-openembedded-780333ce0d786748530078a81b56568ad72119c9.tar.gz |
libcanberra: upgrade and add packageconfig for gstreamer and gtk
- GStreamer 0.10 has been removed meta-openembedded/meta-multimedia
and 1.0 left in oe-core, so upgrade libcanberra to the version
that support GStreamer 1.0
- GStreamer and gtk support for libcanberra are optional, add
PACKAGECONFIG for them, and use x11 DISTRO_FEATURES to decide
if gtk is needed, gstreamer is not enabled by default.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb (renamed from meta-oe/recipes-support/libcanberra/libcanberra_0.29.bb) | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/meta-oe/recipes-support/libcanberra/libcanberra_0.29.bb b/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb index 0f00b209f..26638c3b9 100644 --- a/meta-oe/recipes-support/libcanberra/libcanberra_0.29.bb +++ b/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "LGPLv2.1+" | |||
4 | LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | 4 | LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ |
5 | file://src/canberra.h;beginline=7;endline=24;md5=c616c687cf8da540a14f917e0d23ab03" | 5 | file://src/canberra.h;beginline=7;endline=24;md5=c616c687cf8da540a14f917e0d23ab03" |
6 | 6 | ||
7 | DEPENDS = "gstreamer gtk+ gtk+3 libtool libvorbis" | 7 | DEPENDS = "libtool libvorbis" |
8 | 8 | ||
9 | inherit autotools gtk-doc | 9 | inherit autotools gtk-doc |
10 | 10 | ||
@@ -12,24 +12,25 @@ SRC_URI = " \ | |||
12 | http://0pointer.de/lennart/projects/${BPN}/${BPN}-${PV}.tar.xz \ | 12 | http://0pointer.de/lennart/projects/${BPN}/${BPN}-${PV}.tar.xz \ |
13 | file://0001-build-gtk-and-gtk3-version-for-canberra_gtk_play.patch \ | 13 | file://0001-build-gtk-and-gtk3-version-for-canberra_gtk_play.patch \ |
14 | " | 14 | " |
15 | SRC_URI[md5sum] = "2594093a5d61047bd9cc87e955f86df8" | 15 | SRC_URI[md5sum] = "34cb7e4430afaf6f447c4ebdb9b42072" |
16 | SRC_URI[sha256sum] = "127a5ef07805856d63758e5180ebfb241d1f80094fd301c287591a15b8cfcd72" | 16 | SRC_URI[sha256sum] = "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72" |
17 | 17 | ||
18 | EXTRA_OECONF = "\ | 18 | EXTRA_OECONF = "\ |
19 | --enable-null \ | 19 | --enable-null \ |
20 | --enable-gstreamer \ | ||
21 | --disable-oss \ | 20 | --disable-oss \ |
22 | --enable-gtk \ | ||
23 | --enable-gtk3 \ | ||
24 | --disable-tdb \ | 21 | --disable-tdb \ |
25 | --disable-lynx \ | 22 | --disable-lynx \ |
26 | " | 23 | " |
27 | 24 | ||
28 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','alsa','alsa','',d)} \ | 25 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','alsa','alsa','',d)} \ |
29 | ${@base_contains('DISTRO_FEATURES','pulseaudio','pulseaudio','',d)} \ | 26 | ${@base_contains('DISTRO_FEATURES','pulseaudio','pulseaudio','',d)} \ |
27 | ${@base_contains('DISTRO_FEATURES','x11','gtk gtk3','',d)} \ | ||
30 | " | 28 | " |
31 | PACKAGECONFIG[alsa] = "--enable-alsa, --disable-alsa, alsa-lib" | 29 | PACKAGECONFIG[alsa] = "--enable-alsa, --disable-alsa, alsa-lib" |
32 | PACKAGECONFIG[pulseaudio] = "--enable-pulse, --disable-pulse, pulseaudio" | 30 | PACKAGECONFIG[pulseaudio] = "--enable-pulse, --disable-pulse, pulseaudio" |
31 | PACKAGECONFIG[gstreamer] = "--enable-gstreamer, --disable-gstreamer, gstreamer1.0" | ||
32 | PACKAGECONFIG[gtk] = "--enable-gtk, --disable-gtk, gtk+" | ||
33 | PACKAGECONFIG[gtk3] = "--enable-gtk3, --disable-gtk3, gtk+3" | ||
33 | 34 | ||
34 | python populate_packages_prepend() { | 35 | python populate_packages_prepend() { |
35 | plugindir = d.expand('${libdir}/${BPN}-${PV}/') | 36 | plugindir = d.expand('${libdir}/${BPN}-${PV}/') |