[oe-commits] Ross Burton : gst-player: only depend on -ugly plugins if commercial licenses enabled

git at git.openembedded.org git at git.openembedded.org
Sun Mar 1 07:34:56 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 66be46e44d93c8a772acaa68f5d8296c1f9fc793
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=66be46e44d93c8a772acaa68f5d8296c1f9fc793

Author: Ross Burton <ross.burton at intel.com>
Date:   Fri Feb 27 21:12:12 2015 +0000

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-multimedia/gstreamer/gst-player_git.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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)}"



More information about the Openembedded-commits mailing list