summaryrefslogtreecommitdiff
path: root/media-libs/openexr/openexr-2.5.7.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-17 19:04:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-17 19:04:28 +0100
commit514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (patch)
tree555c194dbeb0fb2ac4ad3cde7c0f6a80fd330ce2 /media-libs/openexr/openexr-2.5.7.ebuild
parent4df3bf9762850b34cd1ead5c80374d1a0fc3362e (diff)
gentoo resync : 17.07.2021
Diffstat (limited to 'media-libs/openexr/openexr-2.5.7.ebuild')
-rw-r--r--media-libs/openexr/openexr-2.5.7.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/media-libs/openexr/openexr-2.5.7.ebuild b/media-libs/openexr/openexr-2.5.7.ebuild
index d94729d81f27..8a5f1c968b22 100644
--- a/media-libs/openexr/openexr-2.5.7.ebuild
+++ b/media-libs/openexr/openexr-2.5.7.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}/OpenEXR"
LICENSE="BSD"
SLOT="0/25" # based on SONAME
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
IUSE="cpu_flags_x86_avx doc examples static-libs utils test"
RESTRICT="!test? ( test )"
@@ -36,6 +36,12 @@ src_prepare() {
eapply "${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch"
fi
+ # Technically this doesn't disable anything, it just gives this test time to complete.
+ # Could probably be applied unconditionally but will leave this to the maintainers.
+ if use riscv; then
+ eapply "${FILESDIR}/${P}-0002-increase-IlmImfTest-timeout.patch"
+ fi
+
if use sparc; then
eapply "${FILESDIR}/${P}-0001-disable-testRgba-on-sparc.patch"
fi