mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
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>
This commit is contained in:
parent
5b8c1e17e4
commit
f3ad7d1b49
2 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
|||
option('validate', type : 'feature', value : 'auto',
|
||||
description : 'Build GstValidate')
|
||||
option('cairo', type : 'feature', value : 'auto', description : 'Build GstValidateVideo')
|
||||
option('debug_viewer', type : 'feature', value : 'disabled',
|
||||
description : 'Build GstDebugViewer (GPLv3+)')
|
||||
|
||||
# Common feature options
|
||||
option('introspection', type : 'feature', value : 'auto', yield : true,
|
||||
description : 'Generate gobject-introspection bindings')
|
||||
option('tests', type : 'feature', value : 'auto', yield : true,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
validate_video_dep = dependency('', required: false)
|
||||
cairo_dep = dependency('cairo-png', required: false, fallback: 'cairo')
|
||||
cairo_dep = dependency('cairo-png', required: get_option('cairo'), fallback: 'cairo')
|
||||
|
||||
if cairo_dep.found()
|
||||
video = static_library(
|
||||
|
|
Loading…
Reference in a new issue