2018-08-12 06:26:29 -07:00
|
|
|
#vg common is not really a static lib, is required by evas and requires evas ... so only collecting src here and compile them into evas ... ...
|
|
|
|
|
|
|
|
vg_common_src = files([
|
2019-01-08 20:56:15 -08:00
|
|
|
'vg_common_svg.c',
|
2018-08-12 06:26:29 -07:00
|
|
|
'vg_common.h',
|
|
|
|
])
|
|
|
|
|
evas vector: support json loader for rlottie integration.
Summary:
Introduce a new evas json loader to support lottie animation.
This json loader uses rlottie library which is a new github open project.
These days most ui frameworks (windowpws, skia, qt, xamarin, react, nativescript) supports lottie,
the rlottie was designed to support lottie as a standalone library and compatible with efl as well.
To enable this,please install rlottie library then remove json disabler in meson_options.txt
For more information, See lottie/rlottie project and its a introdcution article:
https://airbnb.io/lottie/#/
https://github.com/samsung/rlottie
https://hermet.pe.kr/143
Co-authored-by: JunsuChoi <jsuya.choi@samsung.com>
{D8941}
{D8944}
Reviewers: #committers, jsuya, bu5hm4n
Subscribers: bu5hm4n, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8940
2019-06-21 01:30:19 -07:00
|
|
|
if get_option('evas-loaders-disabler').contains('json') == false
|
|
|
|
config_h.set('BUILD_VG_LOADER_JSON', '1')
|
|
|
|
vg_common_src += files('vg_common_json.c')
|
|
|
|
endif
|
|
|
|
|
2018-08-12 06:26:29 -07:00
|
|
|
vg_common_inc_dir = include_directories('.')
|
|
|
|
|
|
|
|
vg_common = declare_dependency(
|
|
|
|
include_directories: vg_common_inc_dir,
|
|
|
|
sources: vg_common_src,
|
|
|
|
)
|