decoder: Use glycin for image loading expect SVG
This gives us sandboxed image decoding and others the option to extend Loupe with other image formats.
This commit is contained in:
parent
d690c0e2d8
commit
1b2dde79b6
18 changed files with 536 additions and 1416 deletions
|
|
@ -27,6 +27,10 @@ else
|
|||
message('Building in release mode')
|
||||
endif
|
||||
|
||||
if get_option('disable-glycin-sandbox')
|
||||
cargo_options += [ '--features', 'disable-glycin-sandbox' ]
|
||||
endif
|
||||
|
||||
cargo_env = { 'CARGO_HOME': build_root / 'cargo-home' }
|
||||
|
||||
cargo_build = custom_target(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue