diff --git a/wscript b/wscript index 981f55b163..1b1372ee5a 100644 --- a/wscript +++ b/wscript @@ -355,19 +355,20 @@ iconv support use --disable-iconv.", 'name': '--lcms2', 'desc': 'LCMS2 support', 'func': check_pkg_config('lcms2', '>= 2.6'), - }, { - 'name': 'vapoursynth-core', - 'desc': 'VapourSynth filter bridge (core)', - 'func': check_pkg_config('vapoursynth >= 24'), }, { 'name': '--vapoursynth', 'desc': 'VapourSynth filter bridge (Python)', - 'deps': ['vapoursynth-core'], - 'func': check_pkg_config('vapoursynth-script >= 23'), + 'func': check_pkg_config('vapoursynth', '>= 24', + 'vapoursynth-script', '>= 23'), }, { 'name': '--vapoursynth-lazy', 'desc': 'VapourSynth filter bridge (Lazy Lua)', - 'deps': ['vapoursynth-core', 'lua'], + 'deps': ['lua'], + 'func': check_pkg_config('vapoursynth', '>= 24'), + }, { + 'name': 'vapoursynth-core', + 'desc': 'VapourSynth filter bridge (core)', + 'deps_any': ['vapoursynth', 'vapoursynth-lazy'], 'func': check_true, }, { 'name': '--libarchive',