2020-10-23 13:40:41 +00:00
|
|
|
validate_video_dep = dependency('', required: false)
|
2022-01-27 05:55:00 +00:00
|
|
|
cairo_dep = dependency('cairo-png', required: get_option('cairo'), fallback: 'cairo')
|
2020-10-23 13:40:41 +00:00
|
|
|
|
2017-01-31 11:24:32 +00:00
|
|
|
if cairo_dep.found()
|
|
|
|
video = static_library(
|
|
|
|
'gstvalidatevideo',
|
|
|
|
'gstvalidatessim.c', 'gssim.c',
|
|
|
|
include_directories : inc_dirs,
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [gst_dep, gst_video_dep, gst_pbutils_dep, cairo_dep, gio_dep,
|
2017-01-31 11:24:32 +00:00
|
|
|
mathlib],
|
|
|
|
)
|
2020-10-23 13:40:41 +00:00
|
|
|
validate_video_dep = declare_dependency(
|
|
|
|
link_with : video,
|
|
|
|
include_directories : inc_dirs,
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [gst_dep, gst_video_dep, gst_pbutils_dep, cairo_dep, gio_dep,
|
2020-10-23 13:40:41 +00:00
|
|
|
mathlib],
|
|
|
|
)
|
2017-01-31 11:24:32 +00:00
|
|
|
endif
|