Skip to contentSkip to conversation

mpv: fix wayland deps

PATCH New Gustavo Zacarias 2 participants 2 messages Apr 28, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/mpv/Config.in | 2 ++
 package/mpv/mpv.mk    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
package/mpv/Config.in +2 -0
index 0f5aa97..36617e5 100644
@@ -6,6 +6,8 @@ config BR2_PACKAGE_MPV
 	select BR2_PACKAGE_FFMPEG
 	select BR2_PACKAGE_FFMPEG_SWSCALE
 	select BR2_PACKAGE_ZLIB
+	# Select xkbcommon for wayland to avoid being misterious
+	select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND
 	help
 	  mpv is a fork of mplayer2 and MPlayer. It shares some features
 	  with the former projects while introducing many more.
package/mpv/mpv.mk +1 -1
index 0032eb5..605e891 100644
@@ -187,7 +187,7 @@ endif
 # wayland support
 ifeq ($(BR2_PACKAGE_WAYLAND),y)
 MPV_CONF_OPTS += --enable-wayland
-MPV_DEPENDENCIES += wayland
+MPV_DEPENDENCIES += libxkbcommon wayland
 else
 MPV_CONF_OPTS += --disable-wayland
 endif
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 mpv: fix wayland deps

Hello,

Quoted 9 lines · Gustavo Zacarias

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/

---
 package/mpv/Config.in | 2 ++
 package/mpv/mpv.mk    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com