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',
|
2021-02-18 09:52:51 +00:00
|
|
|
'gstopenal.c', 'gstopenalelement.c', 'gstopenalsink.c', 'gstopenalsrc.c',
|
2018-12-17 00:00:11 +00:00
|
|
|
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
|