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