gstreamer/ext/pulse/meson.build
2019-05-13 11:34:56 -04:00

22 lines
623 B
Meson

pulse_sources = [
'plugin.c',
'pulsesink.c',
'pulsesrc.c',
'pulsedeviceprovider.c',
'pulseutil.c',
]
libpulse_dep = dependency('libpulse', version : '>=2.0', required : get_option('pulse'))
if libpulse_dep.found()
gstpulse = library('gstpulseaudio',
pulse_sources,
c_args : gst_plugins_good_args,
include_directories : [configinc, libsinc],
dependencies : [gst_dep, gstbase_dep, gstaudio_dep, gstpbutils_dep, libpulse_dep],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstpulse, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstpulse]
endif