[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH] gst-player: only depend on -ugly plugins if commercial licenses enabled
From:       ross.burton () intel ! com (Ross Burton)
Date:       2015-02-27 21:12:12
Message-ID: 1425071532-24969-1-git-send-email-ross.burton () intel ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic