gstreamer/gst-libs/gst/fft/meson.build
Nirbheek Chauhan a9cab426d0 meson: Maintain macOS ABI through dylib versioning
Requires Meson 0.48, but the feature will be ignored on older versions
so it's safe to add it without bumping the requirement.

Documentation:
https://github.com/mesonbuild/meson/blob/master/docs/markdown/Reference-manual.md#shared_library
2018-08-31 14:40:43 +05:30

41 lines
851 B
Meson

fft_sources = [
'gstfft.c',
'gstffts16.c',
'gstffts32.c',
'gstfftf32.c',
'gstfftf64.c',
'kiss_fft_s16.c',
'kiss_fft_s32.c',
'kiss_fft_f32.c',
'kiss_fft_f64.c',
'kiss_fftr_s16.c',
'kiss_fftr_s32.c',
'kiss_fftr_f32.c',
'kiss_fftr_f64.c'
]
fft_headers = [
'fft.h',
'fft-prelude.h',
'gstfftf32.h',
'gstfftf64.h',
'gstfft.h',
'gstffts16.h',
'gstffts32.h',
]
install_headers(fft_headers, subdir : 'gstreamer-1.0/gst/fft/')
gstfft = library('gstfft-@0@'.format(api_version),
fft_sources,
c_args : gst_plugins_base_args,
include_directories: [configinc, libsinc],
version : libversion,
soversion : soversion,
darwin_versions : osxversion,
install : true,
dependencies : [gst_dep, libm],
)
fft_dep = declare_dependency(link_with: gstfft,
include_directories : [libsinc],
dependencies : [gst_dep])