summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-06-24 11:26:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-25 17:44:58 +0100
commitb0892c933204a2ea9e89447f5ebf0ac37a8747dc (patch)
tree5a2e0802e818f285e16b72202dfdfe547cffbf36
parent26c858a653a5f96120078c8dd1bcf317ec5d32e1 (diff)
downloadpoky-b0892c933204a2ea9e89447f5ebf0ac37a8747dc.tar.gz
gst-plugins-bad: element selection rationalisation
Using --with-plugins means you only get the elements you enable, so we were dropping vast numbers of useful plugins such as the MPEG muxers. Instead, follow gst-plugins-base by using PACKAGECONFIG to enable/disable plugins with optional dependencies. (From OE-Core rev: 7722fd48995d5d430d58b94ecf69a6ad9f1c741b) 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-bad_0.10.23.bb18
1 files changed, 12 insertions, 6 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
index 87f338ffbc..a3a120463d 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
@@ -6,18 +6,24 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
6 file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \ 6 file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
7 file://gst/tta/crc32.h;beginline=12;endline=29;md5=71a904d99ce7ae0c1cf129891b98145c" 7 file://gst/tta/crc32.h;beginline=12;endline=29;md5=71a904d99ce7ae0c1cf129891b98145c"
8 8
9DEPENDS += "gst-plugins-base curl" 9DEPENDS += "gst-plugins-base"
10 10
11PR = "r4" 11PR = "r4"
12 12
13inherit gettext 13inherit gettext
14 14
15EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb \ 15EXTRA_OECONF += "--disable-experimental \
16 --with-plugins=wavpack,mpegvideoparse --disable-vdpau --disable-apexsink \ 16 --disable-sdl --disable-cdaudio --disable-directfb \
17 --disable-orc --disable-neon" 17 --disable-vdpau --disable-apexsink"
18 18
19PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'librsvg', '', d)}" 19PACKAGECONFIG ??= "bzip curl \
20PACKAGECONFIG[librsvg] = "--enable-rsvg,--disable-rsvg,librsvg," 20 ${@base_contains('DISTRO_FEATURES', 'x11', 'rsvg', '', d)}"
21
22PACKAGECONFIG[bzip] = "--enable-bz2,--disable-bz2,bzip2"
23PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
24PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg,"
25PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc"
26PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon"
21 27
22ARM_INSTRUCTION_SET = "arm" 28ARM_INSTRUCTION_SET = "arm"
23 29