gst1-plugins-bad: select all opencv modules needed
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Tue, 25 Feb 2014 15:36:44 +0000 (15:36 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 25 Feb 2014 19:59:44 +0000 (20:59 +0100)
gstopencv.c includes the old-style header opencv/cv.h which includes a
set of module's headers. To satisfy the opencv/cv.h requirements we need
to select the modules which provide the required headers.

Fixes:
   http://autobuild.buildroot.net/results/f5b/f5b248eb7be38d6eb3655cdc1ab6ee5e716b9b29/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Samuel Martin <smartin@aldebaran-robotics.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer1/gst1-plugins-bad/Config.in

index 3647e5351d581c480f1e5e444c74640fbd12f848..efad91eef5fb544129135cee20daec242178bc6f 100644 (file)
@@ -418,6 +418,15 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV
        bool "opencv"
        depends on BR2_INSTALL_LIBSTDCPP
        select BR2_PACKAGE_OPENCV
+       # Remove the following opencv modules when gstreamer fixes the
+       # problem of including the old "cv.h" header
+       select BR2_PACKAGE_OPENCV_LIB_CALIB3D
+       select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
+       select BR2_PACKAGE_OPENCV_LIB_FLANN
+       select BR2_PACKAGE_OPENCV_LIB_IMGPROC
+       select BR2_PACKAGE_OPENCV_LIB_LEGACY
+       select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
+       select BR2_PACKAGE_OPENCV_LIB_VIDEO
        help
          GStreamer OpenCV Plugins