mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
22 lines
593 B
Meson
22 lines
593 B
Meson
alsa_sources = [
|
|
'gstalsa.c',
|
|
'gstalsadeviceprobe.c',
|
|
'gstalsamidisrc.c',
|
|
'gstalsaplugin.c',
|
|
'gstalsasink.c',
|
|
'gstalsasrc.c',
|
|
]
|
|
|
|
alsa_dep = dependency('alsa', version : '>=0.9.1', required : false)
|
|
|
|
if alsa_dep.found()
|
|
gstalsa = library('gstalsa',
|
|
alsa_sources,
|
|
c_args : gst_plugins_base_args,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies : glib_deps + [alsa_dep, audio_dep, tag_dep, gst_dep, gst_base_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstalsa, install_dir : plugins_pkgconfig_install_dir)
|
|
endif
|