2018-12-24 14:05:55 +00:00
|
|
|
openal_dep = dependency('openal', method: 'pkg-config', version: '>= 1.14', required: get_option('openal'))
|
2018-12-17 00:00:11 +00:00
|
|
|
|
|
|
|
if openal_dep.found()
|
|
|
|
gstopenal = library('gstopenal',
|
|
|
|
'gstopenal.c', 'gstopenalsink.c', 'gstopenalsrc.c',
|
|
|
|
c_args: gst_plugins_bad_args,
|
2018-12-17 10:30:27 +00:00
|
|
|
include_directories: [configinc, libsinc],
|
2018-12-17 00:00:11 +00:00
|
|
|
dependencies: [gstaudio_dep, openal_dep],
|
|
|
|
install: true,
|
|
|
|
install_dir: plugins_install_dir,
|
|
|
|
)
|
|
|
|
pkgconfig.generate(gstopenal, install_dir: plugins_pkgconfig_install_dir)
|
2019-05-29 10:28:00 +00:00
|
|
|
plugins += [gstopenal]
|
2018-12-17 00:00:11 +00:00
|
|
|
endif
|