mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
13 lines
460 B
Meson
13 lines
460 B
Meson
sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: get_option('sndfile'))
|
|
|
|
if sndfile_dep.found()
|
|
gstsndfile = library('gstsndfile',
|
|
'gstsf.c', 'gstsfelement.c', 'gstsfdec.c', # 'gstsfsink.c', 'gstsfsrc.c',
|
|
c_args: gst_plugins_bad_args,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies: [gstaudio_dep, gst_dep, sndfile_dep],
|
|
install: true,
|
|
install_dir: plugins_install_dir,
|
|
)
|
|
plugins += [gstsndfile]
|
|
endif
|