From 6d712d17e7e309521643a898e0745d1c31ca17f2 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Wed, 9 Nov 2022 08:26:49 +0300 Subject: [PATCH] meson: libcamera: remove libdrm dependency Seems to no longer be used in plugin headers, thus not a direct dependency. --- spa/plugins/libcamera/meson.build | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/spa/plugins/libcamera/meson.build b/spa/plugins/libcamera/meson.build index abb1a42cf..afc2f8311 100644 --- a/spa/plugins/libcamera/meson.build +++ b/spa/plugins/libcamera/meson.build @@ -5,13 +5,8 @@ libcamera_sources = [ 'libcamera-source.cpp' ] -libdrm_dep = dependency('libdrm', version : '>= 2.4.98', - required : get_option('libcamera')) -summary({'libdrm': libdrm_dep.found()}, bool_yn: true, section: 'Backend') -if libdrm_dep.found() - libcameralib = shared_library('spa-libcamera', - libcamera_sources, - dependencies : [ spa_dep, libudev_dep, libcamera_dep, pthread_lib, libdrm_dep ], - install : true, - install_dir : spa_plugindir / 'libcamera') -endif +libcameralib = shared_library('spa-libcamera', + libcamera_sources, + dependencies : [ spa_dep, libudev_dep, libcamera_dep, pthread_lib ], + install : true, + install_dir : spa_plugindir / 'libcamera')