aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-06-08 16:17:06 +0530
committerArmin Kuster <akuster808@gmail.com>2021-07-12 06:49:48 -0700
commitff470b3e85bc849f4cf98e70f0bda0032ddb4e69 (patch)
tree10b296731a09ac7dd67bc223709edd3d9f27ad1f
parent65c7872a3f1f259637d34a1342088614cc2c24bb (diff)
downloadmeta-openembedded-ff470b3e85bc849f4cf98e70f0bda0032ddb4e69.tar.gz
meta-openembedded-ff470b3e85bc849f4cf98e70f0bda0032ddb4e69.tar.bz2
meta-openembedded-ff470b3e85bc849f4cf98e70f0bda0032ddb4e69.zip
tracker-miners: Check for commercial license to enable ffmpeg
This change is cherry-picked from upstream/master branch. This fixes below yocto-layer-check error: ERROR: Nothing PROVIDES 'ffmpeg' (but /home/builder/src/base/meta-openembedded/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb DEPENDS on or otherwise requires it) ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'tracker-miners', 'ffmpeg'] Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: akash hadke <akash.hadke@kpit.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb b/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
index e2ced395c..aa6492de4 100644
--- a/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
+++ b/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.3.bb
@@ -24,7 +24,7 @@ REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
PACKAGECONFIG ??= " \
- ffmpeg \
+ ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "ffmpeg", "", d)} \
flac \
gexiv2 \
gstreamer \