summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2018-04-29 12:51:28 +0300
committerJan Ekström <jeebjp@gmail.com>2018-04-29 14:52:47 +0300
commit044f1ffcd546b14096aab0828b3e8c0d52d13927 (patch)
tree64eaef8ede7303253262bd1c4317fe347280956c
parent76211609e3c589dafe3ef9a36cacc06e8f56de09 (diff)
downloadmpv-044f1ffcd546b14096aab0828b3e8c0d52d13927.tar.bz2
mpv-044f1ffcd546b14096aab0828b3e8c0d52d13927.tar.xz
build: bump wayland-protocols requirement to 1.12+
The stable xdg-shell protocol is only available from this version.
-rw-r--r--waftools/checks/custom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py
index 698742406f..a80ab8d2ed 100644
--- a/waftools/checks/custom.py
+++ b/waftools/checks/custom.py
@@ -85,7 +85,7 @@ def check_lua(ctx, dependency_identifier):
def check_wl_protocols(ctx, dependency_identifier):
def fn(ctx, dependency_identifier):
- ret = check_pkg_config_datadir("wayland-protocols")
+ ret = check_pkg_config_datadir("wayland-protocols", ">= 1.12")
ret = ret(ctx, dependency_identifier)
if ret != None:
ctx.env.WL_PROTO_DIR = ret.split()[0]