mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
1b30f6072a
Split plugin into features including dynamic types 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-bad/-/merge_requests/2038>
14 lines
537 B
Meson
14 lines
537 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,
|
|
)
|
|
pkgconfig.generate(gstsndfile, install_dir: plugins_pkgconfig_install_dir)
|
|
plugins += [gstsndfile]
|
|
endif
|