• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1matroska_sources = [
2  'ebml-read.c',
3  'ebml-write.c',
4  'gstmatroskaelement.c',
5  'matroska.c',
6  'matroska-demux.c',
7  'matroska-parse.c',
8  'matroska-ids.c',
9  'matroska-mux.c',
10  'matroska-read-common.c',
11  'webm-mux.c',
12  'lzo.c',
13]
14
15bz2_dep = cc.find_library('bz2', required : get_option('bz2'))
16cdata.set('HAVE_BZ2', bz2_dep.found() and cc.has_header('bzlib.h'))
17
18gstmatroska = library('gstmatroska',
19  matroska_sources,
20  c_args : gst_plugins_good_args,
21  link_args : noseh_link_args,
22  include_directories : [configinc],
23  dependencies : [gstpbutils_dep, gstaudio_dep, gstriff_dep,
24                  gstvideo_dep, gsttag_dep, gstbase_dep,
25                  gst_dep, zlib_dep, bz2_dep, libm],
26  install : true,
27  install_dir : plugins_install_dir,
28)
29pkgconfig.generate(gstmatroska, install_dir : plugins_pkgconfig_install_dir)
30plugins += [gstmatroska]
31