gstreamer/sys/magicleap/meson.build
2019-12-06 15:29:29 +00:00

27 lines
917 B
Meson

magicleap_sources = [
'plugin.c',
'mlaudiosink.c',
'mlaudiowrapper.cpp',
]
libmlaudio_dep = cc.find_library('ml_audio', required : get_option('magicleap'))
liblumin_core_dep = cc.find_library('lumin_rt_core_1_5', required : get_option('magicleap'))
liblumin_app_dep = cc.find_library('lumin_rt_app_1_5', required : get_option('magicleap'))
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