Diff quiche-0.26.1-r1 with a quiche-9999

/usr/portage/net-libs/quiche/quiche-9999.ebuild 2026-06-30 20:03:05.912675170 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
RUST_MIN_VER="1.85"
6
RUST_MIN_VER="1.88.0"
7 7

  
8 8
CRATES="
9 9
${PN}@${PV}
......
14 14
android_system_properties@0.1.5
15 15
arrayvec@0.7.6
16 16
atty@0.2.14
17
autocfg@1.5.0
17
autocfg@1.5.1
18 18
backtrace@0.3.37
19 19
backtrace@sys-0.1.31
20 20
base64@0.22.1
21 21
bindgen@0.72.1
22 22
bitflags@1.3.2
23
bitflags@2.10.0
24
boring@4.21.1
25
boring-sys@4.21.1
23
bitflags@2.13.0
24
boring@4.22.0
25
boring-sys@4.22.0
26 26
bstr@0.2.12
27 27
bumpalo@3.17.0
28 28
byteorder@1.3.4
29
bytes@1.12.0
29 30
cast@0.2.3
30
cc@1.2.55
31
cc@1.2.64
31 32
cdylib-link-lines@0.1.5
32 33
cexpr@0.6.0
33 34
cfg-if@0.1.10
......
35 36
chrono@0.4.40
36 37
clang-sys@1.8.1
37 38
clap@2.33.3
38
cmake@0.1.57
39
cmake@0.1.58
39 40
core-foundation-sys@0.8.7
40 41
criterion@0.3.1
41 42
criterion@plot-0.4.1
......
45 46
crossbeam@utils-0.7.2
46 47
csv@1.1.3
47 48
csv@core-0.1.10
48
data-encoding@2.10.0
49
darling@0.21.3
50
darling_core@0.21.3
51
darling_macro@0.21.3
49
data-encoding@2.11.0
50
darling@0.23.0
51
darling_core@0.23.0
52
darling_macro@0.23.0
52 53
data@encoding-2.3.3
53 54
debug_panic@0.2.1
54 55
deranged@0.4.1
55
displaydoc@0.2.5
56
displaydoc@0.2.6
56 57
enum_dispatch@0.3.13
57
either@1.15.0
58
either@1.16.0
58 59
env_logger@0.8.4
59 60
equivalent@1.0.2
60 61
find-msvc-tools@0.1.9
......
67 68
fuchsia-zircon-sys@0.3.3
68 69
fs_extra@1.3.0
69 70
fslock@0.2.1
70
futures-core@0.3.31
71
futures-macro@0.3.31
72
futures-task@0.3.31
73
futures-timer@3.0.3
74
futures-util@0.3.31
71
futures-core@0.3.32
72
futures-macro@0.3.32
73
futures-task@0.3.32
74
futures-timer@3.0.4
75
futures-util@0.3.32
75 76
getrandom@0.2.17
76 77
glob@0.3.3
77 78
hashbrown@0.12.3
78 79
hashbrown@0.15.5
79
hashbrown@0.16.1
80
hashbrown@0.17.1
80 81
hermit@abi-0.1.19
81 82
hex@0.4.3
82
humantime@2.1.0
83
humantime@2.3.0
83 84
iana-time-zone-haiku@0.1.2
84 85
iana-time-zone@0.1.63
85
icu_collections@2.1.1
86
icu_locale_core@2.1.1
86
icu_collections@2.2.0
87
icu_locale_core@2.2.0
87 88
icu_locid@1.5.0
88 89
icu_locid_transform_data@1.5.1
89 90
icu_locid_transform@1.5.0
90
icu_normalizer@2.1.1
91
icu_normalizer_data@2.1.1
92
icu_properties@2.1.2
93
icu_properties_data@2.1.2
94
icu_provider@2.1.1
91
icu_normalizer@2.2.0
92
icu_normalizer_data@2.2.0
93
icu_properties@2.2.0
94
icu_properties_data@2.2.0
95
icu_provider@2.2.0
95 96
icu_provider_macros@1.5.0
96 97
ident_case@1.0.1
97 98
idna@1.1.0
98
idna_adapter@1.2.1
99
idna_adapter@1.2.2
99 100
intrusive-collections@0.9.7
100 101
iovec@0.1.4
101 102
itertools@0.13.0
102
itoa@1.0.17
103
itoa@1.0.18
103 104
js-sys@0.3.77
104 105
kernel32-sys@0.2.2
105 106
lazycell@1.3.0
106 107
lazy_static@1.5.0
107
libc@0.2.181
108
libc@0.2.186
108 109
libloading@0.8.9
109 110
libm@0.2.16
110
litemap@0.8.1
111
log@0.4.29
111
litemap@0.8.2
112
log@0.4.32
112 113
matches@0.1.10
113 114
maybe-uninit@2.0.0
114
memchr@2.8.0
115
memchr@2.8.2
115 116
memoffset@0.9.1
116 117
minimal-lexical@0.2.1
117
mio@1.1.1
118
mio@1.2.1
118 119
miow@0.4.0
119 120
net2@0.2.37
120 121
nom@7.1.3
......
124 125
octets@0.3.5
125 126
openssl-macros@0.1.1
126 127
peeking_take_while@0.1.2
127
pin-project-lite@0.2.16
128
pin-project-lite@0.2.17
128 129
pin-utils@0.1.0
129 130
indexmap@1.9.3
130
indexmap@2.13.0
131
once_cell@1.21.3
131
indexmap@2.14.0
132
once_cell@1.21.4
132 133
oorandom@11.1.0
133 134
percent-encoding@2.3.2
134 135
pkg-config@0.3.32
135 136
plotters@0.2.12
136
potential_utf@0.1.4
137
potential_utf@0.1.5
137 138
powerfmt@0.2.0
138
proc-macro-crate@3.4.0
139
proc-macro-crate@3.5.0
139 140
proc-macro2@1.0.106
140
qlog@0.16.0
141
quote@1.0.44
141
qlog@0.18.0
142
quote@1.0.45
142 143
rayon@1.3.0
143 144
rayon@core-1.7.0
144
regex@1.12.3
145
regex@1.12.4
145 146
regex-automata@0.4.14
146
regex-syntax@0.8.9
147
regex-syntax@0.8.11
147 148
relative-path@1.9.3
148 149
ring@0.17.14
149 150
rstest@0.26.1
150 151
rstest_macros@0.26.1
151 152
rustc_version@0.4.1
152
rustc-hash@2.1.1
153
rustc-hash@2.1.2
153 154
rustversion@1.0.20
154
rust_decimal@1.40.0
155
rust_decimal@1.42.1
155 156
ryu@1.0.20
156 157
same-file@1.0.6
157 158
scopeguard@1.1.0
158 159
sfv@0.9.4
159
semver@1.0.27
160
semver@1.0.28
160 161
semver-parser@0.7.0
161 162
serde@1.0.228
162 163
serde_core@1.0.228
163 164
serde_derive@1.0.228
164
serde_json@1.0.149
165
serde_with@3.16.1
166
serde_with_macros@3.16.1
165
serde_json@1.0.150
166
serde_with@3.21.0
167
serde_with_macros@3.21.0
167 168
shlex@1.3.0
169
shlex@2.0.1
168 170
slab@0.4.12
169
smallvec@1.15.1
171
smallvec@1.15.2
170 172
spin@0.9.8
171 173
stable_deref_trait@1.2.1
172 174
strsim@0.8.0
173 175
strsim@0.11.1
174 176
syn@1.0.109
175
syn@2.0.114
177
syn@2.0.118
176 178
synstructure@0.13.2
177 179
termcolor@1.1.2
178 180
textwrap@0.11.0
179 181
time@0.3.41
180 182
time-core@0.1.4
181 183
time-macros@0.2.22
182
tinystr@0.8.2
184
tinystr@0.8.3
183 185
tinytemplate@1.0.3
184 186
tinyvec@1.6.1
185 187
tinyvec_macros@0.1.1
186
toml_datetime@0.7.5+spec-1.1.0
187
toml_edit@0.23.10+spec-1.0.0
188
toml_parser@1.0.7+spec-1.1.0
188
toml_datetime@1.1.1+spec-1.1.0
189
toml_edit@0.25.12+spec-1.1.0
190
toml_parser@1.1.2+spec-1.1.0
189 191
unicode-bidi@0.3.15
190
unicode-ident@1.0.23
192
unicode-ident@1.0.24
191 193
unicode-normalization@0.1.23
192 194
unicode-width@0.1.10
193 195
unicode-xid@0.2.4
......
251 253
windows-link@0.2.1
252 254
windows-result@0.3.2
253 255
windows-strings@0.4.0
254
winnow@0.7.14
256
winnow@1.0.3
255 257
write16@1.0.0
256
writeable@0.6.2
258
writeable@0.6.3
257 259
ws2_32-sys@0.2.1
258
yoke@0.8.1
259
yoke-derive@0.8.1
260
zerofrom@0.1.6
261
zerofrom-derive@0.1.6
262
zerotrie@0.2.3
263
zerovec@0.11.5
264
zerovec-derive@0.11.2
265
zmij@1.0.20
260
yoke@0.8.3
261
yoke-derive@0.8.2
262
zerofrom@0.1.8
263
zerofrom-derive@0.1.7
264
zerotrie@0.2.4
265
zerovec@0.11.6
266
zerovec-derive@0.11.3
267
zmij@1.0.21
266 268
"
267 269

  
268 270
RUST_MULTILIB=1
......
305 307

  
306 308
BUILD_DIR="${WORKDIR}/${P}"
307 309

  
308
PATCHES=( "${FILESDIR}/0.26.1-cmake4.patch" )
309

  
310 310
src_unpack() {
311 311
	if [[ "${PV}" == *9999* ]]; then
312 312
		git-r3_src_unpack
......
318 318
}
319 319

  
320 320
src_prepare() {
321
	cmake_src_prepare
321
	default
322 322
	multilib_copy_sources
323 323
}
324 324

  
......
326 326
	multilib-minimal_src_configure
327 327
}
328 328

  
329
multilib_src_configure() {
330
	append-flags "-fPIC"
331
	local mycmakeargs=(
332
		-DOPENSSL_NO_ASM=ON
333
		-DBUILD_SHARED_LIBS=OFF
334
	)
335
	BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake_src_configure
336
}
337

  
338 329
src_compile() {
339 330
	multilib-minimal_src_compile
340 331
}
341 332

  
342 333
multilib_src_compile() {
343
	BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake_src_compile bssl
344
	QUICHE_BSSL_PATH="${BUILD_DIR}/deps/boringssl" cargo_src_compile --features "ffi pkg-config-meta"
334
	cargo_src_compile --features "ffi pkg-config-meta"
345 335
}
346 336

  
347 337
src_test() {
Thank you!