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

# Autogenerated by pycargoebuild 0.13.2

EAPI=8

CRATES="
	adler@1.0.2
	ahash@0.7.6
	ahash@0.8.3
	aho-corasick@0.7.20
	anstream@0.2.6
	anstyle-parse@0.1.1
	anstyle-wincon@0.2.0
	anstyle@0.3.5
	anyhow@1.0.70
	arrayref@0.3.7
	arrayvec@0.7.2
	async-compression@0.3.15
	atty@0.2.14
	autocfg@1.1.0
	base64@0.13.1
	base64@0.21.0
	bitflags@1.3.2
	bumpalo@3.12.0
	bytemuck@1.13.1
	bytes@1.4.0
	cc@1.0.79
	cfg-if@1.0.0
	clap@3.2.23
	clap@4.2.1
	clap_builder@4.2.1
	clap_derive@3.2.18
	clap_lex@0.2.4
	clap_lex@0.4.1
	color_quant@1.1.0
	concolor-override@1.0.0
	concolor-query@0.3.3
	crc32fast@1.3.2
	crossbeam-channel@0.5.7
	crossbeam-deque@0.8.3
	crossbeam-epoch@0.9.14
	crossbeam-utils@0.8.15
	data-url@0.2.0
	dirs-sys@0.4.0
	dirs@5.0.0
	dunce@1.0.3
	either@1.8.1
	encoding_rs@0.8.32
	env_logger@0.10.0
	errno-dragonfly@0.1.2
	errno@0.3.0
	fallible_collections@0.4.7
	flate2@1.0.25
	float-cmp@0.9.0
	fnv@1.0.7
	fontconfig-parser@0.5.2
	fontdb@0.10.0
	fontdue@0.7.2
	form_urlencoded@1.1.0
	futures-channel@0.3.27
	futures-core@0.3.27
	futures-io@0.3.27
	futures-sink@0.3.27
	futures-task@0.3.27
	futures-util@0.3.27
	getrandom@0.2.8
	gif-dispose@4.0.0
	gif@0.11.4
	gif@0.12.0
	gifsicle@1.93.0
	gifski@1.10.3
	glob@0.3.1
	h2@0.3.16
	hashbrown@0.11.2
	hashbrown@0.12.3
	hashbrown@0.13.2
	heck@0.4.1
	hermit-abi@0.1.19
	hermit-abi@0.2.6
	hermit-abi@0.3.1
	http-body@0.4.5
	http@0.2.9
	httparse@1.8.0
	httpdate@1.0.2
	humantime@2.1.0
	hyper-rustls@0.23.2
	hyper@0.14.25
	idna@0.3.0
	imagequant@4.1.1
	imagesize@0.10.1
	imgref@1.9.4
	indexmap@1.9.3
	io-lifetimes@1.0.9
	ipnet@2.7.2
	is-terminal@0.4.6
	itoa@1.0.6
	jpeg-decoder@0.3.0
	js-sys@0.3.61
	kurbo@0.8.3
	libc@0.2.140
	linux-raw-sys@0.3.0
	lodepng@3.7.2
	log@0.4.17
	loop9@0.1.3
	memchr@2.5.0
	memmap2@0.5.10
	memoffset@0.8.0
	mime@0.3.17
	miniz_oxide@0.5.4
	miniz_oxide@0.6.2
	mio@0.8.6
	natord@1.0.9
	noisy_float@0.2.0
	num-traits@0.2.15
	num_cpus@1.15.0
	once_cell@1.17.1
	os_str_bytes@6.5.0
	pbr@1.1.1
	percent-encoding@2.2.0
	pico-args@0.5.0
	pin-project-lite@0.2.9
	pin-utils@0.1.0
	png@0.17.6
	proc-macro-error-attr@1.0.4
	proc-macro-error@1.0.4
	proc-macro2@1.0.54
	quick-error@2.0.1
	quote@1.0.26
	rayon-core@1.11.0
	rayon@1.7.0
	rctree@0.5.0
	redox_syscall@0.2.16
	redox_users@0.4.3
	regex-syntax@0.6.29
	regex@1.7.3
	reqwest@0.11.16
	resize@0.7.4
	resvg@0.28.0
	rgb@0.8.36
	ring@0.16.20
	roxmltree@0.15.1
	roxmltree@0.18.0
	rustix@0.37.5
	rustls-pemfile@1.0.2
	rustls@0.20.8
	rustybuzz@0.6.0
	ryu@1.0.13
	scopeguard@1.1.0
	sct@0.7.0
	serde@1.0.159
	serde_derive@1.0.159
	serde_json@1.0.95
	serde_urlencoded@0.7.1
	shellexpand@3.1.0
	simplecss@0.2.1
	siphasher@0.3.10
	slab@0.4.8
	smallvec@1.10.0
	socket2@0.4.9
	spin@0.5.2
	strict-num@0.1.0
	strsim@0.10.0
	svgfilters@0.4.0
	svgtypes@0.8.2
	syn@1.0.109
	syn@2.0.11
	termcolor@1.2.0
	textwrap@0.16.0
	thiserror-impl@1.0.40
	thiserror@1.0.40
	thread_local@1.1.7
	tiny-skia-path@0.8.3
	tiny-skia@0.8.3
	tinyvec@1.6.0
	tinyvec_macros@0.1.1
	tokio-rustls@0.23.4
	tokio-util@0.7.7
	tokio@1.27.0
	tower-service@0.3.2
	tracing-core@0.1.30
	tracing@0.1.37
	try-lock@0.2.4
	ttf-parser@0.15.2
	ttf-parser@0.17.1
	unicode-bidi-mirroring@0.1.0
	unicode-bidi@0.3.13
	unicode-ccc@0.1.2
	unicode-general-category@0.6.0
	unicode-ident@1.0.8
	unicode-normalization@0.1.22
	unicode-script@0.5.5
	unicode-vo@0.1.0
	untrusted@0.7.1
	url@2.3.1
	usvg-text-layout@0.28.0
	usvg@0.28.0
	utf8parse@0.2.1
	version_check@0.9.4
	want@0.3.0
	wasi@0.11.0+wasi-snapshot-preview1
	wasm-bindgen-backend@0.2.84
	wasm-bindgen-futures@0.4.34
	wasm-bindgen-macro-support@0.2.84
	wasm-bindgen-macro@0.2.84
	wasm-bindgen-shared@0.2.84
	wasm-bindgen@0.2.84
	web-sys@0.3.61
	webpki-roots@0.22.6
	webpki@0.22.0
	weezl@0.1.7
	wild@2.1.0
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.5
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windows-sys@0.45.0
	windows-targets@0.42.2
	windows_aarch64_gnullvm@0.42.2
	windows_aarch64_msvc@0.42.2
	windows_i686_gnu@0.42.2
	windows_i686_msvc@0.42.2
	windows_x86_64_gnu@0.42.2
	windows_x86_64_gnullvm@0.42.2
	windows_x86_64_msvc@0.42.2
	winreg@0.10.1
	xmlparser@0.13.5
"

declare -A GIT_CRATES=(
	[avt]='https://github.com/asciinema/avt;aaec6a11896551296d2f49078f432756e8a0529d;avt-%commit%'
)

inherit cargo

DESCRIPTION="Command-line tool for generating animated GIF files from asciicast v2 files"
HOMEPAGE="https://github.com/asciinema/agg"
SRC_URI="https://github.com/asciinema/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"

LICENSE="Apache-2.0"
# Dependent crate licenses
LICENSE+="
	|| ( 0BSD Apache-2.0 MIT )
	|| ( Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT )
	|| ( Apache-2.0 Boost-1.0 )
	|| ( Apache-2.0 CC0-1.0 )
	|| ( Apache-2.0 ISC MIT )
	|| ( Apache-2.0 MIT )
	|| ( Apache-2.0 MIT ZLIB )
	|| ( CC0-1.0 MIT-0 )
	|| ( MIT Unlicense )
	AGPL-3+ BSD-2 BSD GPL-2 GPL-3+ ISC MIT MPL-2.0 Unicode-DFS-2016 openssl
"
SLOT="0"
KEYWORDS="~amd64"

QA_FLAGS_IGNORED="usr/bin/${PN}"