0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

wscript: remove some bogus configure options

It turns out that wayland-scanner and wayland-protocols are both exposed
as configure options in waf meaning you can --enable/--disable them at
configure time. This is pretty nonsensical. If you want to control
wayland in the build, you should just use --enable-/--disable-wayland.
wayland-scanner and wayland-protocols should just be typical checks like
in the meson build.
This commit is contained in:
Dudemanguy 2022-10-16 09:36:21 -05:00
parent cdcbd7372d
commit 48ad2278c7

View File

@ -516,11 +516,11 @@ video_output_features = [
'deps': 'gbm.h',
'func': check_pkg_config('gbm', '>= 17.1.0'),
} , {
'name': '--wayland-scanner',
'name': 'wayland-scanner',
'desc': 'wayland-scanner',
'func': check_program('wayland-scanner', 'WAYSCAN')
} , {
'name': '--wayland-protocols',
'name': 'wayland-protocols',
'desc': 'wayland-protocols',
'func': check_wl_protocols
} , {