mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
29 lines
784 B
Meson
29 lines
784 B
Meson
matroska_sources = [
|
|
'ebml-read.c',
|
|
'ebml-write.c',
|
|
'gstmatroskaelement.c',
|
|
'matroska.c',
|
|
'matroska-demux.c',
|
|
'matroska-parse.c',
|
|
'matroska-ids.c',
|
|
'matroska-mux.c',
|
|
'matroska-read-common.c',
|
|
'webm-mux.c',
|
|
'lzo.c',
|
|
]
|
|
|
|
bz2_dep = cc.find_library('bz2', required : get_option('bz2'))
|
|
cdata.set('HAVE_BZ2', bz2_dep.found() and cc.has_header('bzlib.h'))
|
|
|
|
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,
|
|
gst_dep, zlib_dep, bz2_dep, libm],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstmatroska]
|