package/vlc: remove optional dependency to opencv3

OpenCV3 is unmaintained and will be removed from buildroot.

The package does not support OpenCV4:
https://code.videolan.org/videolan/vlc/-/merge_requests/927

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls
2025-12-30 12:45:36 +01:00
committed by Thomas Petazzoni
parent 6ab3c9ea18
commit 28309d0a58
3 changed files with 8 additions and 13 deletions

View File

@@ -146,6 +146,13 @@ endif
comment "Legacy options removed in 2026.02"
config BR2_PACKAGE_VLC_OPENCV3_BACKEND
bool "opencv3 support in vlc has been removed"
select BR2_LEGACY
help
OpenCV3 support in VLC has been reported, as OpenCV has been
removed.
config BR2_PACKAGE_CPPDB
bool "cppdb has been removed"
select BR2_LEGACY

View File

@@ -9,7 +9,6 @@ config BR2_PACKAGE_VLC
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
select BR2_PACKAGE_LIBVORBIS if BR2_PACKAGE_OPUS
select BR2_PACKAGE_VLC_OPENCV3_BACKEND if BR2_PACKAGE_OPENCV3
select BR2_PACKAGE_ZLIB if BR2_PACKAGE_TAGLIB
help
VLC is a free and open source cross-platform multimedia player
@@ -18,11 +17,6 @@ config BR2_PACKAGE_VLC
http://www.videolan.org/vlc/
config BR2_PACKAGE_VLC_OPENCV3_BACKEND
bool
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
select BR2_PACKAGE_OPENCV3_LIB_OBJDETECT
comment "vlc needs a toolchain w/ C++, dynamic library, wchar, threads, gcc >= 4.9, headers >= 3.7"
depends on !BR2_RISCV_32
depends on BR2_USE_MMU

View File

@@ -72,6 +72,7 @@ VLC_CONF_OPTS += \
--disable-mtp \
--disable-mpc \
--disable-notify \
--disable-opencv \
--disable-projectm \
--disable-schroedinger \
--disable-shine \
@@ -211,13 +212,6 @@ else
VLC_CONF_OPTS += --disable-gles2
endif
ifeq ($(BR2_PACKAGE_OPENCV3),y)
VLC_CONF_OPTS += --enable-opencv
VLC_DEPENDENCIES += opencv3
else
VLC_CONF_OPTS += --disable-opencv
endif
ifeq ($(BR2_PACKAGE_OPUS),y)
VLC_CONF_OPTS += --enable-opus
VLC_DEPENDENCIES += libvorbis opus