2016-08-12 15:26:31 +00:00
|
|
|
riff_sources = [
|
|
|
|
'riff.c',
|
|
|
|
'riff-media.c',
|
|
|
|
'riff-read.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
riff_headers = [
|
|
|
|
'riff.h',
|
2018-03-13 11:13:08 +00:00
|
|
|
'riff-prelude.h',
|
2016-08-12 15:26:31 +00:00
|
|
|
'riff-ids.h',
|
|
|
|
'riff-media.h',
|
|
|
|
'riff-read.h',
|
|
|
|
]
|
|
|
|
install_headers(riff_headers, subdir : 'gstreamer-1.0/gst/riff/')
|
|
|
|
|
2016-10-20 20:17:27 +00:00
|
|
|
riff_deps = [audio_dep, tag_dep]
|
2016-08-12 15:26:31 +00:00
|
|
|
gstriff = library('gstriff-@0@'.format(api_version),
|
|
|
|
riff_sources,
|
2021-10-01 14:30:27 +00:00
|
|
|
c_args : gst_plugins_base_args + ['-DBUILDING_GST_RIFF', '-DG_LOG_DOMAIN="GStreamer-RIFF"'],
|
2016-08-12 15:26:31 +00:00
|
|
|
include_directories: [configinc, libsinc],
|
|
|
|
version : libversion,
|
|
|
|
soversion : soversion,
|
2018-08-31 09:06:30 +00:00
|
|
|
darwin_versions : osxversion,
|
2016-08-12 15:26:31 +00:00
|
|
|
install : true,
|
2016-10-20 20:17:27 +00:00
|
|
|
dependencies : riff_deps,
|
2016-08-12 15:26:31 +00:00
|
|
|
)
|
2016-10-20 20:17:27 +00:00
|
|
|
|
2020-06-27 04:39:00 +00:00
|
|
|
pkg_name = 'gstreamer-riff-1.0'
|
2018-04-08 00:52:12 +00:00
|
|
|
pkgconfig.generate(gstriff,
|
|
|
|
libraries : [gst_dep],
|
|
|
|
variables : pkgconfig_variables,
|
|
|
|
subdirs : pkgconfig_subdirs,
|
2020-06-27 04:39:00 +00:00
|
|
|
name : pkg_name,
|
2018-04-08 00:52:12 +00:00
|
|
|
description : 'RIFF helper functions',
|
|
|
|
)
|
|
|
|
|
2016-10-20 20:17:27 +00:00
|
|
|
riff_gen_sources = []
|
2022-09-01 15:51:48 +00:00
|
|
|
gst_libraries += [[pkg_name, {'lib': gstriff}]]
|
2016-10-20 20:17:27 +00:00
|
|
|
|
|
|
|
# *** GIR DISABLED for this library ***
|
|
|
|
# This library does not respect the type naming conventions required to be
|
|
|
|
# usable in binded languages.
|
|
|
|
# if build_gir
|
2017-04-12 14:06:45 +00:00
|
|
|
# gst_gir_extra_args = gir_init_section + [ '--c-include=gst/riff/riff.h' ]
|
2016-10-20 20:17:27 +00:00
|
|
|
# riff_gen_sources += [gnome.generate_gir(gstriff,
|
|
|
|
# sources : riff_sources + riff_headers,
|
|
|
|
# namespace : 'GstRiff',
|
|
|
|
# nsversion : api_version,
|
|
|
|
# identifier_prefix : 'Gst',
|
|
|
|
# symbol_prefix : 'gst',
|
|
|
|
# export_packages : 'gstreamer-riff-1.0',
|
|
|
|
# includes : ['Gst-1.0'],
|
|
|
|
# install : true,
|
2017-04-12 14:06:45 +00:00
|
|
|
# extra_args : gst_gir_extra_args,
|
2016-10-20 20:17:27 +00:00
|
|
|
# dependencies : riff_deps,
|
|
|
|
# )]
|
|
|
|
# endif
|
2016-08-12 15:26:31 +00:00
|
|
|
|
|
|
|
riff_dep = declare_dependency(link_with: gstriff,
|
|
|
|
include_directories : [libsinc],
|
2016-10-20 20:17:27 +00:00
|
|
|
dependencies : riff_deps,
|
|
|
|
sources : riff_gen_sources )
|
2018-04-08 00:52:12 +00:00
|
|
|
|
2020-06-27 04:39:00 +00:00
|
|
|
meson.override_dependency(pkg_name, riff_dep)
|