diff options
author | Ross Burton <ross.burton@intel.com> | 2013-06-24 11:26:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-25 17:44:57 +0100 |
commit | 26c858a653a5f96120078c8dd1bcf317ec5d32e1 (patch) | |
tree | 4fb358ebcc89dd81f6d0938b413abef7df5e5372 | |
parent | 3a6f6392ec878ad3a25cdf844be74f897b9cb520 (diff) | |
download | poky-26c858a653a5f96120078c8dd1bcf317ec5d32e1.tar.gz |
gst-plugins-base: element selection rationalisation
Use PACKAGECONFIG to control the X11 elements, and add statements for the
elements that we don't always enable.
Remove the freetype dependency as it's apparently (but not really) only needed
by the examples.
(From OE-Core rev: d40606de85a42c48327dead5d6e4c9a1de2cc39c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb index 462c54d816..26c562c05c 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bb | |||
@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ | |||
6 | file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \ | 6 | file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \ |
7 | file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0" | 7 | file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0" |
8 | 8 | ||
9 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxv libsm libice', '', d)}" | 9 | DEPENDS += "alsa-lib liboil libogg libvorbis libtheora util-linux tremor" |
10 | DEPENDS += "alsa-lib freetype liboil libogg libvorbis libtheora util-linux tremor" | ||
11 | 10 | ||
12 | SRC_URI += "file://gst-plugins-base-tremor.patch \ | 11 | SRC_URI += "file://gst-plugins-base-tremor.patch \ |
13 | file://configure.ac-fix-subparse-plugin.patch" | 12 | file://configure.ac-fix-subparse-plugin.patch" |
@@ -19,7 +18,14 @@ PR = "r7" | |||
19 | 18 | ||
20 | inherit gettext | 19 | inherit gettext |
21 | 20 | ||
22 | EXTRA_OECONF += "--disable-freetypetest --disable-pango --disable-gnome_vfs --disable-orc" | 21 | EXTRA_OECONF += "--disable-freetypetest" |
22 | |||
23 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | ||
24 | |||
25 | PACKAGECONFIG[gnomevfs] = "--enable-gnome_vfs,--disable-gnome_vfs,gnome-vfs" | ||
26 | PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc" | ||
27 | PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango" | ||
28 | PACKAGECONFIG[x11] = "--enable-x --enable-xvideo,--disable-x --disable-xvideo,virtual/libx11 libxv libsm libice" | ||
23 | 29 | ||
24 | do_configure_prepend() { | 30 | do_configure_prepend() { |
25 | # This m4 file contains nastiness which conflicts with libtool 2.2.2 | 31 | # This m4 file contains nastiness which conflicts with libtool 2.2.2 |