mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
mpv: fix wayland deps
The wayland backend requires libxkbcommon, so when wayland is available select it to avoid build failure and obscure dependencies. Fixes: http://autobuild.buildroot.net/results/ed2/ed2660361c9720e48dd5959f2711fd7f14031b0d/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
28967c847e
commit
a451a94805
@ -6,6 +6,8 @@ config BR2_PACKAGE_MPV
|
|||||||
select BR2_PACKAGE_FFMPEG
|
select BR2_PACKAGE_FFMPEG
|
||||||
select BR2_PACKAGE_FFMPEG_SWSCALE
|
select BR2_PACKAGE_FFMPEG_SWSCALE
|
||||||
select BR2_PACKAGE_ZLIB
|
select BR2_PACKAGE_ZLIB
|
||||||
|
# Select xkbcommon for wayland to avoid being misterious
|
||||||
|
select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND
|
||||||
help
|
help
|
||||||
mpv is a fork of mplayer2 and MPlayer. It shares some features
|
mpv is a fork of mplayer2 and MPlayer. It shares some features
|
||||||
with the former projects while introducing many more.
|
with the former projects while introducing many more.
|
||||||
|
@ -187,7 +187,7 @@ endif
|
|||||||
# wayland support
|
# wayland support
|
||||||
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
||||||
MPV_CONF_OPTS += --enable-wayland
|
MPV_CONF_OPTS += --enable-wayland
|
||||||
MPV_DEPENDENCIES += wayland
|
MPV_DEPENDENCIES += libxkbcommon wayland
|
||||||
else
|
else
|
||||||
MPV_CONF_OPTS += --disable-wayland
|
MPV_CONF_OPTS += --disable-wayland
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user