mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
20 lines
579 B
Meson
20 lines
579 B
Meson
speex_sources = [
|
|
'gstspeex.c',
|
|
'gstspeexdec.c',
|
|
'gstspeexenc.c',
|
|
]
|
|
|
|
speex_dep = dependency('speex', version : '>=1.1.6', required : false)
|
|
|
|
if speex_dep.found()
|
|
gstspeex = library('gstspeex',
|
|
speex_sources,
|
|
c_args : gst_plugins_good_args + ['-DGST_USE_UNSTABLE_API'],
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstbase_dep, gsttag_dep, gstaudio_dep, speex_dep, libm],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstspeex, install_dir : plugins_pkgconfig_install_dir)
|
|
endif
|