From 4440c9f28da10ea9d31c18a24b088fdf13ad1c16 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Wed, 3 Apr 2019 13:08:43 -0700 Subject: [PATCH] DRAFT pg-ros-world-crystal.inc: Support DISTRO_FEATURES "ros-gazbeo" --- .../packagegroups/packagegroup-ros-world-crystal.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-core/packagegroups/packagegroup-ros-world-crystal.inc b/recipes-core/packagegroups/packagegroup-ros-world-crystal.inc index 6e4bb31..498cf57 100644 --- a/recipes-core/packagegroups/packagegroup-ros-world-crystal.inc +++ b/recipes-core/packagegroups/packagegroup-ros-world-crystal.inc @@ -15,6 +15,12 @@ RDEPENDS_${PN}_remove = "${@bb.utils.contains('LICENSE_FLAGS_WHITELIST', 'commer # desktop RDEPENDS on rviz packages. RDEPENDS_${PN}_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ros-desktop ros-rviz', '', 'desktop', d)}" +# NB. gazebo-msgs is a dependency of non-Gazebo packages, so it doesn't appear here. +RDEPENDS_${PN}_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ros-gazebo', '', 'gazebo-rosdev', d)}" +RDEPENDS_${PN}_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ros-gazebo', '', 'gazebo-plugins', d)}" +RDEPENDS_${PN}_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ros-gazebo', '', 'gazebo-ros', d)}" +RDEPENDS_${PN}_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ros-gazebo', '', 'gazebo-ros-pkgs', d)}" + RDEPENDS_${PN}_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ros-qt5', '', 'python-qt-binding', d)}" RDEPENDS_${PN}_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ros-qt5', '', 'qt-dotgraph', d)}" RDEPENDS_${PN}_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'ros-qt5', '', 'qt-gui', d)}"