mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
801a2243e5
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-good/-/merge_requests/876>
26 lines
736 B
Meson
26 lines
736 B
Meson
speex_sources = [
|
|
'gstspeexelement.c',
|
|
'gstspeex.c',
|
|
'gstspeexdec.c',
|
|
'gstspeexenc.c',
|
|
]
|
|
|
|
speex_dep = dependency('speex', version : '>=1.1.6', required : get_option('speex'))
|
|
windows_args = []
|
|
if host_system == 'windows'
|
|
windows_args = ['-DWIN32']
|
|
endif
|
|
|
|
if speex_dep.found()
|
|
gstspeex = library('gstspeex',
|
|
speex_sources,
|
|
c_args : gst_plugins_good_args + ['-DGST_USE_UNSTABLE_API'] + windows_args,
|
|
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)
|
|
plugins += [gstspeex]
|
|
endif
|