summaryrefslogtreecommitdiff
path: root/media-sound/listenbrainz-mpd/listenbrainz-mpd-2.6.0.ebuild
blob: 8843a9ec04a6ebca4f069de4773866ef691ec625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.15.2

EAPI=8

RUST_MIN_VER="1.87.0"

CRATES="
	ahash@0.8.12
	aho-corasick@1.1.5
	anstream@1.0.0
	anstyle-parse@1.0.0
	anstyle-query@1.1.5
	anstyle-wincon@3.0.11
	anstyle@1.0.14
	anyhow@1.0.104
	atomic-waker@1.1.2
	base64@0.22.1
	bitflags@2.13.1
	bumpalo@3.20.3
	bytes@1.12.1
	cc@1.4.2
	cfg-if@1.0.4
	clap@4.6.6
	clap_builder@4.6.6
	clap_complete@4.6.9
	clap_derive@4.6.4
	clap_lex@1.1.0
	colorchoice@1.0.5
	core-foundation-sys@0.8.7
	core-foundation@0.10.1
	dirs-sys@0.5.0
	dirs@6.0.0
	displaydoc@0.2.7
	equivalent@1.0.2
	errno@0.3.14
	fallible-iterator@0.3.0
	fallible-streaming-iterator@0.1.9
	fastrand@2.5.0
	find-msvc-tools@0.1.10
	foldhash@0.2.0
	foreign-types-shared@0.1.1
	foreign-types@0.3.2
	form_urlencoded@1.2.2
	futures-channel@0.3.33
	futures-core@0.3.33
	futures-task@0.3.33
	futures-util@0.3.33
	getrandom@0.2.17
	getrandom@0.3.4
	getrandom@0.4.3
	hashbrown@0.16.1
	hashbrown@0.17.1
	hashlink@0.12.1
	heck@0.5.0
	http-body-util@0.1.4
	http-body@1.1.0
	http@1.5.0
	httparse@1.10.1
	hyper-tls@0.6.0
	hyper-util@0.1.20
	hyper@1.11.0
	icu_collections@2.2.0
	icu_locale_core@2.2.0
	icu_normalizer@2.2.0
	icu_normalizer_data@2.2.0
	icu_properties@2.2.0
	icu_properties_data@2.2.0
	icu_provider@2.2.0
	idna@1.1.0
	idna_adapter@1.2.2
	indexmap@2.14.0
	ipnet@2.12.1
	is_terminal_polyfill@1.70.2
	itoa@1.0.18
	js-sys@0.3.104
	lazy_static@1.5.0
	libc@0.2.189
	libredox@0.1.19
	libsqlite3-sys@0.38.2
	linux-raw-sys@0.12.1
	litemap@0.8.2
	log@0.4.33
	matchers@0.2.0
	memchr@2.8.3
	minimal-lexical@0.2.1
	mio@1.2.2
	mpd_client@1.4.1
	mpd_protocol@1.0.3
	native-tls@0.2.18
	nom@7.1.3
	nu-ansi-term@0.50.3
	once_cell@1.21.4
	once_cell_polyfill@1.70.2
	openssl-macros@0.1.1
	openssl-probe@0.2.1
	openssl-sys@0.9.117
	openssl@0.10.81
	option-ext@0.2.0
	percent-encoding@2.3.2
	pin-project-lite@0.2.17
	pkg-config@0.3.33
	potential_utf@0.1.5
	proc-macro2@1.0.107
	quote@1.0.47
	r-efi@5.3.0
	r-efi@6.0.0
	redox_users@0.5.2
	regex-automata@0.4.18
	regex-syntax@0.8.11
	reqwest@0.13.4
	rsqlite-vfs@0.1.1
	rusqlite@0.40.2
	rustix@1.1.4
	rustls-pki-types@1.15.1
	rustversion@1.0.23
	ryu@1.0.23
	schannel@0.1.29
	sd-notify@0.5.0
	security-framework-sys@2.17.0
	security-framework@3.7.0
	serde@1.0.229
	serde_core@1.0.229
	serde_derive@1.0.229
	serde_json@1.0.151
	serde_spanned@1.1.1
	serde_urlencoded@0.7.1
	sharded-slab@0.1.7
	shlex@2.0.1
	signal-hook-registry@1.4.8
	slab@0.4.12
	smallvec@1.15.2
	socket2@0.6.5
	sqlite-wasm-rs@0.5.5
	stable_deref_trait@1.2.1
	strsim@0.11.1
	syn@2.0.119
	syn@3.0.3
	sync_wrapper@1.0.2
	synstructure@0.13.2
	tempfile@3.27.0
	thiserror-impl@2.0.20
	thiserror@2.0.20
	thread_local@1.1.10
	tinystr@0.8.3
	tokio-macros@2.7.2
	tokio-native-tls@0.3.1
	tokio-stream@0.1.19
	tokio@1.53.1
	toml@1.1.4+spec-1.1.0
	toml_datetime@1.1.1+spec-1.1.0
	toml_parser@1.1.3+spec-1.1.0
	toml_writer@1.1.2+spec-1.1.0
	tower-http@0.6.11
	tower-layer@0.3.3
	tower-service@0.3.3
	tower@0.5.3
	tracing-attributes@0.1.31
	tracing-core@0.1.36
	tracing-log@0.2.0
	tracing-subscriber@0.3.23
	tracing@0.1.44
	try-lock@0.2.5
	unicode-ident@1.0.24
	url@2.5.8
	utf8_iter@1.0.4
	utf8parse@0.2.2
	valuable@0.1.1
	vcpkg@0.2.15
	version_check@0.9.5
	want@0.3.1
	wasi@0.11.1+wasi-snapshot-preview1
	wasip2@1.0.4+wasi-0.2.12
	wasm-bindgen-futures@0.4.77
	wasm-bindgen-macro-support@0.2.127
	wasm-bindgen-macro@0.2.127
	wasm-bindgen-shared@0.2.127
	wasm-bindgen@0.2.127
	web-sys@0.3.104
	windows-link@0.2.1
	windows-sys@0.61.2
	winnow@1.0.4
	wit-bindgen@0.57.1
	writeable@0.6.3
	yoke-derive@0.8.2
	yoke@0.8.3
	zerocopy-derive@0.8.56
	zerocopy@0.8.56
	zerofrom-derive@0.1.7
	zerofrom@0.1.8
	zeroize@1.9.0
	zerotrie@0.2.4
	zerovec-derive@0.11.3
	zerovec@0.11.6
	zmij@1.0.23
"

inherit cargo systemd shell-completion

DESCRIPTION="ListenBrainz submission client for MPD"
HOMEPAGE="https://codeberg.org/elomatreb/listenbrainz-mpd"
SRC_URI="
	${CARGO_CRATE_URIS}
	https://codeberg.org/elomatreb/listenbrainz-mpd/archive/v${PV}.tar.gz -> ${P}.tar.gz
"
S="${WORKDIR}/${PN}"

LICENSE="AGPL-3"
# Dependent crate licenses
LICENSE+=" Apache-2.0 MIT MPL-2.0 Unicode-3.0 ZLIB"
SLOT="0"
KEYWORDS="~amd64"

IUSE="systemd"

RDEPEND="
	dev-db/sqlite
	dev-libs/openssl
"

DOCS="listenbrainz-mpd.adoc"

QA_FLAGS_IGNORED="usr/bin/listenbrainz-mpd"

src_configure() {
	local myfeatures=(
		$(usev systemd)
		shell_completion
	)
	cargo_src_configure
}

src_install() {
	default

	cargo_src_install
	systemd_douserunit listenbrainz-mpd.service
	newbashcomp generated_completions/listenbrainz-mpd.bash listenbrainz-mpd
	dofishcomp generated_completions/listenbrainz-mpd.fish
	dozshcomp generated_completions/_listenbrainz-mpd
}