shithub: dav1d

Download patch

ref: e36ebb6fc2a996663e11170e2f91ca4153b12995
parent: b8200c132ae4d3171eac1bd7ef6679d0483d99b9
author: Konstantin Pavlov <thresh@videolan.org>
date: Fri Mar 6 18:35:52 EST 2020

examples: fail when SDL is not found

Now when -Denable_examples=true is requested, meson will fail as
expected if there is no SDL available.

--- a/examples/meson.build
+++ b/examples/meson.build
@@ -37,7 +37,7 @@
     'dav1dplay.c',
 )
 
-sdl2_dependency = dependency('sdl2', version: '>= 2.0.1', required: false)
+sdl2_dependency = dependency('sdl2', version: '>= 2.0.1', required: true)
 
 if sdl2_dependency.found()
     placebo_dependency = dependency('libplacebo', version: '>= 1.18.0', required: false)