summaryrefslogtreecommitdiffstats
path: root/package/gstreamer1/gst1-plugins-bad/Config.in
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2015-08-24 14:47:11 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-08-25 11:57:12 +0200
commitebdd8f87c6317a001bf83cc78393281e34788a17 (patch)
treebf12de85f7679ea24591a09af0629b9809d9451f /package/gstreamer1/gst1-plugins-bad/Config.in
parentac57d05076d7554d5bf43375cc7269fc0e658acc (diff)
downloadbuildroot-ebdd8f87c6317a001bf83cc78393281e34788a17.tar.gz
buildroot-ebdd8f87c6317a001bf83cc78393281e34788a17.zip
Revert "package/gstreamer1/gst1-plugins-bad: disable opencv plugin with opencv-3"
This (partially) reverts commit 5e238a87eacf2a0c62736c4123961651afb1ba87. The dependency is changed from a 'select' to a 'depends on' to avoid a circular dependency caused by the introduction of OpenCV-3. This means we can also drop the threads and C++ dependencies, since they are now inherited via the depends on OpenCV. Cc: Jonathan Ben Avraham <yba@tkos.co.il> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Samuel Martin <s.martin49@gmail.com> [yann.morin.1998@free.fr: fix dependencies] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gstreamer1/gst1-plugins-bad/Config.in')
-rw-r--r--package/gstreamer1/gst1-plugins-bad/Config.in20
1 files changed, 15 insertions, 5 deletions
diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
index bc995277bc..d268fc6bf7 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -557,14 +557,24 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV
bool "opencv"
- depends on BR2_INSTALL_LIBSTDCPP
- depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
- depends on BROKEN # gst1-plugin-opencv does not (yet) support opencv >=3.x
+ depends on BR2_PACKAGE_OPENCV
+ # Remove the following opencv modules when gstreamer fixes the
+ # problem of including the old "cv.h" header
+ # bug: https://bugzilla.gnome.org/show_bug.cgi?id=725163
+ select BR2_PACKAGE_OPENCV_LIB_CALIB3D
+ select BR2_PACKAGE_OPENCV_LIB_CONTRIB
+ 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_ML
+ select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
+ select BR2_PACKAGE_OPENCV_LIB_VIDEO
help
GStreamer OpenCV Plugins
-comment "opencv plugin needs a toolchain w/ C++, NPTL"
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
+comment "opencv plugin needs OpenCV-2.4"
+ depends on !BR2_PACKAGE_OPENCV
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS
bool "opus"
OpenPOWER on IntegriCloud