meson: Pass python=false to libxml2
We don't need this in gstreamer anyway. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4510 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9438>
This commit is contained in:
parent
009192bde4
commit
eef8ec6e47
@ -115,7 +115,7 @@ gstvalidate_dep = dependency('gstreamer-validate-1.0', version : gst_req, requir
|
|||||||
gio_dep = dependency('gio-2.0', version: glib_req)
|
gio_dep = dependency('gio-2.0', version: glib_req)
|
||||||
gmodule_dep = dependency('gmodule-no-export-2.0')
|
gmodule_dep = dependency('gmodule-no-export-2.0')
|
||||||
libdl = cc.find_library('dl', required: false)
|
libdl = cc.find_library('dl', required: false)
|
||||||
libxml_dep = dependency('libxml-2.0', required: get_option('xptv'))
|
libxml_dep = dependency('libxml-2.0', required: get_option('xptv'), default_options: {'python': false})
|
||||||
cdata.set('DISABLE_XPTV', not libxml_dep.found())
|
cdata.set('DISABLE_XPTV', not libxml_dep.found())
|
||||||
|
|
||||||
# TODO Properly port to Gtk 3
|
# TODO Properly port to Gtk 3
|
||||||
|
@ -79,8 +79,8 @@ plugin_sources += {
|
|||||||
|
|
||||||
xml2_dep = dependency('libxml-2.0',
|
xml2_dep = dependency('libxml-2.0',
|
||||||
version : '>= 2.8',
|
version : '>= 2.8',
|
||||||
fallback : 'libxml2',
|
required : get_option('dash'),
|
||||||
required : get_option('dash')
|
default_options: {'python': false},
|
||||||
)
|
)
|
||||||
|
|
||||||
if xml2_dep.found()
|
if xml2_dep.found()
|
||||||
|
@ -20,7 +20,8 @@ plugin_sources += {
|
|||||||
'smoothstreaming': pathsep.join(doc_sources)
|
'smoothstreaming': pathsep.join(doc_sources)
|
||||||
}
|
}
|
||||||
|
|
||||||
xml28_dep = dependency('libxml-2.0', version : '>= 2.8', required : get_option('smoothstreaming'))
|
xml28_dep = dependency('libxml-2.0', version: '>= 2.8', required: get_option('smoothstreaming'),
|
||||||
|
default_options: {'python': false})
|
||||||
|
|
||||||
if xml28_dep.found()
|
if xml28_dep.found()
|
||||||
gstmss = library('gstsmoothstreaming',
|
gstmss = library('gstsmoothstreaming',
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
libxml_dep = dependency('libxml-2.0', version : '>= 2.9.2', required : get_option('ttml'))
|
libxml_dep = dependency('libxml-2.0', version : '>= 2.9.2', required : get_option('ttml'),
|
||||||
|
default_options: {'python': false})
|
||||||
pango_dep = dependency('pango', required : get_option('ttml'))
|
pango_dep = dependency('pango', required : get_option('ttml'))
|
||||||
cairo_dep = dependency('cairo', required : get_option('ttml'))
|
cairo_dep = dependency('cairo', required : get_option('ttml'))
|
||||||
pangocairo_dep = dependency('pangocairo', required : get_option('ttml'))
|
pangocairo_dep = dependency('pangocairo', required : get_option('ttml'))
|
||||||
|
@ -124,7 +124,8 @@ if soup_lookup_dep and not libsoup3_dep.found() and not libsoup2_dep.found()
|
|||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
adaptive_xml2_dep = dependency('libxml-2.0', version : '>= 2.8', allow_fallback: true, required: adaptivedemux2_opt)
|
adaptive_xml2_dep = dependency('libxml-2.0', version : '>= 2.8', allow_fallback: true,
|
||||||
|
default_options: {'python': false}, required: adaptivedemux2_opt)
|
||||||
|
|
||||||
if not adaptive_xml2_dep.found()
|
if not adaptive_xml2_dep.found()
|
||||||
message(f'Not building adaptivedemux2 plugin: libxml2 is needed')
|
message(f'Not building adaptivedemux2 plugin: libxml2 is needed')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user