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

# Autogenerated by pycargoebuild 0.15.1

EAPI=8

CRATES="
	addr2line@0.24.2
	adler2@2.0.0
	aho-corasick@1.1.3
	android-tzdata@0.1.1
	android_system_properties@0.1.5
	ansi_term@0.12.1
	atty@0.2.14
	autocfg@1.4.0
	backtrace@0.3.74
	base64@0.8.0
	bincode@1.3.3
	bitflags@1.3.2
	bumpalo@3.17.0
	byteorder@1.5.0
	cc@1.2.16
	cfg-if@0.1.10
	cfg-if@1.0.0
	chrono@0.4.40
	clap@2.34.0
	core-foundation-sys@0.8.7
	crc32fast@1.4.2
	derive_more@0.14.1
	either@1.15.0
	flate2@1.1.0
	flexi_logger@0.11.5
	fnv@1.0.7
	fuchsia-cprng@0.1.1
	gimli@0.31.1
	glob@0.3.2
	heck@0.3.3
	hermit-abi@0.1.19
	iana-time-zone-haiku@0.1.2
	iana-time-zone@0.1.61
	itertools@0.5.10
	itoa@1.0.15
	js-sys@0.3.77
	json@0.11.15
	lazy_static@1.5.0
	libc@0.2.170
	linked-hash-map@0.5.6
	log@0.4.26
	matrixmultiply@0.1.15
	memchr@2.7.4
	memoffset@0.6.5
	miniz_oxide@0.8.5
	ndarray@0.8.4
	nix@0.17.0
	nix@0.24.3
	nom@2.2.1
	num-complex@0.1.44
	num-traits@0.1.43
	num-traits@0.2.19
	numtoa@0.1.0
	object@0.36.7
	once_cell@1.20.3
	onig@3.2.2
	onig_sys@68.2.1
	parse_int@0.5.0
	pkg-config@0.3.32
	plist@0.2.4
	proc-macro2@0.4.30
	proc-macro2@1.0.94
	quote@0.6.13
	quote@1.0.39
	rand@0.3.23
	rand@0.4.6
	rand_core@0.3.1
	rand_core@0.4.2
	raw_tty@0.1.0
	rawpointer@0.1.0
	rdrand@0.4.0
	redox_syscall@0.2.16
	redox_termios@0.1.3
	regex-automata@0.4.9
	regex-syntax@0.4.2
	regex-syntax@0.8.5
	regex@1.11.1
	ropey@1.6.1
	rustc-demangle@0.1.24
	rustc_version@0.2.3
	rustversion@1.0.20
	ryu@1.0.20
	safemem@0.2.0
	same-file@1.0.6
	semver-parser@0.7.0
	semver@0.9.0
	serde@1.0.218
	serde_derive@1.0.218
	serde_json@1.0.140
	shlex@1.3.0
	smallvec@1.14.0
	str_indices@0.4.4
	strsim@0.8.0
	structopt-derive@0.2.18
	structopt@0.2.18
	syn@0.15.44
	syn@2.0.99
	syntect@2.1.0
	termion@1.5.6
	textwrap@0.11.0
	time@0.1.45
	toml@0.4.10
	unicode-ident@1.0.18
	unicode-segmentation@1.12.0
	unicode-width@0.1.14
	unicode-xid@0.1.0
	unix_socket@0.5.0
	unsegen@0.3.1
	unsegen_jsonviewer@0.3.0
	unsegen_pager@0.3.0
	unsegen_signals@0.3.0
	unsegen_terminal@0.3.2
	utf8parse@0.1.1
	vec_map@0.8.2
	void@1.0.2
	vte@0.3.3
	walkdir@2.5.0
	wasi@0.10.0+wasi-snapshot-preview1
	wasm-bindgen-backend@0.2.100
	wasm-bindgen-macro-support@0.2.100
	wasm-bindgen-macro@0.2.100
	wasm-bindgen-shared@0.2.100
	wasm-bindgen@0.2.100
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.9
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windows-core@0.52.0
	windows-link@0.1.0
	windows-sys@0.59.0
	windows-targets@0.52.6
	windows_aarch64_gnullvm@0.52.6
	windows_aarch64_msvc@0.52.6
	windows_i686_gnu@0.52.6
	windows_i686_gnullvm@0.52.6
	windows_i686_msvc@0.52.6
	windows_x86_64_gnu@0.52.6
	windows_x86_64_gnullvm@0.52.6
	windows_x86_64_msvc@0.52.6
	xml-rs@0.7.0
	yaml-rust@0.4.5
"

inherit cargo flag-o-matic

DESCRIPTION="An alternative TUI for gdb"
HOMEPAGE="https://github.com/ftilde/ugdb"
SRC_URI="
	https://github.com/ftilde/ugdb/archive/${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"

LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
	ISC MIT Unicode-3.0
	|| ( Apache-2.0 Boost-1.0 )
"
SLOT="0"
KEYWORDS="~amd64"

QA_FLAGS_IGNORED="/usr/bin/ugdb"

src_configure() {
	append-cflags "-std=gnu17" # bug 943665
	default
}
