summaryrefslogtreecommitdiffstats
path: root/package/opencv/Config.in
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2011-10-20 19:09:18 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-24 15:36:21 +0200
commit0ca7b726683879f93032b348aba0759f0ef8b520 (patch)
treeb544da89e3c96a62e937c8e230c1bd5cbb544440 /package/opencv/Config.in
parent1fd04dd41f01ba76b860136799099254e54a3859 (diff)
downloadbuildroot-novena-0ca7b726683879f93032b348aba0759f0ef8b520.tar.gz
buildroot-novena-0ca7b726683879f93032b348aba0759f0ef8b520.zip
package: add opencv
OpenCV is a free, open-source, cross-platform computer vision library [Peter: fix deps, misc cleanup] Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/opencv/Config.in')
-rw-r--r--package/opencv/Config.in85
1 files changed, 85 insertions, 0 deletions
diff --git a/package/opencv/Config.in b/package/opencv/Config.in
new file mode 100644
index 000000000..1f454b677
--- /dev/null
+++ b/package/opencv/Config.in
@@ -0,0 +1,85 @@
+config BR2_PACKAGE_OPENCV
+ bool "opencv"
+ select BR2_PACKAGE_ZLIB
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_WCHAR
+ help
+ OpenCV (Open Source Computer Vision) is a library of programming
+ functions for real time computer vision.
+
+ http://opencv.willowgarage.com/wiki/
+
+if BR2_PACKAGE_OPENCV
+
+config BR2_PACKAGE_OPENCV_BUILD_TESTS
+ bool "build tests"
+
+config BR2_PACKAGE_OPENCV_INSTALL_DATA
+ bool "install extra data"
+ help
+ Install various data that is used by cv libraries and/or demo
+ applications, specifically for haarcascades and lbpcascades
+ features.
+
+ For further information: see OpenCV documentation.
+
+comment "Build options"
+
+config BR2_PACKAGE_OPENCV_WITH_PYTHON
+ bool "python support"
+ depends on BR2_PACKAGE_PYTHON
+
+config BR2_PACKAGE_OPENCV_WITH_FFMPEG
+ bool "ffmpeg support"
+ select BR2_PACKAGE_FFMPEG
+ select BR2_PACKAGE_FFMPEG_SWSCALE
+ help
+ Use ffmpeg from the target system.
+
+config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
+ bool "gstreamer support"
+ select BR2_PACKAGE_GSTREAMER
+ select BR2_PACKAGE_GST_PLUGINS_BASE
+ select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
+
+config BR2_PACKAGE_OPENCV_WITH_GTK
+ bool "gtk support"
+ depends on BR2_PACKAGE_LIBGTK2
+
+config BR2_PACKAGE_OPENCV_WITH_QT
+ bool "qt backend support"
+ depends on BR2_PACKAGE_QT
+ default y
+
+config BR2_PACKAGE_OPENCV_WITH_JPEG
+ bool "jpeg support"
+ select BR2_PACKAGE_JPEG
+ help
+ Use shared libjpeg from the target system.
+
+config BR2_PACKAGE_OPENCV_WITH_PNG
+ bool "png support"
+ select BR2_PACKAGE_LIBPNG
+ help
+ Use shared libpng from the target system.
+
+config BR2_PACKAGE_OPENCV_WITH_TIFF
+ bool "tiff support"
+ select BR2_PACKAGE_TIFF
+ help
+ Use shared libtiff from the target system.
+
+config BR2_PACKAGE_OPENCV_WITH_V4L
+ bool "v4l support"
+ depends on BR2_LARGEFILE
+ select BR2_PACKAGE_LIBV4L
+ help
+ Enable Video 4 Linux support.
+
+comment "v4l support requires a toolchain with LARGEFILE support"
+ depends on !BR2_LARGEFILE
+
+endif # BR2_PACKAGE_OPENCV
+
+comment "opencv requires a toolchain with C++ and WCHAR support"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR