# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Auto-Generated by cargo-ebuild 0.4.0

EAPI=8

CRATES="
	adler-1.0.2
	ahash-0.7.4
	ansi_term-0.11.0
	atty-0.2.14
	autocfg-1.0.1
	bindgen-0.54.0
	bitflags-1.3.2
	bytemuck-1.7.2
	cc-1.0.70
	cexpr-0.4.0
	cfg-if-0.1.10
	cfg-if-1.0.0
	clang-sys-0.29.3
	clap-2.33.3
	color_quant-1.1.0
	crc32fast-1.2.1
	crossbeam-channel-0.5.1
	crossbeam-utils-0.8.5
	dunce-1.0.2
	fallible_collections-0.4.3
	ffmpeg-next-4.4.0
	ffmpeg-sys-next-4.4.0
	flate2-1.0.21
	getrandom-0.2.3
	gif-0.11.2
	gif-dispose-3.1.1
	gifsicle-1.92.5
	glob-0.3.0
	hashbrown-0.11.2
	hermit-abi-0.1.19
	imagequant-3.0.4-alpha.2
	imagequant-sys-3.0.6+sys2.15.0
	imgref-1.9.1
	lazy_static-1.4.0
	lazycell-1.3.0
	libc-0.2.101
	libloading-0.5.2
	lodepng-3.4.6
	memchr-2.4.1
	miniz_oxide-0.4.4
	natord-1.0.9
	nom-5.1.2
	num_cpus-1.13.0
	once_cell-1.8.0
	openmp-sys-1.2.0
	pbr-1.0.4
	peeking_take_while-0.1.2
	pkg-config-0.3.19
	proc-macro2-1.0.29
	quick-error-2.0.1
	quote-1.0.9
	regex-1.5.4
	regex-syntax-0.6.25
	resize-0.7.2
	rgb-0.8.27
	rustc-hash-1.1.0
	shlex-0.1.1
	strsim-0.8.0
	textwrap-0.11.0
	time-0.1.43
	unicode-width-0.1.8
	unicode-xid-0.2.2
	vcpkg-0.2.15
	vec_map-0.8.2
	version_check-0.9.3
	wasi-0.10.2+wasi-snapshot-preview1
	weezl-0.1.5
	wild-2.0.4
	winapi-0.3.9
	winapi-i686-pc-windows-gnu-0.4.0
	winapi-x86_64-pc-windows-gnu-0.4.0
"

inherit cargo

DESCRIPTION="pngquant-based GIF maker for nice-looking animGIFs"
HOMEPAGE="https://github.com/ImageOptim/gifski"
SRC_URI="https://github.com/ImageOptim/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
	$(cargo_crate_uris ${CRATES})"

LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"