diff options
author | Drew Moseley <drew_moseley@mentor.com> | 2014-09-08 12:58:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-10 11:33:24 +0100 |
commit | fe0f44117179c5e84289660c252d8309957efc2b (patch) | |
tree | 75abe7d0c92fab9fd9063c604f360b4d5380e2d0 /meta | |
parent | 679b9fb2d652cffb97935fb2a29e53757bcb4e1d (diff) | |
download | poky-fe0f44117179c5e84289660c252d8309957efc2b.tar.gz |
gstreamer: Set DEPENDS dynamically for plugins-ugly and plugins-bad
Only add plugins-ugly or plugins-bad to the DEPENDS if they are
added to the COMMERCIAL_AUDIO_PLUGINS or COMMERCIAL_VIDEO_PLUGINS.
(From OE-Core rev: e8eb01fb49bf18dedb62ef05712374cec3bd5efd)
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb | 7 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb index 518ab721af..039abe14fa 100644 --- a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb +++ b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb | |||
@@ -1,6 +1,11 @@ | |||
1 | SUMMARY = "GStreamer package groups" | 1 | SUMMARY = "GStreamer package groups" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | DEPENDS = "gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad" | 3 | |
4 | COMMERCIAL_PLUGINS = "${COMMERCIAL_AUDIO_PLUGINS} ${COMMERCIAL_VIDEO_PLUGINS}" | ||
5 | DEPENDS_UGLY="${@'gst-plugins-ugly' if 'ugly' in COMMERCIAL_PLUGINS.split('-') else ''}" | ||
6 | DEPENDS_BAD="${@'gst-plugins-bad' if 'bad' in COMMERCIAL_PLUGINS.split('-') else ''}" | ||
7 | DEPENDS = "gstreamer gst-plugins-base gst-plugins-good ${DEPENDS_UGLY} ${DEPENDS_BAD}" | ||
8 | |||
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | 9 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ |
5 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 10 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
6 | 11 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb index a703d9b7a4..3ef10c3723 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb | |||
@@ -3,7 +3,10 @@ LICENSE = "MIT" | |||
3 | 3 | ||
4 | inherit packagegroup | 4 | inherit packagegroup |
5 | 5 | ||
6 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad" | 6 | COMMERCIAL_PLUGINS = "${COMMERCIAL_AUDIO_PLUGINS} ${COMMERCIAL_VIDEO_PLUGINS}" |
7 | DEPENDS_UGLY="${@'gstreamer1.0-plugins-ugly' if 'ugly' in COMMERCIAL_PLUGINS.split('-') else ''}" | ||
8 | DEPENDS_BAD="${@'gstreamer1.0-plugins-bad' if 'bad' in COMMERCIAL_PLUGINS.split('-') else ''}" | ||
9 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good ${DEPENDS_UGLY} ${DEPENDS_BAD}" | ||
7 | 10 | ||
8 | PACKAGES = "\ | 11 | PACKAGES = "\ |
9 | gstreamer1.0-meta-base \ | 12 | gstreamer1.0-meta-base \ |