mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
7271410391
If the option is set to auto, it shouldn't fail if the dependency is missing. Fixes #3266 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6060>
23 lines
717 B
Meson
23 lines
717 B
Meson
analyticsoverlay_sources = [
|
|
'gstanalyticsoverlay.c',
|
|
'gstobjectdetectionoverlay.c',
|
|
]
|
|
|
|
gstanalyticsoverlay_ext_dep = dependency('pangocairo', version : '>=1.22.0',
|
|
required : get_option('analyticsoverlay'),
|
|
fallback: ['pango', 'libpangocairo_dep'],
|
|
default_options: ['cairo=enabled'])
|
|
|
|
if gstanalyticsoverlay_ext_dep.found()
|
|
gstanalyticsoverlay = library('gstanalyticsoverlay',
|
|
analyticsoverlay_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [
|
|
gstbase_dep, gstvideo_dep, gstanalytics_dep, gstanalyticsoverlay_ext_dep
|
|
],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstanalyticsoverlay]
|
|
endif
|