]> code.ossystems Code Review - openembedded-core.git/commitdiff
gst-player: only depend on -ugly plugins if commercial licenses enabled
authorRoss Burton <ross.burton@intel.com>
Fri, 27 Feb 2015 21:12:12 +0000 (21:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Feb 2015 21:15:43 +0000 (21:15 +0000)
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>
meta/recipes-multimedia/gstreamer/gst-player_git.bb

index a7df526b826cfdafa4833cea0bb4ae4954d212f5..cd96d775d84459d6d86930adf2a783d3ba431670 100644 (file)
@@ -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)}"