mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
meson: build sndfile plugin
This commit is contained in:
parent
9313470358
commit
dd529d0f5d
3 changed files with 15 additions and 1 deletions
|
@ -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
13
ext/sndfile/meson.build
Normal 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
|
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue