summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2015-03-13 14:49:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-20 10:59:04 +0000
commit15df9519e3c22dac77d4d06bb4832e12ffadf5df (patch)
tree065aad6641fd216fd4ac1d56278bf9cec5a72e88
parentc9959f2a69e7edfe8b9e4a7bc99f0d77f03aff73 (diff)
downloadopenembedded-core-15df9519e3c22dac77d4d06bb4832e12ffadf5df.tar.gz
openembedded-core-15df9519e3c22dac77d4d06bb4832e12ffadf5df.tar.bz2
openembedded-core-15df9519e3c22dac77d4d06bb4832e12ffadf5df.zip
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@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-player_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-player_git.bb b/meta/recipes-multimedia/gstreamer/gst-player_git.bb
index 988c407c9d..3dde15111e 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)}"