summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authordudemanguy <random342@airmail.cc>2019-09-19 15:37:00 -0500
committerJan Ekström <jeebjp@gmail.com>2019-09-21 23:02:48 +0300
commitdab28158eea42ba438ee885f3dca31503b975f93 (patch)
tree865b5ffec4303902d4c4b0a19572009449588c13 /wscript
parent5858e3cdbd6fbae3ed80366912dd5df0af4fa126 (diff)
downloadmpv-dab28158eea42ba438ee885f3dca31503b975f93.tar.bz2
mpv-dab28158eea42ba438ee885f3dca31503b975f93.tar.xz
waf: fix wayland-scanner deprecation warning
Use `private-code` instead of `code` here. Also this bumps up the required wayland-client/wayland-cursor version to 1.15 which is still pretty old anyway.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 0fa0480f55..1f70bb7106 100644
--- a/wscript
+++ b/wscript
@@ -576,8 +576,8 @@ video_output_features = [
'name': '--wayland',
'desc': 'Wayland',
'deps': 'wayland-protocols && wayland-scanner',
- 'func': check_pkg_config('wayland-client', '>= 1.6.0',
- 'wayland-cursor', '>= 1.6.0',
+ 'func': check_pkg_config('wayland-client', '>= 1.15.0',
+ 'wayland-cursor', '>= 1.15.0',
'xkbcommon', '>= 0.3.0'),
} , {
'name': '--x11',