mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-04 10:53:30 +08:00
0fed01a500
vlc uses <spawn.h> which was not available in old uClibc versions. However, since we are removing support for uClibc 0.9.33, we can get rid of such dependency. In addition, <spawn.h> is provided by musl, and therefore VLC can be enabled with this C library. Consequently, this commit completely removes any C library dependency for the vlc package. The only special case that needs to be handled is the Blackfin external toolchain from Analog Devices, which still uses an old uClibc version that doesn't provide <spawn.h>, but as vlc uses fork() we add a depends on BR2_USE_MMU (which covers the blackfin toolchain). [Peter: add BR2_USE_MMU dependency] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Romain Naour <romain.naour@gmail.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
39 lines
1.3 KiB
Plaintext
39 lines
1.3 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_USE_MMU # fork()
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on !BR2_STATIC_LIBS
|
|
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_VLC_OPENCV_BACKEND if BR2_PACKAGE_OPENCV
|
|
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
|
|
and framework that plays most multimedia files as well as DVD,
|
|
Audio CD, VCD, and various streaming protocols.
|
|
|
|
http://www.videolan.org/vlc/
|
|
|
|
config BR2_PACKAGE_VLC_OPENCV_BACKEND
|
|
bool
|
|
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
|
select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
|
|
|
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, headers >= 3.7"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_USE_WCHAR \
|
|
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|