Commit 4b29ffdd authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

meson: contain and check simple-dmabuf-egl deps

Check the egl, glesv2 and gbm dependencies locally instead of relying on
the dep_* variables from the top level or
libweston/ (dep_gbm).

This should make these dependencies now explicitly checked when the app
is built, rather than relying on other components doing the checks. If
the drm-backend was disabled, this would have probably hit an error
using the undeclared variable dep_gbm.
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <>
parent a18bd343
......@@ -61,11 +61,9 @@ simple_clients = [
'dep_objs': [
'deps': [ 'egl', 'glesv2', 'gbm' ]
'name': 'dmabuf-v4l',
......@@ -154,9 +154,7 @@ dep_libm = cc.find_library('m')
dep_libdl = cc.find_library('dl')
dep_libdrm = dependency('libdrm', version: '>= 2.4.68')
dep_libdrm_headers = dep_libdrm.partial_dependency(compile_args: true)
dep_egl = dependency('egl', required: false)
dep_wl_egl = dependency('wayland-egl')
dep_glesv2 = dependency('glesv2', required: false)
dep_threads = dependency('threads')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment