2016-04-27 15:12:02 +02:00
|
|
|
config BR2_PACKAGE_MPV
|
|
|
|
bool "mpv"
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2016-05-26 17:54:19 +02:00
|
|
|
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
|
2016-06-26 20:12:05 +02:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
|
2016-11-20 15:54:34 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
|
2016-04-27 15:12:02 +02:00
|
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
|
|
|
select BR2_PACKAGE_FFMPEG
|
|
|
|
select BR2_PACKAGE_FFMPEG_SWSCALE
|
|
|
|
select BR2_PACKAGE_ZLIB
|
2019-08-09 19:26:37 +02:00
|
|
|
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
|
2016-04-28 14:14:33 +02:00
|
|
|
# Select xkbcommon for wayland to avoid being mysterious
|
2016-04-28 13:20:45 +02:00
|
|
|
select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND
|
mpv: fix X11 logic after bump to 0.25.0
Between 0.24.0 and 0.25.0, mpv has changed its logic around the
detection/usage of X11 (in upstream commit
https://github.com/mpv-player/mpv/commit/927afa311d4a89b022305508acbf4e7325fe3928). Instead
of having fine grained option for x11, xext, xinerama, xscreensaver and
xrandr, mpv now requires all five libraries to be available in order to
enable X.org support.
Therefore, this commit adjusts the mpv packaging so that:
1. All necessary X11 libraries are selected if BR2_PACKAGE_XORG7 is
enabled. It would indeed be too cumbersome for the user to know that
all of x11, xext, xinerama, xscreensaver and xrandr are necessary in
order to have X.org support.
2. mpv.mk is simplified by enabling X.org support when
BR2_PACKAGE_XORG7 is enabled.
Fixes:
http://autobuild.buildroot.net/results/b470cfba451ce9ba648e3a2f3ae08429db8bdee9/
(--disable-xss was used to disable xscreensaver support, and this
option no longer exists)
[Peter: reword X11 comment in .mk]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-05-08 15:32:51 +02:00
|
|
|
# Select all necessary X11 dependencies if X.org is enabled
|
|
|
|
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXINERAMA if BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7
|
2016-04-27 15:12:02 +02:00
|
|
|
help
|
|
|
|
mpv is a fork of mplayer2 and MPlayer. It shares some features
|
|
|
|
with the former projects while introducing many more.
|
|
|
|
|
|
|
|
https://mpv.io/
|
|
|
|
|
2016-06-26 20:12:05 +02:00
|
|
|
comment "mpv needs a toolchain w/ threads, gcc >= 4.5"
|
2016-05-26 17:54:19 +02:00
|
|
|
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
|
2016-11-20 15:54:34 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
|
2016-06-26 20:12:05 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
|