DRAFT pg-ros-world-crystal.inc: Drop ffmpeg from world unless LICENSE_FLAGS_WHITELIST contains "commerical"

This commit is contained in:
Herb Kuta 2019-04-24 17:50:20 -07:00
parent 36a9635246
commit 755583702d
1 changed files with 3 additions and 0 deletions

View File

@ -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)}"