{ "name": "gifsicle", "version": "1.98", "summary": "gifsicle: optimises, crops, resizes and edits GIF images and animations (gifsicle -O3, --lossy), and gifdiff", "category": "tool", "license": "GPL-2.0-only", "homepage": "https://www.lcdf.org/gifsicle/", "source": { "url": "https://www.lcdf.org/gifsicle/gifsicle-1.98.tar.gz", "sha256": "e9d4cc0816db95c64d32e79f778836db0f1f7eb15868490bd330104e5146b66e" }, "watch": { "kind": "index", "url": "https://www.lcdf.org/gifsicle/", "regex": "gifsicle-([0-9]+\\.[0-9]+)\\.tar\\.gz" }, "deps": [], "env_packages": [], "static": true, "nss": false, "check": "t=$(mktemp -d) && check_static bin/gifsicle bin/gifdiff && bin/gifsicle --version | has '^LCDF Gifsicle 1\\.98' && printf '%s' 'R0lGODlhEAAMAPAAAMBAIAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQACgAAACwAAAAAEAAMAAACDISPqcvtD6OctNprCgAh+QQACgAAACwAAAAAEAAMAIAgQMAAAAACDISPqcvtD6OctNprCgA7' | base64 -d > \"$t/a.gif\" && bin/gifsicle --info \"$t/a.gif\" | has '2 images' && bin/gifsicle -O3 \"$t/a.gif\" -o \"$t/o.gif\" && bin/gifsicle --info \"$t/o.gif\" | has '2 images' && bin/gifdiff \"$t/a.gif\" \"$t/o.gif\" && bin/gifsicle --resize 8x6 \"$t/a.gif\" -o \"$t/r.gif\" && bin/gifsicle --info \"$t/r.gif\" | has 'logical screen 8x6' && [ -s share/doc/gifsicle/COPYING ] && echo \"gifsicle 1.98: a two-frame GIF animation optimised with -O3 (gifdiff: the same frames, $(stat -c %s \"$t/a.gif\") to $(stat -c %s \"$t/o.gif\") bytes) and resized to 8x6; its licence in share/doc/gifsicle\"" }