gstreamer/ext/openal/meson.build
Justin Kim 2faa08ff28 openal: Fix AL header path for Mac OS X
OpenAL.framework doesn't provide 'alext.h'.
Thus, openal is enabled only if the dependency
is set by pkg-config.

fixes: #852
2018-12-25 00:42:31 +09:00

13 lines
492 B
Meson

openal_dep = dependency('openal', method: 'pkg-config', 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, libsinc],
dependencies: [gstaudio_dep, openal_dep],
install: true,
install_dir: plugins_install_dir,
)
pkgconfig.generate(gstopenal, install_dir: plugins_pkgconfig_install_dir)
endif