Diff openexr-3.1.5-r1 with a openexr-3.1.7
/usr/portage/media-libs/openexr/openexr-3.1.7.ebuild 2023-10-09 14:52:31.704368406 +0300 | ||
---|---|---|
15 | 15 |
SLOT="0/30" # based on SONAME |
16 | 16 |
# -ppc -sparc because broken on big endian, bug #818424 |
17 | 17 |
KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
18 |
IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads" |
|
18 |
IUSE="cpu_flags_x86_avx examples large-stack utils test threads" |
|
19 | 19 |
RESTRICT="!test? ( test )" |
20 | 20 | |
21 | 21 |
RDEPEND=" |
22 |
>=dev-libs/imath-${PV}:= |
|
22 |
>=dev-libs/imath-3.1.6:= |
|
23 | 23 |
sys-libs/zlib |
24 | 24 |
!media-libs/openexr:3 |
25 | 25 |
!media-libs/ilmbase |
26 | 26 |
" |
27 | 27 |
DEPEND="${RDEPEND}" |
28 |
BDEPEND=" |
|
29 |
doc? ( dev-python/breathe ) |
|
30 |
virtual/pkgconfig |
|
31 |
" |
|
32 | ||
33 |
PATCHES=( |
|
34 |
"${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch |
|
35 |
"${FILESDIR}"/${P}-Add-missing-include-cstdint-required-by-gcc-13-1264.patch |
|
36 |
"${FILESDIR}"/${P}-add-missed-include-cstdint-statement.patch |
|
37 |
) |
|
28 |
BDEPEND="virtual/pkgconfig" |
|
38 | 29 | |
39 |
DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md docs/SymbolVisibility.md ) |
|
30 |
PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch ) |
|
31 |
DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md ) |
|
40 | 32 | |
41 | 33 |
src_prepare() { |
42 | 34 |
# Fix path for testsuite |
43 | 35 |
sed -e "s:/var/tmp/:${T}:" \ |
44 |
-i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die "failed to set temp path for tests" |
|
36 |
-i "${S}"/src/test/${MY_PN}Test/tmpDir.h || die "failed to set temp path for tests" |
|
45 | 37 | |
46 | 38 |
if use x86; then |
47 |
eapply "${FILESDIR}"/${P}-drop-failing-testDwaLookups.patch |
|
39 |
eapply "${FILESDIR}"/${PN}-3.1.5-drop-failing-testDwaLookups.patch |
|
48 | 40 |
fi |
49 | 41 | |
50 | 42 |
cmake_src_prepare |
... | ... | |
56 | 48 |
fi |
57 | 49 | |
58 | 50 |
local mycmakeargs=( |
51 |
-DBUILD_DOCS=OFF # needs sphinx_press_theme which we don't have in ::gentoo |
|
59 | 52 |
-DBUILD_TESTING=$(usex test) |
60 |
-DDOCS=$(usex doc) |
|
61 | 53 |
-DOPENEXR_BUILD_TOOLS=$(usex utils) |
62 | 54 |
-DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack) |
63 | 55 |
-DOPENEXR_ENABLE_THREADING=$(usex threads) |