summaryrefslogtreecommitdiff
path: root/ext/openal/meson.build
blob: 2f07cfb7bfe7c6cf1934e9496316432e87139bb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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