From 0d674d3abc71c48847b21e7580aad5152cc7dad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 4 Dec 2024 13:35:08 +0200 Subject: [PATCH] subprojects: ntv2: Add check for libudev Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4079 Part-of: --- subprojects/packagefiles/ntv2/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/packagefiles/ntv2/meson.build b/subprojects/packagefiles/ntv2/meson.build index 816773538e..586344be90 100644 --- a/subprojects/packagefiles/ntv2/meson.build +++ b/subprojects/packagefiles/ntv2/meson.build @@ -42,6 +42,7 @@ configure_file(input : 'ajantv2/includes/ntv2version.h.in', thread_dep = dependency('threads') rt_dep = cxx.find_library('rt', required : false) dl_dep = cxx.find_library('dl', required : false) +libudev_dep = dependency('libudev', required: true) ajantv2_sources = [ 'ajaanc/src/ancillarydata.cpp', @@ -178,7 +179,7 @@ ajantv2_inc = include_directories( libajantv2 = static_library( 'libajantv2', sources: ajantv2_sources, - dependencies : [thread_dep, rt_dep, dl_dep], + dependencies : [thread_dep, rt_dep, dl_dep, libudev_dep], cpp_args: [ajantv2_args, common_flags], include_directories: ajantv2_inc, pic: true,