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

# Auto-Generated by cargo-ebuild 0.5.4-r1

EAPI=8

CRATES="
	ab_glyph@0.2.26
	ab_glyph_rasterizer@0.1.8
	adler@1.0.2
	aho-corasick@1.1.3
	anstream@0.6.14
	anstyle@1.0.7
	anstyle-parse@0.2.4
	anstyle-query@1.1.0
	anstyle-wincon@3.0.3
	anyhow@1.0.86
	assert_cmd@2.0.14
	assert_fs@1.1.1
	autocfg@1.3.0
	bitflags@1.3.2
	bitflags@2.5.0
	bitstream-io@2.4.1
	bitvec@1.0.1
	bitvec_helpers@3.1.5
	bstr@1.9.1
	bumpalo@3.16.0
	bytemuck@1.16.0
	byteorder@1.5.0
	cc@1.0.99
	cfg-if@1.0.0
	clap@4.5.7
	clap_builder@4.5.7
	clap_derive@4.5.5
	clap_lex@0.7.1
	color_quant@1.1.0
	colorchoice@1.0.1
	console@0.15.8
	core-foundation@0.9.4
	core-foundation-sys@0.8.6
	core-graphics@0.23.2
	core-graphics-types@0.1.3
	core-text@20.1.0
	crc@3.2.1
	crc-catalog@2.4.0
	crc32fast@1.4.2
	crossbeam-deque@0.8.5
	crossbeam-epoch@0.9.18
	crossbeam-utils@0.8.20
	cstr@0.2.12
	deranged@0.3.11
	difflib@0.4.0
	dirs-next@2.0.0
	dirs-sys-next@0.1.2
	dlib@0.5.2
	doc-comment@0.3.3
	dwrote@0.11.0
	either@1.12.0
	encode_unicode@0.3.6
	equivalent@1.0.1
	errno@0.3.9
	fastrand@2.1.0
	fdeflate@0.3.4
	flate2@1.0.30
	float-cmp@0.9.0
	float-ord@0.3.2
	font-kit@0.13.2
	foreign-types@0.5.0
	foreign-types-macros@0.2.3
	foreign-types-shared@0.3.1
	freetype-sys@0.20.1
	funty@2.0.0
	getrandom@0.2.15
	globset@0.4.14
	globwalk@0.9.1
	hashbrown@0.14.5
	hdr10plus@2.1.1
	heck@0.5.0
	hevc_parser@0.6.3
	ignore@0.4.22
	image@0.24.9
	indexmap@2.2.6
	indicatif@0.17.8
	instant@0.1.13
	is_terminal_polyfill@1.70.0
	itertools@0.13.0
	itoa@1.0.11
	jpeg-decoder@0.3.1
	js-sys@0.3.69
	lazy_static@1.4.0
	libc@0.2.155
	libloading@0.8.3
	libredox@0.1.3
	linux-raw-sys@0.4.14
	log@0.4.21
	madvr_parse@1.0.2
	memchr@2.7.4
	minimal-lexical@0.2.1
	miniz_oxide@0.7.3
	nom@7.1.3
	normalize-line-endings@0.3.0
	num-conv@0.1.0
	num-traits@0.2.19
	num_threads@0.1.7
	number_prefix@0.4.0
	once_cell@1.19.0
	owned_ttf_parser@0.21.0
	pathfinder_geometry@0.5.1
	pathfinder_simd@0.5.3
	pkg-config@0.3.30
	plotters@0.3.6
	plotters-backend@0.3.6
	plotters-bitmap@0.3.6
	png@0.17.13
	portable-atomic@1.6.0
	powerfmt@0.2.0
	predicates@3.1.0
	predicates-core@1.0.6
	predicates-tree@1.0.9
	proc-macro2@1.0.85
	quote@1.0.36
	radium@0.7.0
	redox_users@0.4.5
	regex@1.10.5
	regex-automata@0.4.7
	regex-syntax@0.8.4
	roxmltree@0.20.0
	rustc_version@0.4.0
	rustix@0.38.34
	rustversion@1.0.17
	ryu@1.0.18
	same-file@1.0.6
	semver@1.0.23
	serde@1.0.203
	serde_derive@1.0.203
	serde_json@1.0.117
	simd-adler32@0.3.7
	strsim@0.11.1
	syn@2.0.66
	tap@1.0.1
	tempfile@3.10.1
	terminal_size@0.3.0
	termtree@0.4.1
	thiserror@1.0.61
	thiserror-impl@1.0.61
	time@0.3.36
	time-core@0.1.2
	time-macros@0.2.18
	tinyvec@1.6.0
	ttf-parser@0.20.0
	ttf-parser@0.21.1
	unicode-ident@1.0.12
	unicode-width@0.1.13
	utf8parse@0.2.2
	vergen@8.3.1
	wait-timeout@0.2.0
	walkdir@2.5.0
	wasi@0.11.0+wasi-snapshot-preview1
	wasm-bindgen@0.2.92
	wasm-bindgen-backend@0.2.92
	wasm-bindgen-macro@0.2.92
	wasm-bindgen-macro-support@0.2.92
	wasm-bindgen-shared@0.2.92
	web-sys@0.3.69
	winapi@0.3.9
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.8
	winapi-x86_64-pc-windows-gnu@0.4.0
	windows-sys@0.48.0
	windows-sys@0.52.0
	windows-targets@0.48.5
	windows-targets@0.52.5
	windows_aarch64_gnullvm@0.48.5
	windows_aarch64_gnullvm@0.52.5
	windows_aarch64_msvc@0.48.5
	windows_aarch64_msvc@0.52.5
	windows_i686_gnu@0.48.5
	windows_i686_gnu@0.52.5
	windows_i686_gnullvm@0.52.5
	windows_i686_msvc@0.48.5
	windows_i686_msvc@0.52.5
	windows_x86_64_gnu@0.48.5
	windows_x86_64_gnu@0.52.5
	windows_x86_64_gnullvm@0.48.5
	windows_x86_64_gnullvm@0.52.5
	windows_x86_64_msvc@0.48.5
	windows_x86_64_msvc@0.52.5
	wio@0.2.2
	wyz@0.5.1
	yeslogic-fontconfig-sys@5.0.0
"

inherit cargo

DESCRIPTION="CLI tool combining multiple utilities for working with Dolby Vision"
# Double check the homepage as the cargo_metadata crate
# does not provide this value so instead repository is used
HOMEPAGE="https://github.com/quietvoid/dovi_tool"
SRC_URI="
	$(cargo_crate_uris)
	https://github.com/quietvoid/dovi_tool/archive/${PV}.tar.gz -> ${P}.tar.gz
"

# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
LICENSE="Apache-2.0 Boost-1.0 MIT Unlicense"
SLOT="0"
KEYWORDS="~amd64"

# rust does not use *FLAGS from make.conf, silence portage warning
# update with proper path to binaries this crate installs, omit leading /
QA_FLAGS_IGNORED="usr/bin/${PN}"