From 577df3a02f7f26283b2749c58ae7738bbdf4be4c Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 13 Sep 2024 14:37:10 +0530 Subject: [PATCH] meson: Re-added required: lines accidentally removed Broke in e3f086c648171c3c993f5dd73e2d025480c3729e Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3801 Part-of: --- subprojects/gstreamer-vaapi/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subprojects/gstreamer-vaapi/meson.build b/subprojects/gstreamer-vaapi/meson.build index 5b4a0bbbd7..e0f8cd19ff 100644 --- a/subprojects/gstreamer-vaapi/meson.build +++ b/subprojects/gstreamer-vaapi/meson.build @@ -80,9 +80,9 @@ else endif libva_dep = dependency('libva', version: libva_req) -libva_drm_dep = dependency('libva-drm', version: libva_req) -libva_wayland_dep = dependency('libva-wayland', version: libva_req) -libva_x11_dep = dependency('libva-x11', version: libva_req) +libva_drm_dep = dependency('libva-drm', required: get_option('drm'), version: libva_req) +libva_wayland_dep = dependency('libva-wayland', required: get_option('wayland'), version: libva_req) +libva_x11_dep = dependency('libva-x11', required: get_option('x11'), version: libva_req) libdrm_dep = dependency('libdrm', version: libdrm_req, required: get_option('drm')) libudev_dep = dependency('libudev', required: get_option('drm'))