2016-08-12 15:42:30 +00:00
|
|
|
matroska_sources = [
|
|
|
|
'ebml-read.c',
|
|
|
|
'ebml-write.c',
|
2021-02-16 10:14:17 +00:00
|
|
|
'gstmatroskaelement.c',
|
2016-08-12 15:42:30 +00:00
|
|
|
'matroska.c',
|
|
|
|
'matroska-demux.c',
|
|
|
|
'matroska-parse.c',
|
|
|
|
'matroska-ids.c',
|
|
|
|
'matroska-mux.c',
|
|
|
|
'matroska-read-common.c',
|
|
|
|
'webm-mux.c',
|
|
|
|
'lzo.c',
|
|
|
|
]
|
|
|
|
|
2018-07-25 02:05:28 +00:00
|
|
|
bz2_dep = cc.find_library('bz2', required : get_option('bz2'))
|
2019-04-21 11:12:28 +00:00
|
|
|
cdata.set('HAVE_BZ2', bz2_dep.found() and cc.has_header('bzlib.h'))
|
2018-07-25 02:05:28 +00:00
|
|
|
|
2016-08-12 15:42:30 +00:00
|
|
|
gstmatroska = library('gstmatroska',
|
|
|
|
matroska_sources,
|
|
|
|
c_args : gst_plugins_good_args,
|
|
|
|
link_args : noseh_link_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstpbutils_dep, gstaudio_dep, gstriff_dep,
|
|
|
|
gstvideo_dep, gsttag_dep, gstbase_dep,
|
2018-07-25 02:05:28 +00:00
|
|
|
gst_dep, zlib_dep, bz2_dep, libm],
|
2016-08-12 15:42:30 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:06:10 +00:00
|
|
|
pkgconfig.generate(gstmatroska, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:39:55 +00:00
|
|
|
plugins += [gstmatroska]
|