gstreamer/subprojects/gst-plugins-bad/ext/openal/meson.build

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
778 B
Meson
Raw Normal View History

openal_dep = dependency('openal', method: 'pkg-config', version: '>= 1.14', required: get_option('openal'))
2018-12-17 00:00:11 +00:00
openal_sources = [
'gstopenal.c',
'gstopenalelement.c',
'gstopenalsink.c',
'gstopenalsrc.c',
]
openal_headers = [
'gstopenalelements.h',
'gstopenalsink.h',
'gstopenalsrc.h',
]
doc_sources = []
foreach s: openal_sources + openal_headers
doc_sources += meson.current_source_dir() / s
endforeach
plugin_sources += {
'openal': pathsep.join(doc_sources)
}
2018-12-17 00:00:11 +00:00
if openal_dep.found()
gstopenal = library('gstopenal',
openal_sources,
2018-12-17 00:00:11 +00:00
c_args: gst_plugins_bad_args,
include_directories: [configinc, libsinc],
2018-12-17 00:00:11 +00:00
dependencies: [gstaudio_dep, openal_dep],
install: true,
install_dir: plugins_install_dir,
)
plugins += [gstopenal]
2018-12-17 00:00:11 +00:00
endif