gstreamer/ext/dash/meson.build

27 lines
773 B
Meson
Raw Normal View History

dash_sources = [
'gstdashdemux.c',
'gstmpdparser.c',
'gstplugin.c',
]
2019-07-24 18:37:40 +00:00
xml2_dep = dependency('libxml-2.0',
version : '>= 2.8',
fallback : ['libxml2', 'xml2lib_dep'],
required : get_option('dash')
)
if xml2_dep.found()
gstsouphttpsrc = library('gstdashdemux',
dash_sources,
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
link_args : noseh_link_args,
include_directories : [configinc, libsinc],
dependencies : [gstadaptivedemux_dep, gsturidownloader_dep, gsttag_dep,
gstnet_dep, gstbase_dep, gstisoff_dep, gio_dep, xml2_dep],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstsouphttpsrc, install_dir : plugins_pkgconfig_install_dir)
2018-10-22 09:30:45 +00:00
plugins += [gstsouphttpsrc]
endif