prepare to release tvg format feature.

This commit is contained in:
Hermet Park 2021-09-16 13:42:09 +09:00 committed by Hermet Park
parent 3d93867e8e
commit 75e1310c7a
5 changed files with 13 additions and 13 deletions

View file

@ -23,7 +23,7 @@ jobs:
- name: Build - name: Build
run: | run: |
meson . build -Dlog=true -Dloaders="svg, tvg_beta, png, jpg" -Dsavers="tvg_beta" meson . build -Dlog=true -Dloaders="svg, tvg, png, jpg" -Dsavers="tvg"
cd build cd build
sudo ninja -C . install sudo ninja -C . install
@ -46,7 +46,7 @@ jobs:
- name: Build - name: Build
run: | run: |
meson . build -Dexamples=true -Dloaders="svg, tvg_beta, png, jpg" -Dsavers="tvg_beta" meson . build -Dexamples=true -Dloaders="svg, tvg, png, jpg" -Dsavers="tvg"
cd build cd build
sudo ninja -C . install sudo ninja -C . install
@ -67,7 +67,7 @@ jobs:
- name: Install-ThorVG - name: Install-ThorVG
run: | run: |
meson . build -Dloaders="svg, tvg_beta, png, jpg" -Dsavers="tvg_beta" -Dbindings="capi" meson . build -Dloaders="svg, tvg, png, jpg" -Dsavers="tvg" -Dbindings="capi"
cd build cd build
sudo ninja -C . install sudo ninja -C . install
cd .. cd ..
@ -75,7 +75,7 @@ jobs:
- name: Build - name: Build
run: | run: |
meson . build -Dtests=true -Dloaders="svg, tvg_beta, png, jpg" -Dsavers="tvg_beta" -Dbindings="capi" --errorlogs meson . build -Dtests=true -Dloaders="svg, tvg, png, jpg" -Dsavers="tvg" -Dbindings="capi" --errorlogs
cd build cd build
sudo ninja -C . install test sudo ninja -C . install test

View file

@ -24,7 +24,7 @@ if get_option('loaders').contains('svg') == true
config_h.set10('THORVG_SVG_LOADER_SUPPORT', true) config_h.set10('THORVG_SVG_LOADER_SUPPORT', true)
endif endif
if get_option('loaders').contains('tvg_beta') == true if get_option('loaders').contains('tvg') == true
config_h.set10('THORVG_TVG_LOADER_SUPPORT', true) config_h.set10('THORVG_TVG_LOADER_SUPPORT', true)
endif endif
@ -36,7 +36,7 @@ if get_option('loaders').contains('jpg') == true
config_h.set10('THORVG_JPG_LOADER_SUPPORT', true) config_h.set10('THORVG_JPG_LOADER_SUPPORT', true)
endif endif
if get_option('savers').contains('tvg_beta') == true if get_option('savers').contains('tvg') == true
config_h.set10('THORVG_TVG_SAVER_SUPPORT', true) config_h.set10('THORVG_TVG_SAVER_SUPPORT', true)
endif endif
@ -102,11 +102,11 @@ Summary:
simd_type, simd_type,
get_option('engines').contains('sw'), get_option('engines').contains('sw'),
get_option('engines').contains('gl'), get_option('engines').contains('gl'),
get_option('loaders').contains('tvg_beta'), get_option('loaders').contains('tvg'),
get_option('loaders').contains('svg'), get_option('loaders').contains('svg'),
get_option('loaders').contains('png'), get_option('loaders').contains('png'),
get_option('loaders').contains('jpg'), get_option('loaders').contains('jpg'),
get_option('savers').contains('tvg_beta'), get_option('savers').contains('tvg'),
get_option('bindings').contains('capi'), get_option('bindings').contains('capi'),
get_option('log'), get_option('log'),
get_option('tests'), get_option('tests'),

View file

@ -6,13 +6,13 @@ option('engines',
option('loaders', option('loaders',
type: 'array', type: 'array',
choices: ['', 'svg', 'png', 'jpg', 'tvg_beta'], choices: ['', 'tvg', 'svg', 'png', 'jpg'],
value: ['svg'], value: ['svg', 'tvg'],
description: 'Enable File Loaders in thorvg') description: 'Enable File Loaders in thorvg')
option('savers', option('savers',
type: 'array', type: 'array',
choices: ['', 'tvg_beta'], choices: ['', 'tvg'],
value: [''], value: [''],
description: 'Enable File Savers in thorvg') description: 'Enable File Savers in thorvg')

View file

@ -8,7 +8,7 @@ if get_option('loaders').contains('png') == true
subdir('png') subdir('png')
endif endif
if get_option('loaders').contains('tvg_beta') == true if get_option('loaders').contains('tvg') == true
subdir('tvg') subdir('tvg')
endif endif

View file

@ -1,6 +1,6 @@
subsaver_dep = [] subsaver_dep = []
if get_option('savers').contains('tvg_beta') == true if get_option('savers').contains('tvg') == true
subdir('tvg') subdir('tvg')
endif endif