DRAFT pg-ros-world-crystal.inc: Support DISTRO_FEATURES "ros-desktop"

This commit is contained in:
Herb Kuta 2019-04-03 11:30:07 -07:00
parent e05c8bf936
commit 3d569a90ca
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ 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)}"
# desktop RDEPENDS on rviz packages.
RDEPENDS_${PN}_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ros-desktop ros-rviz', '', 'desktop', d)}"
# RViz requires the "opengl" distro feature.
RDEPENDS_${PN}_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ros-rviz opengl', '', 'object-analytics-rviz', d)}"
RDEPENDS_${PN}_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ros-rviz opengl', '', 'rviz-assimp-vendor', d)}"