gstreamer/ext/alsa/meson.build
Stéphane Cerveau 4a2981f906 alsa: allow per feature registration
Split plugin into features including
elements and device providers which
can be indiviually registered during
a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/900>
2020-12-10 13:01:57 +00:00

24 lines
654 B
Meson

alsa_sources = [
'gstalsa.c',
'gstalsadeviceprovider.c',
'gstalsamidisrc.c',
'gstalsaelement.c',
'gstalsaplugin.c',
'gstalsasink.c',
'gstalsasrc.c',
]
alsa_dep = dependency('alsa', version : '>=0.9.1', required : get_option('alsa'))
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)
plugins += [gstalsa]
endif