1alsa_sources = [ 2 'gstalsa.c', 3 'gstalsadeviceprovider.c', 4 'gstalsamidisrc.c', 5 'gstalsaelement.c', 6 'gstalsaplugin.c', 7 'gstalsasink.c', 8 'gstalsasrc.c', 9] 10 11alsa_dep = dependency('alsa', version : '>=0.9.1', required : get_option('alsa')) 12 13if alsa_dep.found() 14 gstalsa = library('gstalsa', 15 alsa_sources, 16 c_args : gst_plugins_base_args, 17 include_directories: [configinc, libsinc], 18 dependencies : glib_deps + [alsa_dep, audio_dep, tag_dep, gst_dep, gst_base_dep], 19 install : true, 20 install_dir : plugins_install_dir, 21 ) 22 pkgconfig.generate(gstalsa, install_dir : plugins_pkgconfig_install_dir) 23 plugins += [gstalsa] 24endif 25