From 755583702dcd72d254a6544fe26682e0a185ea49 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Wed, 24 Apr 2019 17:50:20 -0700 Subject: [PATCH] DRAFT pg-ros-world-crystal.inc: Drop ffmpeg from world unless LICENSE_FLAGS_WHITELIST contains "commerical" --- recipes-core/packagegroups/packagegroup-ros-world-crystal.inc | 3 +++ 1 file changed, 3 insertions(+) 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)}"