gstreamer/sys/magicleap/meson.build

28 lines
917 B
Meson
Raw Normal View History

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'))
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