meson: build sndfile plugin

This commit is contained in:
Tim-Philipp Müller 2018-12-16 20:27:56 +00:00 committed by Sebastian Dröge
parent 9313470358
commit dd529d0f5d
3 changed files with 15 additions and 1 deletions

View file

@ -46,7 +46,7 @@ subdir('rtmp')
subdir('sbc') subdir('sbc')
subdir('sctp') subdir('sctp')
subdir('smoothstreaming') subdir('smoothstreaming')
#subdir('sndfile') subdir('sndfile')
subdir('soundtouch') subdir('soundtouch')
subdir('spandsp') subdir('spandsp')
subdir('srt') subdir('srt')

13
ext/sndfile/meson.build Normal file
View file

@ -0,0 +1,13 @@
sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: get_option('sndfile'))
if sndfile_dep.found()
gstsndfile = library('gstsndfile',
'gstsf.c', 'gstsfdec.c', # 'gstsfsink.c', 'gstsfsrc.c',
c_args: gst_plugins_bad_args,
include_directories: [configinc],
dependencies: [gstaudio_dep, gst_dep, sndfile_dep],
install: true,
install_dir: plugins_install_dir,
)
pkgconfig.generate(gstsndfile, install_dir: plugins_pkgconfig_install_dir)
endif

View file

@ -130,6 +130,7 @@ option('sbc', type : 'feature', value : 'auto', description : 'SBC bluetooth aud
option('sctp', type : 'feature', value : 'auto', description : 'SCTP plugin') option('sctp', type : 'feature', value : 'auto', description : 'SCTP plugin')
option('shm', type : 'feature', value : 'auto', description : 'Shared memory source/sink plugin') option('shm', type : 'feature', value : 'auto', description : 'Shared memory source/sink plugin')
option('smoothstreaming', type : 'feature', value : 'auto', description : 'Microsoft Smooth Streaming demuxer plugin') option('smoothstreaming', type : 'feature', value : 'auto', description : 'Microsoft Smooth Streaming demuxer plugin')
option('sndfile', type : 'feature', value : 'auto', description : 'libsndfile plugin')
option('soundtouch', type : 'feature', value : 'auto', description : 'Audio pitch controller & BPM detection plugin') option('soundtouch', type : 'feature', value : 'auto', description : 'Audio pitch controller & BPM detection plugin')
option('spandsp', type : 'feature', value : 'auto', description : 'Packet loss concealment audio plugin') option('spandsp', type : 'feature', value : 'auto', description : 'Packet loss concealment audio plugin')
option('srt', type : 'feature', value : 'auto', description : 'Secure, Reliable, Transport client/server network source/sink plugin') option('srt', type : 'feature', value : 'auto', description : 'Secure, Reliable, Transport client/server network source/sink plugin')