2016-08-12 15:26:31 +00:00
|
|
|
ogg_sources = [
|
|
|
|
'dirac_parse.c',
|
|
|
|
'gstoggaviparse.c',
|
2020-08-11 15:47:02 +00:00
|
|
|
'gstoggplugin.c',
|
2016-08-12 15:26:31 +00:00
|
|
|
'gstoggdemux.c',
|
|
|
|
'gstoggmux.c',
|
|
|
|
'gstoggparse.c',
|
|
|
|
'gstoggstream.c',
|
|
|
|
'gstogmparse.c',
|
|
|
|
'vorbis_parse.c',
|
|
|
|
]
|
|
|
|
|
2021-10-16 12:29:28 +00:00
|
|
|
ogg_dep = dependency('ogg', allow_fallback: true, version : '>=1.0', required : get_option('ogg'))
|
2016-08-12 15:26:31 +00:00
|
|
|
core_conf.set('HAVE_OGG', ogg_dep.found())
|
|
|
|
|
|
|
|
if ogg_dep.found()
|
|
|
|
gstogg = library('gstogg',
|
|
|
|
ogg_sources,
|
|
|
|
c_args : gst_plugins_base_args,
|
|
|
|
link_args : noseh_link_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [ogg_dep, audio_dep, pbutils_dep, tag_dep, riff_dep, gst_dep, gst_base_dep],
|
2016-08-12 15:26:31 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-10-22 06:17:24 +00:00
|
|
|
plugins += [gstogg]
|
2016-08-12 15:26:31 +00:00
|
|
|
endif
|