Created attachment 187194 [details]
This patch adds a WAYLAND option.
Tested on the rootston compositor (https://github.com/swaywm/wlroots).
(In reply to Greg V from comment #0)
You forgot to remove --disable-wayland from CONFIGURE_ARGS.
Thanks for the patch!
Have you tried to enable Wayland backend?
Add this line in mpv/Makefile
Be sure that you have enabled Wayland support in graphics/mesa-libs
(In reply to Carlos J. Puga Medina from comment #2)
Even without listing libwayland-egl.so in the makefile, it works on Wayland (rootston compositor running directly on KMS), with vo=opengl.
vo=wayland is a shared memory based fallback for systems without OpenGL (like vo=x11) and it does not work on my machine. It's probably Linux specific.
A commit references this bug:
Date: Sun Oct 15 16:00:45 UTC 2017
New revision: 452155
multimedia/mpv: Add WAYLAND option
- Drop --disable-wayland from CONFIGURE_ARGS
- Bump PORTREVISION
Submitted by: Greg V <email@example.com>
Committed with minor changes, thanks!