Skip to contentSkip to conversation

package: add opencv

PATCH Superseded Samuel Martin 2 participants 2 messages Aug 18, 2011

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package: add opencv

OpenCV is a free, open-source, cross-platform computer vision library

---
 package/Config.in        |    1 +
 package/opencv/Config.in |   70 ++++++++++++++++++++++++++++++++++++++++++++++
 package/opencv/opencv.mk |   65 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 136 insertions(+), 0 deletions(-)
 create mode 100644 package/opencv/Config.in
 create mode 100644 package/opencv/opencv.mk
package/Config.in +1 -0
index 7112e05..d8b13b1 100644
@@ -291,6 +291,7 @@ source "package/libraw/Config.in"
 source "package/librsvg/Config.in"
 source "package/libsvgtiny/Config.in"
 source "package/libungif/Config.in"
+source "package/opencv/Config.in"
 source "package/pango/Config.in"
 source "package/pixman/Config.in"
 source "package/tiff/Config.in"
package/opencv/Config.in new file +70 -0

70 lines not on this page · raw message

package/opencv/opencv.mk new file +65 -0

65 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#1 lore raw

PATCH v2 1/1 package: add opencv

Hello,

Thanks for this new version, looks much better.

Le Thu, 18 Aug 2011 07:32:16 +0200,
Samuel Martin <[email protected]> a ?crit :

Quoted 1 line

+HOST_OPENCV_DEPENDENCIES += $(if $(BR2_PACKAGE_OPENCV_BUILD_NEW_PYTHON_SUPPORT),host-python,)

Why do you need a host version of OpenCV ? I don't see where the host-opencv package is being used.

Also, just a matter of taste, but I would prefer if you grouped together the OPENCV_CONF_OPT += and OPENCV_DEPENDENCIES += lines related to a given option. I.e, the lines:

+OPENCV_DEPENDENCIES += $(if $(BR2_PACKAGE_OPENCV_BUILD_NEW_PYTHON_SUPPORT),python,)

and

+OPENCV_CONF_OPT += -DBUILD_NEW_PYTHON_SUPPORT=$(if $(BR2_PACKAGE_OPENCV_BUILD_NEW_PYTHON_SUPPORT),ON,OFF)

should be next to each other.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com