aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-08-27 22:54:25 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-08-27 23:19:17 +0500
commita98a1902bc7fffe124a763d0d43c3cd5461979ea (patch)
tree9c1f81428e63fee6bf5125d38f75707cb5a1e4c6 /common
parent5b8aade75aaa58e731fa5b5649c770f0a19f14c8 (diff)
downloadmeta-amd-a98a1902bc7fffe124a763d0d43c3cd5461979ea.tar.gz
meta-amd-a98a1902bc7fffe124a763d0d43c3cd5461979ea.tar.bz2
meta-amd-a98a1902bc7fffe124a763d0d43c3cd5461979ea.zip
amd-multimedia.inc: rm gst1.0-vaapi if no INCLUDE_COMMERCIAL_MULTIMEDIA
This removes gstreamer1.0-vaapi from GSTREAMER_PKGS (amd-features.inc) in case INCLUDE_COMMERCIAL_MULTIMEDIA is not set to "yes". This is required to be done to fix the following dependency on faad2 which has commercial LICENSE_FLAGS: Missing or unbuildable dependency chain was: ['core-image-sato', 'gstreamer1.0-vaapi', 'gstreamer1.0-plugins-bad', 'faad2'] Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Diffstat (limited to 'common')
-rw-r--r--common/conf/machine/include/amd-multimedia.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/conf/machine/include/amd-multimedia.inc b/common/conf/machine/include/amd-multimedia.inc
index 744587d8..95381609 100644
--- a/common/conf/machine/include/amd-multimedia.inc
+++ b/common/conf/machine/include/amd-multimedia.inc
@@ -40,3 +40,7 @@ COMMERCIAL_LIC_FLAGS_MULTIMEDIA = "\
LICENSE_FLAGS_WHITELIST_append = "${@' ${COMMERCIAL_LIC_FLAGS_MULTIMEDIA}' if bb.utils.to_boolean('${INCLUDE_COMMERCIAL_MULTIMEDIA}') else ''}"
CORE_IMAGE_EXTRA_INSTALL_append = "${@' packagegroup-multimedia-risky' if bb.utils.to_boolean('${INCLUDE_COMMERCIAL_MULTIMEDIA}') else ''}"
+
+# To fix the following error:
+# Missing or unbuildable dependency chain was: ['core-image-sato', 'gstreamer1.0-vaapi', 'gstreamer1.0-plugins-bad', 'faad2']
+GSTREAMER_PKGS_remove = "${@' gstreamer1.0-vaapi' if not bb.utils.to_boolean('${INCLUDE_COMMERCIAL_MULTIMEDIA}') else ''}"