Wayland MPV instructions
MPV (or the mplayer2 patches) maintains X11 dependency for video functionality. The gl video output depends on libGL which in turn depends on X11. Mesa must be compiled with "--enable-glx" (and therefore depends on X11) in order for MPV video output to work.
git clone git://github.com/mpv-player/mpv.git ./configure --disable-x11 --disable-sdl --enable-wayland --disable-libass make sudo make install