diff options
author | Ross Burton <ross.burton@intel.com> | 2013-06-24 11:26:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-25 17:44:58 +0100 |
commit | b0892c933204a2ea9e89447f5ebf0ac37a8747dc (patch) | |
tree | 5a2e0802e818f285e16b72202dfdfe547cffbf36 | |
parent | 26c858a653a5f96120078c8dd1bcf317ec5d32e1 (diff) | |
download | poky-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.bb | 18 |
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 | ||
9 | DEPENDS += "gst-plugins-base curl" | 9 | DEPENDS += "gst-plugins-base" |
10 | 10 | ||
11 | PR = "r4" | 11 | PR = "r4" |
12 | 12 | ||
13 | inherit gettext | 13 | inherit gettext |
14 | 14 | ||
15 | EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb \ | 15 | EXTRA_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 | ||
19 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'librsvg', '', d)}" | 19 | PACKAGECONFIG ??= "bzip curl \ |
20 | PACKAGECONFIG[librsvg] = "--enable-rsvg,--disable-rsvg,librsvg," | 20 | ${@base_contains('DISTRO_FEATURES', 'x11', 'rsvg', '', d)}" |
21 | |||
22 | PACKAGECONFIG[bzip] = "--enable-bz2,--disable-bz2,bzip2" | ||
23 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" | ||
24 | PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg," | ||
25 | PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc" | ||
26 | PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon" | ||
21 | 27 | ||
22 | ARM_INSTRUCTION_SET = "arm" | 28 | ARM_INSTRUCTION_SET = "arm" |
23 | 29 | ||