mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
558172d418
Workaround source_root being the root directory of all projects in the subproject case. Remove now unneeded getpluginsdir and define c++ tests in the same loop. Bump meson requirement to 0.35
57 lines
1.3 KiB
Meson
57 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,
|
|
)
|
|
|
|
gst_tag_dir = meson.current_source_dir()
|