summaryrefslogtreecommitdiff
path: root/ext/dash/meson.build
blob: af58806879f4c8c9293baae59ab0b8d67ebbe8de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
dash_sources = [
  'gstdashdemux.c',
  'gstmpdparser.c',
  'gstplugin.c',
]

xml2_dep = dependency('libxml-2.0', version : '>= 2.8', 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)
  plugins += [gstsouphttpsrc]
endif