aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gst-player_git.bb
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-02-27 21:12:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-27 21:15:43 +0000
commit66be46e44d93c8a772acaa68f5d8296c1f9fc793 (patch)
tree0796bdff4dda23d4223f4e922728fd63e42c999e /meta/recipes-multimedia/gstreamer/gst-player_git.bb
parent9562c235e8816441594022b4cabb8f77d16d97da (diff)
downloadopenembedded-core-contrib-66be46e44d93c8a772acaa68f5d8296c1f9fc793.tar.gz
gst-player: only depend on -ugly plugins if commercial licenses enabled
gstreamer1.0-plugins-ugly is protected by the "commercial" LICENSE_FLAGS, so only recommend it if those licenses are enabled. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-player_git.bb')
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-player_git.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-player_git.bb b/meta/recipes-multimedia/gstreamer/gst-player_git.bb
index a7df526b82..cd96d775d8 100644
--- a/meta/recipes-multimedia/gstreamer/gst-player_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-player_git.bb
@@ -28,4 +28,7 @@ do_install_append() {
FILES_${PN}-bin += "${datadir}/applications/*.desktop"
RDEPENDS_${PN}-bin = "gstreamer1.0-plugins-base-playback"
-RRECOMMENDS_${PN}-bin = "gstreamer1.0-plugins-base-meta gstreamer1.0-plugins-good-meta gstreamer1.0-plugins-bad-meta gstreamer1.0-plugins-ugly-meta"
+RRECOMMENDS_${PN}-bin = "gstreamer1.0-plugins-base-meta \
+ gstreamer1.0-plugins-good-meta \
+ gstreamer1.0-plugins-bad-meta \
+ ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}"