diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-10-19 18:33:46 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-10-20 11:51:57 +0200 |
commit | de690e1e197ef5807c4372f6bd421879f080e44c (patch) | |
tree | 085b19b071048e4a8a24ec3f829fa3baf652ef4a /dev-ros | |
parent | dev-ros/image_proc: only link to required ocv components (diff) | |
download | gentoo-de690e1e197ef5807c4372f6bd421879f080e44c.tar.gz gentoo-de690e1e197ef5807c4372f6bd421879f080e44c.tar.bz2 gentoo-de690e1e197ef5807c4372f6bd421879f080e44c.zip |
dev-ros/image_geometry: only link to req ocv modules
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros')
-rw-r--r-- | dev-ros/image_geometry/files/ocv_leak.patch | 13 | ||||
-rw-r--r-- | dev-ros/image_geometry/image_geometry-1.15.0-r1.ebuild (renamed from dev-ros/image_geometry/image_geometry-1.15.0.ebuild) | 1 | ||||
-rw-r--r-- | dev-ros/image_geometry/image_geometry-9999.ebuild | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/dev-ros/image_geometry/files/ocv_leak.patch b/dev-ros/image_geometry/files/ocv_leak.patch new file mode 100644 index 000000000000..cbc0f5a50669 --- /dev/null +++ b/dev-ros/image_geometry/files/ocv_leak.patch @@ -0,0 +1,13 @@ +Index: image_geometry/CMakeLists.txt +=================================================================== +--- image_geometry.orig/CMakeLists.txt ++++ image_geometry/CMakeLists.txt +@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0.2) + project(image_geometry) + + find_package(catkin REQUIRED sensor_msgs) +-find_package(OpenCV REQUIRED) ++find_package(OpenCV REQUIRED COMPONENTS opencv_core opencv_imgproc opencv_calib3d) + + catkin_package(CATKIN_DEPENDS sensor_msgs + DEPENDS OpenCV diff --git a/dev-ros/image_geometry/image_geometry-1.15.0.ebuild b/dev-ros/image_geometry/image_geometry-1.15.0-r1.ebuild index e1195646cedd..851354d4b1be 100644 --- a/dev-ros/image_geometry/image_geometry-1.15.0.ebuild +++ b/dev-ros/image_geometry/image_geometry-1.15.0-r1.ebuild @@ -24,3 +24,4 @@ DEPEND="${RDEPEND} dev-cpp/gtest dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )" +PATCHES=( "${FILESDIR}/ocv_leak.patch" ) diff --git a/dev-ros/image_geometry/image_geometry-9999.ebuild b/dev-ros/image_geometry/image_geometry-9999.ebuild index e1195646cedd..851354d4b1be 100644 --- a/dev-ros/image_geometry/image_geometry-9999.ebuild +++ b/dev-ros/image_geometry/image_geometry-9999.ebuild @@ -24,3 +24,4 @@ DEPEND="${RDEPEND} dev-cpp/gtest dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] )" +PATCHES=( "${FILESDIR}/ocv_leak.patch" ) |