summaryrefslogtreecommitdiff
path: root/ext/smoothstreaming/meson.build
blob: e1358cf61ce3e7d6333fb451e80dea16e3031d17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
smoothstreaming_sources = [
  'gstmssdemux.c',
  'gstmssmanifest.c',
  'gstmssfragmentparser.c',
  'gstsmoothstreaming-plugin.c',
]

xml28_dep = dependency('libxml-2.0', version : '>= 2.8', required : false)

if xml28_dep.found()
  gstmss = library('gstsmoothstreaming',
    smoothstreaming_sources,
    c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
    link_args : noseh_link_args,
    include_directories : [configinc, libsinc],
    dependencies : [gst_dep, gstadaptivedemux_dep, gstcodecparsers_dep,
		    gsturidownloader_dep, gstisoff_dep, xml28_dep, gio_dep],
    install : true,
    install_dir : plugins_install_dir,
  )
  pkgconfig.generate(gstmss, install_dir : plugins_pkgconfig_install_dir)
endif