gstreamer/subprojects/gst-devtools/validate/gst-libs/gst/video/meson.build
Nirbheek Chauhan f3ad7d1b49 gst-devtools: Add a cairo option for the cairo dep
So that it can be explicitly disabled to avoid pulling in pixman which
doesn't build on Windows ARM64 yet.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1570>
2022-01-28 02:01:39 +05:30

18 lines
661 B
Meson

validate_video_dep = dependency('', required: false)
cairo_dep = dependency('cairo-png', required: get_option('cairo'), fallback: 'cairo')
if cairo_dep.found()
video = static_library(
'gstvalidatevideo',
'gstvalidatessim.c', 'gssim.c',
include_directories : inc_dirs,
dependencies : [gst_dep, gst_video_dep, gst_pbutils_dep, glib_dep, cairo_dep, gio_dep,
mathlib],
)
validate_video_dep = declare_dependency(
link_with : video,
include_directories : inc_dirs,
dependencies : [gst_dep, gst_video_dep, gst_pbutils_dep, glib_dep, cairo_dep, gio_dep,
mathlib],
)
endif