• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1magicleap_sources = [
2  'plugin.c',
3  'mlaudiosink.c',
4  'mlaudiowrapper.cpp',
5]
6
7libmlaudio_dep = cc.find_library('ml_audio', required : get_option('magicleap'))
8liblumin_core_dep = cc.find_library('lumin_rt_core_1_7', required : get_option('magicleap'))
9liblumin_app_dep = cc.find_library('lumin_rt_app_1_7', required : get_option('magicleap'))
10
11if libmlaudio_dep.found()
12  gstmagicleap = library('gstmagicleap',
13    magicleap_sources,
14    c_args : gst_plugins_bad_args,
15    cpp_args : gst_plugins_bad_args + [
16      '-fno-exceptions',
17      '-fno-rtti',
18    ],
19    include_directories : [configinc, libsinc],
20    dependencies : [gst_dep, gstbase_dep, gstaudio_dep, libmlaudio_dep,
21                    liblumin_core_dep, liblumin_app_dep],
22    install : true,
23    install_dir : plugins_install_dir,
24  )
25  pkgconfig.generate(gstmagicleap, install_dir : plugins_pkgconfig_install_dir)
26  plugins += gstmagicleap
27endif
28