2019-04-09 19:22:19 +00:00
|
|
|
magicleap_sources = [
|
|
|
|
'plugin.c',
|
|
|
|
'mlaudiosink.c',
|
|
|
|
'mlaudiowrapper.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
libmlaudio_dep = cc.find_library('ml_audio', required : get_option('magicleap'))
|
2021-11-05 12:12:14 +00:00
|
|
|
liblumin_core_dep = cc.find_library('lumin_rt_core_1_7', required : get_option('magicleap'))
|
|
|
|
liblumin_app_dep = cc.find_library('lumin_rt_app_1_7', required : get_option('magicleap'))
|
2019-04-09 19:22:19 +00:00
|
|
|
|
|
|
|
if libmlaudio_dep.found()
|
|
|
|
gstmagicleap = library('gstmagicleap',
|
|
|
|
magicleap_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
cpp_args : gst_plugins_bad_args + [
|
|
|
|
'-fno-exceptions',
|
|
|
|
'-fno-rtti',
|
|
|
|
],
|
|
|
|
include_directories : [configinc, libsinc],
|
|
|
|
dependencies : [gst_dep, gstbase_dep, gstaudio_dep, libmlaudio_dep,
|
|
|
|
liblumin_core_dep, liblumin_app_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
|
|
|
pkgconfig.generate(gstmagicleap, install_dir : plugins_pkgconfig_install_dir)
|
|
|
|
plugins += gstmagicleap
|
|
|
|
endif
|