mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
22 lines
570 B
Meson
22 lines
570 B
Meson
pulse_sources = [
|
|
'gstpulseelement.c',
|
|
'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,
|
|
)
|
|
plugins += [gstpulse]
|
|
endif
|