loader lottie: -- beta tag.

Now, it's quite workable. Include it in our default integration test suite.
This commit is contained in:
Hermet Park 2023-08-07 10:51:28 +09:00
parent 4c5f858aa1
commit da1b036e4f
4 changed files with 9 additions and 8 deletions

View file

@ -45,13 +45,14 @@ if all_loaders or get_option('loaders').contains('jpg') == true
config_h.set10('THORVG_JPG_LOADER_SUPPORT', true)
endif
if all_loaders or get_option('loaders').contains('lottie') == true
config_h.set10('THORVG_LOTTIE_LOADER_SUPPORT', true)
endif
if get_option('loaders').contains('webp_beta') == true
config_h.set10('THORVG_WEBP_LOADER_SUPPORT', true)
endif
if get_option('loaders').contains('lottie_beta') == true
config_h.set10('THORVG_LOTTIE_LOADER_SUPPORT', true)
endif
#Savers
@ -128,7 +129,7 @@ Summary:
Loader (PNG): @8@
Loader (JPG): @9@
Loader (WEBP_BETA): @10@
Loader (LOTTIE_BETA): @11@
Loader (LOTTIE): @11@
Saver (TVG): @12@
Binding (CAPI): @13@
Binding (WASM_BETA): @14@
@ -150,7 +151,7 @@ Summary:
all_loaders or get_option('loaders').contains('png'),
all_loaders or get_option('loaders').contains('jpg'),
get_option('loaders').contains('webp_beta'),
get_option('loaders').contains('lottie_beta'),
all_loaders or get_option('loaders').contains('lottie'),
all_savers or get_option('savers').contains('tvg'),
get_option('bindings').contains('capi'),
get_option('bindings').contains('wasm_beta'),

View file

@ -6,7 +6,7 @@ option('engines',
option('loaders',
type: 'array',
choices: ['', 'tvg', 'svg', 'png', 'jpg', 'webp_beta', 'lottie_beta', 'all'],
choices: ['', 'tvg', 'svg', 'png', 'jpg', 'webp_beta', 'lottie', 'all'],
value: ['svg', 'tvg'],
description: 'Enable File Loaders in thorvg ("all" does not include "*_beta".)')

View file

@ -8,7 +8,7 @@ if all_loaders or get_option('loaders').contains('svg') == true
subdir('svg')
endif
if get_option('loaders').contains('lottie_beta') == true
if all_loaders or get_option('loaders').contains('lottie') == true
subdir('lottie')
endif

View file

@ -4,7 +4,7 @@
if [ ! -d "./build_wasm" ]; then
sed "s|EMSDK:|$1|g" wasm_cross.txt > /tmp/.wasm_cross.txt
meson -Db_lto=true -Ddefault_library=static -Dstatic=true -Dloaders="all, lottie_beta" -Dsavers="all" -Dbindings="wasm_beta" -Dlog=true --cross-file /tmp/.wasm_cross.txt build_wasm
meson -Db_lto=true -Ddefault_library=static -Dstatic=true -Dloaders="all, lottie" -Dsavers="all" -Dbindings="wasm_beta" -Dlog=true --cross-file /tmp/.wasm_cross.txt build_wasm
fi
ninja -C build_wasm/