gstreamer/ext/dash/meson.build
Matthew Waters 0f1ba5b2f2 dash: add build-dep on pbutils
Fixes dependency issues:

FAILED: subprojects/gst-plugins-bad/ext/dash/8bd0b95@@gstdash@sha/gstdashsink.c.obj
cl @subprojects/gst-plugins-bad/ext/dash/8bd0b95@@gstdash@sha/gstdashsink.c.obj.rsp
C:\builds\ystreet\gst-plugins-base\gst-build\subprojects\gst-plugins-base\gst-libs\gst/pbutils/pbutils.h(30): fatal error C1083: Cannot open include file: 'gst/pbutils/pbutils-enumtypes.h': No such file or directory
2020-03-03 06:34:40 +00:00

56 lines
1.6 KiB
Meson

dash_sources = [
'gstdashdemux.c',
'gstmpdnode.c',
'gstmpdrootnode.c',
'gstmpdbaseurlnode.c',
'gstmpdutctimingnode.c',
'gstmpdmetricsnode.c',
'gstmpdmetricsrangenode.c',
'gstmpdsnode.c',
'gstmpdsegmenttimelinenode.c',
'gstmpdsegmenttemplatenode.c',
'gstmpdsegmenturlnode.c',
'gstmpdsegmentlistnode.c',
'gstmpdsegmentbasenode.c',
'gstmpdperiodnode.c',
'gstmpdrepresentationbasenode.c',
'gstmpdmultsegmentbasenode.c',
'gstmpdrepresentationnode.c',
'gstmpdsubrepresentationnode.c',
'gstmpdcontentcomponentnode.c',
'gstmpdadaptationsetnode.c',
'gstmpdsubsetnode.c',
'gstmpdprograminformationnode.c',
'gstmpdlocationnode.c',
'gstmpdreportingnode.c',
'gstmpdurltypenode.c',
'gstmpddescriptortypenode.c',
'gstxmlhelper.c',
'gstmpdhelper.c',
'gstmpdparser.c',
'gstmpdclient.c',
'gstplugin.c',
'gstdashsink.c',
]
xml2_dep = dependency('libxml-2.0',
version : '>= 2.8',
fallback : ['libxml2', 'xml2lib_dep'],
required : get_option('dash')
)
if xml2_dep.found()
gstdashdemux = library('gstdash',
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, gstpbutils_dep, gstbase_dep, gstisoff_dep,
gio_dep, xml2_dep],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstdashdemux, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstdashdemux]
endif