diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-10-19 17:08:05 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-10-20 11:51:57 +0200 |
commit | 5be3d521b85f9db06dd6c4311841aeea69c70cf5 (patch) | |
tree | 356a2be5baa21993cfe297016b3cc0d9a6670e3e /dev-ros/compressed_depth_image_transport | |
parent | dev-ros/compressed_image_transport: only use required ocv components (diff) | |
download | gentoo-5be3d521b85f9db06dd6c4311841aeea69c70cf5.tar.gz gentoo-5be3d521b85f9db06dd6c4311841aeea69c70cf5.tar.bz2 gentoo-5be3d521b85f9db06dd6c4311841aeea69c70cf5.zip |
dev-ros/compressed_depth_image_transport: only pull needed ocv components
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/compressed_depth_image_transport')
3 files changed, 15 insertions, 0 deletions
diff --git a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild index 97f465fd4872..ee76a3e1f2b2 100644 --- a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild +++ b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild @@ -26,3 +26,4 @@ DEPEND="${RDEPEND} dev-cpp/gtest ) " +PATCHES=( "${FILESDIR}/ocv_leak.patch" ) diff --git a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild index 97f465fd4872..ee76a3e1f2b2 100644 --- a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild +++ b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild @@ -26,3 +26,4 @@ DEPEND="${RDEPEND} dev-cpp/gtest ) " +PATCHES=( "${FILESDIR}/ocv_leak.patch" ) diff --git a/dev-ros/compressed_depth_image_transport/files/ocv_leak.patch b/dev-ros/compressed_depth_image_transport/files/ocv_leak.patch new file mode 100644 index 000000000000..8e1f81ae32fa --- /dev/null +++ b/dev-ros/compressed_depth_image_transport/files/ocv_leak.patch @@ -0,0 +1,13 @@ +Index: compressed_depth_image_transport/CMakeLists.txt +=================================================================== +--- compressed_depth_image_transport.orig/CMakeLists.txt ++++ compressed_depth_image_transport/CMakeLists.txt +@@ -5,7 +5,7 @@ if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COM + # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror") + endif() + +-find_package(OpenCV REQUIRED) ++find_package(OpenCV REQUIRED COMPONENTS opencv_core opencv_imgcodecs opencv_highgui) + find_package(catkin REQUIRED cv_bridge dynamic_reconfigure image_transport) + + # generate the dynamic_reconfigure config file |