summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/wscript b/wscript
index 6707f77198..941131cf4c 100644
--- a/wscript
+++ b/wscript
@@ -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'),