--- /dev/null
+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
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')