summaryrefslogtreecommitdiff
path: root/src/modules/evas/vg_loaders/meson.build
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-06-21 17:30:19 +0900
committerHermet Park <hermetpark@gmail.com>2019-06-21 17:35:48 +0900
commit23af6ec640c4166aa912f8d6be1e3b78b0780913 (patch)
treeb844eb6e5dab6dccdb8dda72d028fda3958e7c69 /src/modules/evas/vg_loaders/meson.build
parent1c02b7740de0938bcbad2e26ee055ad570cdf77c (diff)
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
Diffstat (limited to '')
-rw-r--r--src/modules/evas/vg_loaders/meson.build37
1 files changed, 25 insertions, 12 deletions
diff --git a/src/modules/evas/vg_loaders/meson.build b/src/modules/evas/vg_loaders/meson.build
index 584501a825..5ffe8f0ffe 100644
--- a/src/modules/evas/vg_loaders/meson.build
+++ b/src/modules/evas/vg_loaders/meson.build
@@ -1,13 +1,26 @@
1evas_vg_loaders_file = ['eet', 'svg'] 1evas_vg_loaders_file = [
2 2 ['eet', [eet]],
3foreach loader : evas_vg_loaders_file 3 ['json', [json]],
4 file = join_paths(loader, 'evas_vg_load_'+loader+'.c') 4 ['svg', []],
5 static_library('vg_loader_'+loader, file, 5]
6 include_directories : config_dir, 6
7 dependencies : evas_pre 7foreach loader_inst : evas_vg_loaders_file
8 ) 8 loader = loader_inst[0]
9 evas_static_list += [declare_dependency( 9 loader_deps = loader_inst[1]
10 sources: file, 10
11 )] 11 if (get_option('evas-loaders-disabler').contains(loader) == false)
12 config_h.set('EVAS_STATIC_BUILD_VG_'+loader.to_upper(), '1') 12 file = join_paths(loader, 'evas_vg_load_'+loader+'.c')
13
14 static_library('vg_loader_'+loader, file,
15 include_directories : config_dir,
16 dependencies : [evas_pre] + loader_deps
17 )
18
19 evas_static_list += [declare_dependency(
20 sources: file,
21 dependencies: loader_deps,
22 )]
23
24 config_h.set('EVAS_STATIC_BUILD_VG_'+loader.to_upper(), '1')
25 endif
13endforeach 26endforeach