diff --git a/recipes-core/packagegroups/packagegroup-ros-world-crystal.inc b/recipes-core/packagegroups/packagegroup-ros-world-crystal.inc index 565f971..5e19a24 100644 --- a/recipes-core/packagegroups/packagegroup-ros-world-crystal.inc +++ b/recipes-core/packagegroups/packagegroup-ros-world-crystal.inc @@ -6,3 +6,6 @@ RDEPENDS_${PN}_remove = "ament-cmake-clang-format" # Not used by "crystal"; this allows us to defer fixing log4cxx v0.10.0-13 until working on "melodic". RDEPENDS_${PN}_remove = "rcl-logging-log4cxx" + +# OE won't let us build ffmpeg unless LICENSE_FLAGS_WHITELIST contains "commerical". +RDEPENDS_${PN}_remove = "${@bb.utils.contains('LICENSE_FLAGS_WHITELIST', 'commercial', '', 'ffmpeg', d)}"