|
|
@@ -6,18 +6,21 @@ config BR2_PACKAGE_MPV_SUPPORTS_VAAPI
|
|
|
|
|
|
config BR2_PACKAGE_MPV
|
|
|
bool "mpv"
|
|
|
- depends on BR2_INSTALL_LIBSTDCPP # libass
|
|
|
+ depends on BR2_INSTALL_LIBSTDCPP # libass, libplacebo
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libass
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
|
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
|
|
|
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # libplacebo
|
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
|
|
+ depends on !BR2_STATIC_LIBS # libplacebo
|
|
|
select BR2_PACKAGE_ALSA_LIB_MIXER if BR2_PACKAGE_ALSA_LIB
|
|
|
select BR2_PACKAGE_ALSA_LIB_PCM if BR2_PACKAGE_ALSA_LIB
|
|
|
+ select BR2_PACKAGE_LIBDISPLAY_INFO if BR2_PACKAGE_LIBDRM
|
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
|
|
select BR2_PACKAGE_FFMPEG
|
|
|
select BR2_PACKAGE_FFMPEG_SWSCALE
|
|
|
select BR2_PACKAGE_LIBASS
|
|
|
+ select BR2_PACKAGE_LIBPLACEBO
|
|
|
select BR2_PACKAGE_ZLIB
|
|
|
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
|
|
|
# Select xkbcommon for wayland to avoid being mysterious
|
|
|
@@ -35,10 +38,11 @@ config BR2_PACKAGE_MPV
|
|
|
|
|
|
https://mpv.io/
|
|
|
|
|
|
-comment "mpv needs a toolchain w/ C++, NPTL, gcc >= 4.9"
|
|
|
+comment "mpv needs a toolchain w/ C++, NPTL, gcc >= 10, dynamic library"
|
|
|
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
|
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
|
!BR2_INSTALL_LIBSTDCPP || \
|
|
|
- !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \
|
|
|
+ BR2_STATIC_LIBS
|