meson: build openal plugin

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

View file

@ -33,7 +33,7 @@ subdir('mplex')
subdir('musepack')
subdir('neon')
subdir('ofa')
#subdir('openal')
subdir('openal')
subdir('opencv')
#subdir('openexr')
subdir('openh264')

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

@ -0,0 +1,13 @@
openal_dep = dependency('openal', version: '>= 1.14', required: get_option('openal'))
if openal_dep.found()
gstopenal = library('gstopenal',
'gstopenal.c', 'gstopenalsink.c', 'gstopenalsrc.c',
c_args: gst_plugins_bad_args,
include_directories: [configinc],
dependencies: [gstaudio_dep, openal_dep],
install: true,
install_dir: plugins_install_dir,
)
pkgconfig.generate(gstopenal, install_dir: plugins_pkgconfig_install_dir)
endif

View file

@ -119,6 +119,7 @@ option('neon', type : 'feature', value : 'auto', description : 'NEON HTTP source
option('nvdec', type : 'feature', value : 'auto', description : 'NVIDIA GPU decoder plugin')
option('nvenc', type : 'feature', value : 'auto', description : 'NVIDIA GPU encoder plugin')
option('ofa', type : 'feature', value : 'auto', description : 'Open Fingerprint Architecture library plugin')
option('openal', type : 'feature', value : 'auto', description : 'OpenAL plugin')
option('openh264', type : 'feature', value : 'auto', description : 'H.264 video codec plugin')
option('openjpeg', type : 'feature', value : 'auto', description : 'JPEG2000 image codec plugin')
option('opensles', type : 'feature', value : 'auto', description : 'OpenSL ES audio source/sink plugin')