mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
42af2d66d8
https://github.com/mesonbuild/meson With contributions from: Tim-Philipp Müller <tim@centricular.com> Matej Knopp <matej.knopp@gmail.com> Jussi Pakkanen <jpakkane@gmail.com> (original port) Highlights of the features provided are: * Faster builds on Linux (~40-50% faster) * The ability to build with MSVC on Windows * Generate Visual Studio project files * Generate XCode project files * Much faster builds on Windows (on-par with Linux) * Seriously fast configure and building on embedded ... and many more. For more details see: http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html Building with Meson should work on both Linux and Windows, but may need a few more tweaks on other operating systems.
54 lines
1.4 KiB
Meson
54 lines
1.4 KiB
Meson
codecparser_sources = [
|
|
'gstjpeg2000sampling.c',
|
|
'gstjpegparser.c',
|
|
'gstmpegvideoparser.c',
|
|
'gsth264parser.c',
|
|
'gstvc1parser.c',
|
|
'gstmpeg4parser.c',
|
|
'gsth265parser.c',
|
|
'gstvp8parser.c',
|
|
'gstvp8rangedecoder.c',
|
|
'gstvp9parser.c',
|
|
'vp9utils.c',
|
|
'parserutils.c',
|
|
'nalutils.c',
|
|
'dboolhuff.c',
|
|
'vp8utils.c',
|
|
'gstmpegvideometa.c',
|
|
]
|
|
codecparser_headers = [
|
|
'gstmpegvideoparser.h',
|
|
'gsth264parser.h',
|
|
'gstvc1parser.h',
|
|
'gstmpeg4parser.h',
|
|
'gsth265parser.h',
|
|
'gstvp8parser.h',
|
|
'gstvp8rangedecoder.h',
|
|
'gstjpeg2000sampling.h',
|
|
'gstjpegparser.h',
|
|
'gstmpegvideometa.h',
|
|
'gstvp9parser.h',
|
|
]
|
|
install_headers(codecparser_headers, subdir : 'gstreamer-1.0/gst/codecparsers')
|
|
|
|
cp_args = [
|
|
'-DGST_USE_UNSTABLE_API',
|
|
'-Dvp8_norm=gst_codecparsers_vp8_norm',
|
|
'-Dvp8dx_start_decode=gst_codecparsers_vp8dx_start_decode',
|
|
'-Dvp8dx_bool_decoder_fill=gst_codecparsers_vp8dx_bool_decoder_fill',
|
|
]
|
|
|
|
gstcodecparsers = library('gstcodecparsers-' + api_version,
|
|
codecparser_sources,
|
|
c_args : gst_plugins_bad_args + cp_args,
|
|
include_directories : [configinc, libsinc],
|
|
version : libversion,
|
|
soversion : soversion,
|
|
install : true,
|
|
dependencies : [gstbase_dep, libm],
|
|
vs_module_defs: vs_module_defs_dir + 'libgstcodecparsers.def',
|
|
)
|
|
|
|
gstcodecparsers_dep = declare_dependency(link_with : gstcodecparsers,
|
|
include_directories : [libsinc],
|
|
dependencies : [gstbase_dep])
|