@@ -11,6 +11,7 @@ config BR2_PACKAGE_VLC
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBVORBIS if BR2_PACKAGE_OPUS
+ select BR2_PACKAGE_OPENCV_USE_DEPRECATED_HEADERS if BR2_PACKAGE_OPENCV
help
VLC is a free and open source cross-platform multimedia player
and framework that plays most multimedia files as well as DVD,
@@ -124,6 +124,13 @@ else
VLC_CONF_OPTS += --disable-glx
endif
+ifeq ($(BR2_PACKAGE_OPENCV),y)
+VCL_CONF_OPTS += --with-opencv
+VLC_DEPENDENCIES += opencv
+else
+VLC_CONF_OPTS += --without-opencv
+endif
+
ifeq ($(BR2_PACKAGE_OPUS),y)
VLC_CONF_OPTS += --enable-opus
VLC_DEPENDENCIES += libvorbis opus