1ogg_sources = [ 2 'dirac_parse.c', 3 'gstoggaviparse.c', 4 'gstoggplugin.c', 5 'gstoggdemux.c', 6 'gstoggmux.c', 7 'gstoggparse.c', 8 'gstoggstream.c', 9 'gstogmparse.c', 10 'vorbis_parse.c', 11] 12 13ogg_dep = dependency('ogg', allow_fallback: true, version : '>=1.0', required : get_option('ogg')) 14core_conf.set('HAVE_OGG', ogg_dep.found()) 15 16if ogg_dep.found() 17 gstogg = library('gstogg', 18 ogg_sources, 19 c_args : gst_plugins_base_args, 20 link_args : noseh_link_args, 21 include_directories: [configinc, libsinc], 22 dependencies : glib_deps + [ogg_dep, audio_dep, pbutils_dep, tag_dep, riff_dep, gst_dep, gst_base_dep], 23 install : true, 24 install_dir : plugins_install_dir, 25 ) 26 pkgconfig.generate(gstogg, install_dir : plugins_pkgconfig_install_dir) 27 plugins += [gstogg] 28endif 29