Diff libopenraw-0.1.3 with a libopenraw-0.3.3
/usr/portage/media-libs/libopenraw/libopenraw-0.3.3.ebuild 2023-10-09 14:52:31.688368406 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
inherit gnome2-utils |
|
6 |
# Run cargo-build or cargo fetch in lib/mp4 to get this list |
|
7 |
CRATES=" |
|
8 |
ahash-0.7.6 |
|
9 |
aho-corasick-0.7.18 |
|
10 |
atty-0.2.14 |
|
11 |
autocfg-1.0.0 |
|
12 |
bitreader-0.3.2 |
|
13 |
byteorder-1.2.2 |
|
14 |
cfg-if-0.1.10 |
|
15 |
cfg-if-1.0.0 |
|
16 |
env_logger-0.8.4 |
|
17 |
fallible_collections-0.4.4 |
|
18 |
getrandom-0.2.7 |
|
19 |
hashbrown-0.11.2 |
|
20 |
hermit-abi-0.1.8 |
|
21 |
humantime-2.1.0 |
|
22 |
libc-0.2.126 |
|
23 |
log-0.4.17 |
|
24 |
memchr-2.5.0 |
|
25 |
num-traits-0.2.15 |
|
26 |
once_cell-1.12.0 |
|
27 |
regex-1.5.6 |
|
28 |
regex-syntax-0.6.26 |
|
29 |
static_assertions-1.1.0 |
|
30 |
termcolor-1.1.3 |
|
31 |
version_check-0.9.4 |
|
32 |
wasi-0.11.0+wasi-snapshot-preview1 |
|
33 |
winapi-0.3.8 |
|
34 |
winapi-i686-pc-windows-gnu-0.4.0 |
|
35 |
winapi-util-0.1.5 |
|
36 |
winapi-x86_64-pc-windows-gnu-0.4.0 |
|
37 |
" |
|
38 | ||
39 |
inherit cargo gnome2-utils |
|
7 | 40 | |
8 | 41 |
DESCRIPTION="RAW image formats decoding library" |
9 | 42 |
HOMEPAGE="https://libopenraw.freedesktop.org/" |
10 |
SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.bz2" |
|
43 |
SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.xz" |
|
44 |
SRC_URI+=" $(cargo_crate_uris)" |
|
11 | 45 | |
12 | 46 |
LICENSE="GPL-3 LGPL-3" |
13 |
SLOT="0/7" |
|
14 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
|
47 |
SLOT="0/9" |
|
48 |
KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
|
15 | 49 |
IUSE="gtk test" |
16 | 50 |
RESTRICT="!test? ( test )" |
17 | 51 | |
18 | 52 |
RDEPEND=" |
19 | 53 |
dev-libs/libxml2 |
20 |
virtual/jpeg:0 |
|
54 |
media-libs/libjpeg-turbo:= |
|
21 | 55 |
gtk? ( |
22 | 56 |
dev-libs/glib:2 |
23 | 57 |
>=x11-libs/gdk-pixbuf-2.24.0:2 |
24 | 58 |
) |
25 | 59 |
" |
26 |
DEPEND="${RDEPEND} |
|
60 |
DEPEND=" |
|
61 |
${RDEPEND} |
|
27 | 62 |
dev-libs/boost |
28 | 63 |
" |
29 | 64 |
BDEPEND=" |
... | ... | |
34 | 69 |
src_configure() { |
35 | 70 |
econf \ |
36 | 71 |
--with-boost="${EPREFIX}"/usr \ |
37 |
--disable-static \ |
|
38 | 72 |
$(use_enable gtk gnome) |
39 | 73 |
} |
40 | 74 | |
75 |
src_compile() { |
|
76 |
# Avoid cargo_src_compile |
|
77 |
default |
|
78 |
} |
|
79 | ||
80 |
src_test() { |
|
81 |
# Avoid cargo_src_test |
|
82 |
default |
|
83 |
} |
|
84 | ||
41 | 85 |
src_install() { |
42 | 86 |
default |
43 |
find "${D}" -name '*.la' -delete || die |
|
87 | ||
88 |
find "${ED}" -name '*.la' -delete || die |
|
44 | 89 |
} |
45 | 90 | |
46 | 91 |
pkg_preinst() { |