mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
b004464ac6
They are part of gst_dep already and we have to make sure to always have gst_dep. The order in dependencies matters, because it is also the order in which Meson will set -I args. We want gstreamer's config.h to take precedence over glib's private config.h when it's a subproject. While at it, remove useless fallback args for gmodule/gio dependencies, only gstreamer core needs it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2031>
18 lines
641 B
Meson
18 lines
641 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, 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, cairo_dep, gio_dep,
|
|
mathlib],
|
|
)
|
|
endif
|