mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
https://github.com/mesonbuild/meson With contributions from: Tim-Philipp Müller <tim@centricular.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.3 KiB
Meson
54 lines
1.3 KiB
Meson
tag_sources = [
|
|
'gstvorbistag.c',
|
|
'gstid3tag.c',
|
|
'gstxmptag.c',
|
|
'gstexiftag.c',
|
|
'lang.c',
|
|
'licenses.c',
|
|
'tags.c',
|
|
'gsttagdemux.c',
|
|
'gsttagmux.c',
|
|
'gsttageditingprivate.c',
|
|
'id3v2.c',
|
|
'id3v2frames.c',
|
|
'xmpwriter.c',
|
|
]
|
|
|
|
tag_headers = [
|
|
'gsttagdemux.h',
|
|
'gsttagmux.h',
|
|
'tag.h',
|
|
'xmpwriter.h',
|
|
]
|
|
install_headers(tag_headers, subdir : 'gstreamer-1.0/gst/tag/')
|
|
|
|
gsttag = library('gsttag-@0@'.format(api_version),
|
|
tag_sources,
|
|
c_args : gst_plugins_base_args,
|
|
include_directories: [configinc, libsinc],
|
|
version : libversion,
|
|
soversion : soversion,
|
|
install : true,
|
|
dependencies : [gst_base_dep, libm],
|
|
vs_module_defs: vs_module_defs_dir + 'libgsttag.def',
|
|
)
|
|
# TODO: generate gir
|
|
|
|
tag_dep = declare_dependency(link_with: gsttag,
|
|
include_directories : [libsinc],
|
|
dependencies : [gst_base_dep])
|
|
|
|
# FIXME: iso-codes stuff
|
|
# little program that reads iso_639.xml and outputs tables for us as fallback
|
|
# for when iso-codes are not available (and so we don't have to read the xml
|
|
# just to map codes)
|
|
#executable('mklangtables', 'mklangtables.c',
|
|
# dependencies : gst_dep,
|
|
# install : false,
|
|
#)
|
|
executable('mklicensestables', 'mklicensestables.c',
|
|
c_args : gst_plugins_base_args,
|
|
include_directories: [configinc],
|
|
dependencies : [tag_dep, gst_base_dep],
|
|
install : false,
|
|
)
|