else
_va = 'false'
endif
-elif not (with_platform_x11 or dep_libdrm.found())
+elif not (with_platform_x11 or with_platform_drm)
if _va == 'true'
- error('VA state tracker requires X11 platform support or libdrm.')
+ error('VA state tracker requires X11 or drm or wayland platform support.')
else
_va = 'false'
endif
files_libgalliumvlwinsys += files('vl/vl_winsys_dri3.c')
endif
endif
-if dep_libdrm.found()
+if with_platform_drm
files_libgalliumvlwinsys += files('vl/vl_winsys_drm.c')
endif
vl_dri3_screen_create(void *display, int screen) { return NULL; };
#endif
-#ifdef HAVE_LIBDRM
+#ifdef HAVE_DRM_PLATFORM
struct vl_screen *
vl_drm_screen_create(int fd);
#else