[oe-commits] Jussi Kukkonen : gst-player: Depend on -libav if commercial license is enabled

git at git.openembedded.org git at git.openembedded.org
Fri Mar 20 10:59:13 UTC 2015


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

Author: Jussi Kukkonen <jussi.kukkonen at intel.com>
Date:   Fri Mar 13 14:49:17 2015 +0200

gst-player: Depend on -libav if commercial license is enabled

gstreamer1.0-libav makes AAC playback possible but is protected by
the "commercial" LICENSE_FLAGS: recommend -libav if those licenses
are enabled.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-multimedia/gstreamer/gst-player_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-multimedia/gstreamer/gst-player_git.bb b/meta/recipes-multimedia/gstreamer/gst-player_git.bb
index 988c407..3dde151 100644
--- a/meta/recipes-multimedia/gstreamer/gst-player_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-player_git.bb
@@ -32,4 +32,5 @@ 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 \
+                         ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-libav", "", d)} \
                          ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}"



More information about the Openembedded-commits mailing list