blob: 1e95924b37c21e8a13b0d2fc323fd85ec2526777 (
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
|
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.5.3-dev
EAPI=8
CRATES="
adler-1.0.2
adler32-1.2.0
atty-0.2.14
autocfg-1.1.0
bit-vec-0.6.3
bitflags-1.3.2
bytemuck-1.12.1
byteorder-1.4.3
cc-1.0.73
cfg-if-1.0.0
clap-3.2.20
clap_lex-0.2.4
cloudflare-zlib-0.2.9
cloudflare-zlib-sys-0.3.0
color_quant-1.1.0
crc-3.0.0
crc-catalog-2.1.0
crc32fast-1.3.2
crossbeam-channel-0.5.6
crossbeam-deque-0.8.2
crossbeam-epoch-0.9.10
crossbeam-utils-0.8.11
deflate-1.0.0
either-1.8.0
filetime-0.2.17
glob-0.3.0
hashbrown-0.12.3
hermit-abi-0.1.19
image-0.24.3
indexmap-1.9.1
iter-read-0.3.1
itertools-0.10.3
libc-0.2.132
libdeflate-sys-0.10.0
libdeflater-0.10.0
log-0.4.17
memoffset-0.6.5
miniz_oxide-0.5.4
miniz_oxide-0.6.2
num-integer-0.1.45
num-rational-0.4.1
num-traits-0.2.15
num_cpus-1.13.1
once_cell-1.14.0
os_str_bytes-6.3.0
png-0.17.5
rayon-1.5.3
rayon-core-1.9.3
redox_syscall-0.2.16
rgb-0.8.33
rustc_version-0.4.0
scopeguard-1.1.0
semver-1.0.13
stderrlog-0.5.3
strsim-0.10.0
termcolor-1.1.3
textwrap-0.15.0
thread_local-1.1.4
typed-arena-2.0.1
wild-2.1.0
winapi-0.3.9
winapi-i686-pc-windows-gnu-0.4.0
winapi-util-0.1.5
winapi-x86_64-pc-windows-gnu-0.4.0
windows-sys-0.36.1
windows_aarch64_msvc-0.36.1
windows_i686_gnu-0.36.1
windows_i686_msvc-0.36.1
windows_x86_64_gnu-0.36.1
windows_x86_64_msvc-0.36.1
zopfli-0.7.0
"
inherit cargo flag-o-matic
DESCRIPTION="Multithreaded lossless PNG compression optimizer written in Rust"
HOMEPAGE="https://github.com/shssoichiro/oxipng"
SRC_URI="https://github.com/shssoichiro/oxipng/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" $(cargo_crate_uris ${CRATES})"
LICENSE="
|| ( 0BSD Apache-2.0 MIT )
Apache-2.0
|| ( ( Apache-2.0 ZLIB ) ( MIT ZLIB ) )
|| ( Apache-2.0 MIT )
|| ( Apache-2.0 MIT ZLIB )
MIT
|| ( MIT Unlicense )
ZLIB
"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
BDEPEND=">=virtual/rust-1.57.0"
QA_FLAGS_IGNORED="usr/bin/oxipng"
src_configure() {
filter-lto # 860063 file format not recognized with cloudflare-zlib-sys
}
src_install() {
cargo_src_install
dodoc CHANGELOG.md README.md
}
|