diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-10-01 21:16:49 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-10-03 19:36:02 +0100 |
commit | 68f9ee7e0b3fdddfa42fa11a15d9ae84460d5e19 (patch) | |
tree | 91b3c4dd976c54a241dc17d04ccdd15e1cf70ff8 /wscript | |
parent | 980116360b0f393e16064ec3b7a4ef9efb14372e (diff) | |
download | mpv-68f9ee7e0b3fdddfa42fa11a15d9ae84460d5e19.tar.bz2 mpv-68f9ee7e0b3fdddfa42fa11a15d9ae84460d5e19.tar.xz |
wayland_common: rewrite from scratch
The wayland code was written more than 4 years ago when wayland wasn't
even at version 1.0. This commit rewrites everything in a more modern way,
switches to using the new xdg v6 shell interface which solves a lot of bugs
and makes mpv tiling-friedly, adds support for drag and drop, adds support
for touchscreens, adds support for KDE's server decorations protocol,
and finally adds support for the new idle-inhibitor protocol.
It does not yet use the frame callback as a main rendering loop driver,
this will happen with a later commit.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -594,8 +594,17 @@ video_output_features = [ 'deps': 'gbm.h', 'func': check_pkg_config('gbm'), } , { + 'name': '--wayland-scanner', + 'desc': 'wayland-scanner', + 'func': check_program('wayland-scanner', 'WAYSCAN') + } , { + 'name': '--wayland-protocols', + 'desc': 'wayland-protocols', + 'func': check_wl_protocols + } , { 'name': '--wayland', 'desc': 'Wayland', + 'deps': 'wayland-protocols && wayland-scanner', 'func': check_pkg_config('wayland-client', '>= 1.6.0', 'wayland-cursor', '>= 1.6.0', 'xkbcommon', '>= 0.3.0'), |