dbe9c5e204
This change adds 2 patches (backported from upstream) to vlc fixing the build against opencv2 APIs. This allows to select the minimal set of opencv modules when opencv support is enabled. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
if BR2_PACKAGE_VLC
|
|
comment "vlc is known not to work in all configurations"
|
|
comment "If you can fix it, please inform buildroot@buildroot.org"
|
|
endif
|
|
|
|
config BR2_PACKAGE_VLC
|
|
bool "vlc"
|
|
depends on (BR2_UCLIBC_VERSION_SNAPSHOT || BR2_UCLIBC_VERSION_NG || BR2_TOOLCHAIN_USES_GLIBC) # spawn.h
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_USE_WCHAR
|
|
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_OPENCV_LIB_IMGPROC if BR2_PACKAGE_OPENCV
|
|
select BR2_PACKAGE_OPENCV_LIB_OBJDETECT 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,
|
|
Audio CD, VCD, and various streaming protocols.
|
|
|
|
http://www.videolan.org/vlc/
|
|
|
|
comment "vlc needs a uclibc snapshot, uclibc-ng or (e)glibc toolchain w/ C++, wchar, threads, headers >= 3.7"
|
|
depends on !(BR2_UCLIBC_VERSION_SNAPSHOT || BR2_UCLIBC_VERSION_NG || BR2_TOOLCHAIN_USES_GLIBC) \
|
|
|| !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
|
|
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|