summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-03-17 13:35:26 +0100
committerSam James <sam@gentoo.org>2024-03-17 12:38:32 +0000
commit4351c64bb21453c4774944c1e6e714b08ffbee95 (patch)
treef0d4c1ef51fe7c44333fa8db3d94cddb07b2b01b /media-libs/openexr
parentnet-im/pidgin: add myself as a maintainer (diff)
downloadgentoo-4351c64bb21453c4774944c1e6e714b08ffbee95.tar.gz
gentoo-4351c64bb21453c4774944c1e6e714b08ffbee95.tar.bz2
gentoo-4351c64bb21453c4774944c1e6e714b08ffbee95.zip
media-libs/openexr: 3.2.2 rework x86 test skip
Closes: https://bugs.gentoo.org/927173 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35800 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/openexr')
-rw-r--r--media-libs/openexr/openexr-3.2.2.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/media-libs/openexr/openexr-3.2.2.ebuild b/media-libs/openexr/openexr-3.2.2.ebuild
index 71b9a4937dcb..84a97d580e9f 100644
--- a/media-libs/openexr/openexr-3.2.2.ebuild
+++ b/media-libs/openexr/openexr-3.2.2.ebuild
@@ -52,10 +52,6 @@ src_prepare() {
sed -e "s:if(INSTALL_DOCS):if(OPENEXR_INSTALL_DOCS):" \
-i docs/CMakeLists.txt || die
- if use x86; then
- eapply "${FILESDIR}/${PN}-3.1.5-drop-failing-testDwaLookups.patch"
- fi
-
cmake_src_prepare
if use test; then
@@ -123,6 +119,16 @@ src_configure() {
cmake_src_configure
}
+src_test() {
+ local CMAKE_SKIP_TESTS=()
+
+ use x86 && CMAKE_SKIP_TESTS+=(
+ '^OpenEXR.testDwaLookups$'
+ )
+
+ cmake_src_test
+}
+
src_install() {
use examples && docompress -x "/usr/share/doc/${PF}/examples"