summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
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:50 +0000
commitd27319770647b0da86d0a09d1996f01eb8d86496 (patch)
treea09b1fa6d4b5c5655de91b35ee25bdd4be63f726 /meta/recipes-multimedia
parent89bf0bf2ab034e2cc384d8c46fb2a3b061e4ab1a (diff)
downloadast2050-yocto-poky-d27319770647b0da86d0a09d1996f01eb8d86496.zip
ast2050-yocto-poky-d27319770647b0da86d0a09d1996f01eb8d86496.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. (From OE-Core rev: 66be46e44d93c8a772acaa68f5d8296c1f9fc793) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-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 a7df526..cd96d77 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)}"
OpenPOWER on IntegriCloud