evas vector: support json loader for rlottie integration. 04/208304/1
authorHermet Park <hermetpark@gmail.com>
Fri, 21 Jun 2019 08:30:19 +0000 (17:30 +0900)
committerHermet Park <hermetpark@gmail.com>
Fri, 21 Jun 2019 08:59:29 +0000 (17:59 +0900)
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

Change-Id: I6216baf76bc725a95a31498a78c1b1b70441fd5e

src/static_libs/vg_common/meson.build

index 00070e2..347f27e 100644 (file)
@@ -5,9 +5,7 @@ vg_common_src = files([
   'vg_common.h',
 ])
 
-json = dependency('rlottie', required: get_option('evas-loaders-disabler').contains('json') == false)
-
-if (json.found())
+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