mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
9196e71f07
Split plugin into features including dynamic types which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2038>
14 lines
539 B
Meson
14 lines
539 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', 'gstopenalelement.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)
|
|
plugins += [gstopenal]
|
|
endif
|