Diff tuigreet-0.8.0-r1 with a tuigreet-9999

/usr/portage/gui-apps/tuigreet/tuigreet-9999.ebuild 2023-10-09 14:52:31.172368393 +0300
1
# Copyright 2022 Gentoo Authors
1
# Copyright 2017-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
CRATES="
7
	ahash-0.7.6
8
	aho-corasick-0.7.18
9
	async-trait-0.1.53
10
	autocfg-1.1.0
11
	bitflags-1.3.2
12
	block-0.1.6
13
	block-buffer-0.9.0
14
	bytes-1.1.0
15
	cassowary-0.3.0
16
	cfg-if-1.0.0
17
	chrono-0.4.19
18
	cpufeatures-0.2.2
19
	crossterm-0.23.2
20
	crossterm_winapi-0.9.0
21
	dashmap-5.3.3
22
	digest-0.9.0
23
	dlv-list-0.3.0
24
	find-crate-0.6.3
25
	fluent-0.16.0
26
	fluent-bundle-0.15.2
27
	fluent-langneg-0.13.0
28
	fluent-syntax-0.11.0
29
	futures-0.3.21
30
	futures-channel-0.3.21
31
	futures-core-0.3.21
32
	futures-executor-0.3.21
33
	futures-io-0.3.21
34
	futures-macro-0.3.21
35
	futures-sink-0.3.21
36
	futures-task-0.3.21
37
	futures-util-0.3.21
38
	generic-array-0.14.5
39
	getopts-0.2.21
40
	getrandom-0.2.6
41
	greetd_ipc-0.8.0
42
	hashbrown-0.12.1
43
	hermit-abi-0.1.19
44
	i18n-config-0.4.2
45
	i18n-embed-0.13.4
46
	i18n-embed-fl-0.6.4
47
	i18n-embed-impl-0.8.0
48
	intl-memoizer-0.5.1
49
	intl_pluralrules-7.0.1
50
	itoa-1.0.1
51
	lazy_static-1.4.0
52
	libc-0.2.125
53
	locale_config-0.3.0
54
	lock_api-0.4.7
55
	log-0.4.17
56
	malloc_buf-0.0.6
57
	memchr-2.5.0
58
	memoffset-0.6.5
59
	mio-0.8.3
60
	nix-0.24.1
61
	num-integer-0.1.45
62
	num-traits-0.2.15
63
	num_cpus-1.13.1
64
	objc-0.2.7
65
	objc-foundation-0.1.1
66
	objc_id-0.1.1
67
	once_cell-1.10.0
68
	opaque-debug-0.3.0
69
	ordered-multimap-0.4.3
70
	parking_lot-0.12.0
71
	parking_lot_core-0.9.3
72
	pin-project-lite-0.2.9
73
	pin-utils-0.1.0
74
	proc-macro-error-1.0.4
75
	proc-macro-error-attr-1.0.4
76
	proc-macro2-1.0.38
77
	pure-rust-locales-0.5.6
78
	quote-1.0.18
79
	redox_syscall-0.2.13
80
	regex-1.5.5
81
	regex-syntax-0.6.25
82
	rust-embed-6.4.0
83
	rust-embed-impl-6.2.0
84
	rust-embed-utils-7.2.0
85
	rust-ini-0.18.0
86
	rustc-hash-1.1.0
87
	ryu-1.0.9
88
	same-file-1.0.6
89
	scopeguard-1.1.0
90
	self_cell-0.10.2
91
	serde-1.0.137
92
	serde_derive-1.0.137
93
	serde_json-1.0.81
94
	sha2-0.9.9
95
	signal-hook-0.3.13
96
	signal-hook-mio-0.2.3
97
	signal-hook-registry-1.4.0
98
	slab-0.4.6
99
	smallvec-1.8.0
100
	smart-default-0.6.0
101
	smawk-0.3.1
102
	socket2-0.4.5
103
	strsim-0.10.0
104
	syn-1.0.92
105
	textwrap-0.15.0
106
	thiserror-1.0.31
107
	thiserror-impl-1.0.31
108
	time-0.1.43
109
	tinystr-0.3.4
110
	tokio-1.18.2
111
	tokio-macros-1.7.0
112
	toml-0.5.9
113
	tui-0.18.0
114
	type-map-0.4.0
115
	typenum-1.15.0
116
	unic-langid-0.9.0
117
	unic-langid-impl-0.9.0
118
	unicode-linebreak-0.1.2
119
	unicode-segmentation-1.9.0
120
	unicode-width-0.1.9
121
	unicode-xid-0.2.3
122
	version_check-0.9.4
123
	walkdir-2.3.2
124
	wasi-0.10.2+wasi-snapshot-preview1
125
	wasi-0.11.0+wasi-snapshot-preview1
126
	winapi-0.3.9
127
	winapi-i686-pc-windows-gnu-0.4.0
128
	winapi-util-0.1.5
129
	winapi-x86_64-pc-windows-gnu-0.4.0
130
	windows-sys-0.36.1
131
	windows_aarch64_msvc-0.36.1
132
	windows_i686_gnu-0.36.1
133
	windows_i686_msvc-0.36.1
134
	windows_x86_64_gnu-0.36.1
135
	windows_x86_64_msvc-0.36.1
136
	zeroize-1.5.5
137
"
6
CRATES=""
138 7

  
139 8
inherit cargo
140 9

  
141 10
DESCRIPTION="TUI greeter for greetd login manager"
142 11
HOMEPAGE="https://github.com/apognu/tuigreet"
143 12

  
144
SRC_URI="https://github.com/apognu/tuigreet/archive/${PV}.tar.gz -> ${P}.tar.gz
145
	$(cargo_crate_uris)"
13
if [ ${PV} == "9999" ] ; then
14
	inherit git-r3
15
	EGIT_REPO_URI="https://github.com/apognu/${PN}"
16
else
17
	SRC_URI="https://github.com/apognu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
18
	$(cargo_crate_uris ${CRATES})"
19
	KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
20
fi
21

  
22
src_unpack() {
23
	if [[ "${PV}" == *9999* ]]; then
24
		git-r3_src_unpack
25
		cargo_live_src_unpack
26
	else
27
		cargo_src_unpack
28
	fi
29
}
146 30

  
147 31
QA_FLAGS_IGNORED="usr/bin/tuigreet"
148 32

  
149 33
LICENSE="Apache-2.0 Boost-1.0 GPL-3 MIT"
150 34
SLOT="0"
151
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
152 35

  
153 36
RDEPEND="acct-group/greetd
154 37
	acct-user/greetd
Thank you!