gstreamer/gst/mpegtsdemux/meson.build
Thibault Saunier 50473d77cc meson: Make mpegts lib build when using subprojects
The headers passed as parametter are relative to the build dir
basically "../subproject/gst-plugins-bad/gst-libs/gst/mpegts/XXX.h"
but that does not match what is needed at build time when building as
subproject, also we always add current dir as include_dir so we are
safe including directly.

And link mpegtsdemux against the 'math' library as it is needed.
2016-08-25 15:17:17 -03:00

18 lines
483 B
Meson

tsdemux_sources = [
'mpegtspacketizer.c',
'mpegtsbase.c',
'mpegtsparse.c',
'tsdemux.c',
'gsttsdemux.c',
'pesparse.c',
]
gstmpegtsdemux = library('gstmpegtsdemux',
tsdemux_sources,
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
include_directories : [configinc, libsinc],
dependencies : [gstcodecparsers_dep, gstmpegts_dep, gsttag_dep,
gstpbutils_dep, gstaudio_dep, gstbase_dep, mathlib],
install : true,
install_dir : plugins_install_dir,
)