summaryrefslogtreecommitdiff
path: root/media-libs/openexr
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/openexr')
-rw-r--r--media-libs/openexr/Manifest18
-rw-r--r--media-libs/openexr/files/openexr-3.1.1-0003-disable-failing-test.patch37
-rw-r--r--media-libs/openexr/files/openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch44
-rw-r--r--media-libs/openexr/files/openexr-3.1.5-add-missed-include-cstdint-statement.patch21
-rw-r--r--media-libs/openexr/files/openexr-3.1.5-drop-failing-testDwaLookups.patch29
-rw-r--r--media-libs/openexr/files/openexr-3.1.5-musl-i386.patch19
-rw-r--r--media-libs/openexr/files/openexr-3.1.7-musl-i386.patch19
-rw-r--r--media-libs/openexr/openexr-3.1.11.ebuild69
-rw-r--r--media-libs/openexr/openexr-3.1.12.ebuild69
-rw-r--r--media-libs/openexr/openexr-3.1.5-r1.ebuild78
-rw-r--r--media-libs/openexr/openexr-3.1.7.ebuild73
-rw-r--r--media-libs/openexr/openexr-3.2.4-r2.ebuild (renamed from media-libs/openexr/openexr-3.2.3.ebuild)21
12 files changed, 15 insertions, 482 deletions
diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest
index fe836758305d..bed46283f0c0 100644
--- a/media-libs/openexr/Manifest
+++ b/media-libs/openexr/Manifest
@@ -1,19 +1,5 @@
-AUX openexr-3.1.1-0003-disable-failing-test.patch 1193 BLAKE2B d4a40151e2c0b2278bfbec06b88d1a2b1a0caccb651a53aa4d54945524e3c79fb03d9031540ed0f423be4503fff0881b2185cc33b614a2508135cec3113f9384 SHA512 e07602d78d15ab0f1076d7b5d3f3d16912e9d0ad792703af1b1d3d8fcf472eef2e410efc2abed2da70e39a97f4dd9194a47c6de50484da799d49cf44e62c9167
-AUX openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch 1187 BLAKE2B 2e415fce94cf501b3780f6aff6bdc076db6395b53334d98484a8ac2d7b1e9ec0a5b85bc2199e7861cfb6870f81b843621ffb9a90c493cfb544b219f353362d87 SHA512 19431be0f2d8733265840ae9d428a9ddae823e37017e23d798a12a3390c879b1d8bcffd4b7d12bca8f7f929fe307fd4bff9f421830ca7b5607a188364f02bb8f
-AUX openexr-3.1.5-add-missed-include-cstdint-statement.patch 546 BLAKE2B 43a64e815ef6fb9ef6d0022560553f1f025dd0cea0b309a7126602b30440125d8aaca8b550c7f07778db4888499662fd3afdb6557c9ac67b98bb3238a7f4df0a SHA512 04d538237c9945eb33546098be4b34a3c82d93fa3f14655528bf8da49bc1e34402f74385d6d6f93fa2a724d7a495082c35bd0abbc5965119c52d5efa49229bce
-AUX openexr-3.1.5-drop-failing-testDwaLookups.patch 868 BLAKE2B 6ae9b57b222e038a57499e3b466f018840b0e358048283acea7519eca5f2a4140b9d553ad6cdca9bd449e8fc3d42fd84dae11a34f5c4264c3786b38a59ab4125 SHA512 f8cdab71c97953984ada16cf2a26fea0fce5ebfcfa465992a80080ad1882a3eecd925fc94bacdd60e1463a7c8a1678e93c89d9c7a9ec5e27726bcc98465f909f
-AUX openexr-3.1.5-musl-i386.patch 755 BLAKE2B 0a32fd9f317aea7bc96608137ab8953d75bedd9813b7b8b2bde86acab9ba4624bb359efa3d9fa1c67891d91c12579a1fe36b38f64ed89c538fa38cc2b242b319 SHA512 a33110c648ec58513b420e9d40aeaf350f55bd9712b95e0fbca43c2cc11042c77a10d67714d7b403f1dd0d096e92bd1ab4548027b24682db48e5bb6ece5f88ad
-AUX openexr-3.1.7-musl-i386.patch 815 BLAKE2B c969001a289711427465cdc75977d8a554409e62ddd4a958b2363c22fbaf18cb10a7d11f03b5e3caee3476b7f325581a51092432f2490696d79794b9abb339f6 SHA512 abae9dbe6858c6384ae1ed373267d4cc6eb1d6458e48d282e612ef216a2cce6805e7f7e2cd7faa9daf36a12b6d93b5c18b78d2bd5eee9cfc41bec7c3444ddcc4
AUX openexr-3.2.1-bintests-iff-utils.patch 399 BLAKE2B b2ba76b0fe8430cb6275bd7520ce307b8f44f642efaa90c36cea03c34b0b5d6e93cc4bc81cc30b662c3d58941696f87c76604dfd614742051e8a6be7af3115e7 SHA512 58deaacc1e81c46cccfa4190498cfbf964e1fcfef384d73f86b8b18e8348886579385f292317588f64f0f6fd1ef062465ed6253d7c7d672bdb49b1e43f8addc7
-DIST openexr-3.1.11.tar.gz 20539852 BLAKE2B 9d57362c656a646a5b909063ff57eccfacbc70929a802561c2be71b050e97e7087221f78110f2686fcc1ea960d87880ccdbcb57b474f635a3392f3fa169ef3c5 SHA512 ebbad4b22315522f43cafefca77cf92ce38cac87f024c8dc6429aed04a6dad1f0a3d717faaab39c4c3605e440442952acc4630c5393754ea138929be4ad8a0d4
-DIST openexr-3.1.12.tar.gz 20540857 BLAKE2B 94a78e4e45f892b56f9a05cabad5cea999ff1844ff8569995f1f301e8599e0be1c214477f501f351c248eea141db22508eb764c1c91508399e69932026361c04 SHA512 0fce6a1322d74354a29ece9f9afeca1c4874c4d55079ec720f3ef21ab2ab950ec333f793f1ffad6634f57b40c4276af578b31ac8bc3e11856d7b903d5475e5eb
-DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd SHA512 01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c
-DIST openexr-3.1.7.tar.gz 20494812 BLAKE2B 2cc03ed8da77f4a9523b7a0f55c78e78ab55f8f6de67cb68f1b2b4ad4b512448d80f39d60a0cc9eab451da35539027a573a0c6d6900e7f81b39f90703909b5af SHA512 f72f5e728f10c06fca0172c9b4c1df752225c3aed7384b4eaa502f92f8547bb1df93fe96d4d132a81eb32b729cb9fd615be825aa6c5de78481d3038c0d47c4d5
-DIST openexr-3.2.3.tar.gz 18855303 BLAKE2B 4f5dbd9033031e988e973ef039b67632ac92e1272cc1d3e4540992f09f6b275c3ecb4c8f690cd98620519993099d132b43bb4bb40bb0d11caa06db868404015a SHA512 6e0a6fdcfae57c6e8b060d9aeed57140d96d39bffe5e40edd6ea5beb06e569323833d07906316ffca05f48e8409d0ea4174e2cd84d554404a4ee432e07d7b5e6
+DIST openexr-3.2.4.tar.gz 18856440 BLAKE2B f29910b2e36808b741860bf603571f607ca929672b3c5b9de7c7c16242f2a38d02627614c10e7b01a8cfd8804923636eb0dfe2c798ec3ff63252dd20e3f8e535 SHA512 ecc3d8b206bda5e5897ac9cd797a8432b76981de10d49cbb107af2b4108c22186de0dda25a9a43b07e18d641ef71508445d95f659a4ca932e029d48ee029a492
DIST openexr-images-1.0.tar.gz 252222962 BLAKE2B d57c458dfbd1b08c964429022b6e08a3309bf11cbd43c64e271ebc620dae6dbe70636e5221f47dabd7fe2aa0806f2cf3f3c9b3f55fd7f45b0a34f3e62b6029e7 SHA512 c1c83a26cd326d0fcda824daccb0044abad46f29e1bd2ceb1c38bc62b3e71f0aeef126dddc4517eb1cb9f7c9d0fe234276a48a754bdb7c7823e9aee459d8670a
-EBUILD openexr-3.1.11.ebuild 1880 BLAKE2B dd7d09c4fd911b7f7a2738636e507f3cec991b6dc1f8484b6be081f25eb4dbac92c2ef5a8de957172d43e732a9e1ad0fa6ab3e751d822178c20d3073c927f152 SHA512 fa177bdc3a9550420927dd9e6002df468520e76cbd0ce07c9038b7336e40067c1b699def09f05ccc12a7c0e24484c809ec6e3ac7dcff6b53cefb65346de73334
-EBUILD openexr-3.1.12.ebuild 1882 BLAKE2B 2f3cdb3ab5d11f88bb9d761e1b7c76bfb2466549679ee42fd7d0581f303dc01a7d014b39626677aaa2882feb01340845db9b3e1e7971baee62b028d4c5133c03 SHA512 aa1ff62a47fc6a6119d9f3d39fa122b7c3753a0f07384eba6c969ebd67e423b50716add203390a27c00af237c0407aa22b73bc36ab734a48265b26a5c7fae0d4
-EBUILD openexr-3.1.5-r1.ebuild 2067 BLAKE2B 5def6ac36362ea8d8810bd2056df16ca57e658e83eb2a0ae6846cc322ae0be41f8c76dad1498947ed8b44fad9fac46a598e1cf173395c1a9946719f2359743b2 SHA512 9b7f62c74c723fe18766db36e4f75623818c8d2697d23f24c742061280a373fef973cc5478bd8a27492aa82249f189bdcc4c395854199d910e54d91033755174
-EBUILD openexr-3.1.7.ebuild 1924 BLAKE2B 1ae6aeb5a4693d21d798b6260fb2b485044dcfa33820f328f81993f7d3fa6a7ba98c12f183dda3b58fc8d99c3785c5e5d15acdab03d6fe2c9b19bbe76905e5cc SHA512 df60600d657768a811a5b62cb3f77c0fca177ea595b2895c7e62d797fc147f8ef0551512b67ef80d0b0ece156de143bf36e7dd20dbc88f276f879d95fb8e58e8
-EBUILD openexr-3.2.3.ebuild 3474 BLAKE2B 34d75a1edaa44d9e501e1800351789afb8740a5de603f5489db4b6806dfda7ed15ef73134ec9b07de5a5c016cfd2419e9b168f52ddf1d4704ced89c190f4202b SHA512 85c637445b2c2d08ea78b0555430b8b7304cbb37ea54624661f8512e0d160fb355dd5db1a468118012b46cf118e20fb606f5c85d8134e4147b1cac67ea9360cd
+EBUILD openexr-3.2.4-r2.ebuild 3582 BLAKE2B 9bfe1420f27548dce47a3fe3ba7b98694fcaf07b541277bc4542954ed2416550335fa9d1c6c3dc3c89ee016b6e9da9943ebe9a1b258c91bd25537bdc07a2b971 SHA512 1d76eb16ec764bc579008a3568d7292fa317f8753ed439856c126232e268f7b2b72334686f3b4e8b6298ff6e5e4fa0fa9e4873d5854b4aadd14dac9be47ffab2
MISC metadata.xml 798 BLAKE2B d780a0ead28144e6031fedeed720d1cd79bfa8ab54a1f9d2a99324ac6db4948cf25ebf73abd630d7e697b8578ef5b6442679ce05d1949784fb8a17ed2a6fb9a1 SHA512 5c9d837a72b41c0d8463ffadd639fde0c9dc620abf4b51ef7718efed5d94a12a336d85f10d65e2fbffd3d4c59fe12a09e71f42f68d081917f4d7f1aba24de893
diff --git a/media-libs/openexr/files/openexr-3.1.1-0003-disable-failing-test.patch b/media-libs/openexr/files/openexr-3.1.1-0003-disable-failing-test.patch
deleted file mode 100644
index e2f0d6e59621..000000000000
--- a/media-libs/openexr/files/openexr-3.1.1-0003-disable-failing-test.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From: Bernd Waibel <waebbl-gentoo@posteo.net>
-Date: Wed, 4 Aug 2021 08:33:52 +0200
-Subject: [PATCH] disable failing test
-
-Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
----
- src/test/OpenEXRTest/CMakeLists.txt | 1 -
- src/test/OpenEXRTest/main.cpp | 1 -
- 2 files changed, 2 deletions(-)
-
-diff --git a/src/test/OpenEXRTest/CMakeLists.txt b/src/test/OpenEXRTest/CMakeLists.txt
-index 9dd74d1..2a1a2bd 100644
---- a/src/test/OpenEXRTest/CMakeLists.txt
-+++ b/src/test/OpenEXRTest/CMakeLists.txt
-@@ -118,7 +118,6 @@ define_openexr_tests(
- testMultiView
- testNativeFormat
- testOptimized
-- testOptimizedInterleavePatterns
- testPartHelper
- testPreviewImage
- testRgba
-diff --git a/src/test/OpenEXRTest/main.cpp b/src/test/OpenEXRTest/main.cpp
-index 4eaecc9..0c0caed 100644
---- a/src/test/OpenEXRTest/main.cpp
-+++ b/src/test/OpenEXRTest/main.cpp
-@@ -202,7 +202,6 @@ main (int argc, char *argv[])
- TEST (testExistingStreams, "core");
- TEST (testStandardAttributes, "core");
- TEST (testOptimized, "basic");
-- TEST (testOptimizedInterleavePatterns, "basic");
- TEST (testYca, "basic");
- TEST (testTiledYa, "basic");
- TEST (testNativeFormat, "basic");
---
-2.32.0
-
diff --git a/media-libs/openexr/files/openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch b/media-libs/openexr/files/openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
deleted file mode 100644
index 3b104089350e..000000000000
--- a/media-libs/openexr/files/openexr-3.1.5-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From https://github.com/AcademySoftwareFoundation/openexr/commit/c5763cfdf59ef4880dacdb11664782822a0976cd
-From: Cary Phillips <cary@ilm.com>
-Date: Sun, 31 Jul 2022 13:36:03 -0700
-Subject: [PATCH 1/4] Add missing #include <cstdint> required by gcc-13 (#1264)
-
-Originally submitted as #1262, thanks.
-
-Signed-off-by: Cary Phillips <cary@ilm.com>
-
-Adapted changes in exrcheck/main.cpp for 3.1.5 code base on Gentoo (different
-ordering of #included header files compared to current HEAD).
---- a/src/bin/exrcheck/main.cpp
-+++ b/src/bin/exrcheck/main.cpp
-@@ -4,6 +4,7 @@
- #include <ImfCheckFile.h>
- #include <ImathConfig.h>
-
-+#include <cstdint>
- #include <iostream>
- #include <fstream>
- #include <string.h>
---- a/src/lib/OpenEXR/ImfDeepTiledInputFile.h
-+++ b/src/lib/OpenEXR/ImfDeepTiledInputFile.h
-@@ -19,6 +19,7 @@
-
- #include "ImfTileDescription.h"
-
-+#include <cstdint>
- #include <ImathBox.h>
-
- OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
---- a/src/lib/OpenEXR/ImfDeepTiledInputPart.h
-+++ b/src/lib/OpenEXR/ImfDeepTiledInputPart.h
-@@ -10,6 +10,7 @@
-
- #include "ImfTileDescription.h"
-
-+#include <cstdint>
- #include <ImathBox.h>
-
- OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
---
-2.37.3
-
diff --git a/media-libs/openexr/files/openexr-3.1.5-add-missed-include-cstdint-statement.patch b/media-libs/openexr/files/openexr-3.1.5-add-missed-include-cstdint-statement.patch
deleted file mode 100644
index 77ca274703cc..000000000000
--- a/media-libs/openexr/files/openexr-3.1.5-add-missed-include-cstdint-statement.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://github.com/AcademySoftwareFoundation/openexr/pull/1276
-
-From 974b14f67e89dddb6710364034116b3f7b9e0247 Mon Sep 17 00:00:00 2001
-From: Bernd Waibel <waebbl-gentoo@posteo.net>
-Date: Thu, 15 Sep 2022 18:58:01 +0200
-Subject: [PATCH] add missed #include <cstdint> statement
-
-Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
---- a/src/lib/OpenEXR/ImfTiledMisc.h
-+++ b/src/lib/OpenEXR/ImfTiledMisc.h
-@@ -19,6 +19,7 @@
-
- #include <stdio.h>
- #include <vector>
-+#include <cstdint>
-
- OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
-
---
-2.37.3
-
diff --git a/media-libs/openexr/files/openexr-3.1.5-drop-failing-testDwaLookups.patch b/media-libs/openexr/files/openexr-3.1.5-drop-failing-testDwaLookups.patch
deleted file mode 100644
index 7579ddd23156..000000000000
--- a/media-libs/openexr/files/openexr-3.1.5-drop-failing-testDwaLookups.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 6f3c61b994e9a503fcc9649cba439d81f40901d0 Mon Sep 17 00:00:00 2001
-From: Bernd Waibel <waebbl-gentoo@posteo.net>
-Date: Tue, 27 Sep 2022 07:29:11 +0200
-Subject: [PATCH] drop failing testDwaLookups
-
-On x86_32 testDwaLookups fails
-
-Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
---- a/src/test/OpenEXRTest/main.cpp
-+++ b/src/test/OpenEXRTest/main.cpp
-@@ -65,7 +65,6 @@
- #include "testDwaCompressorSimd.h"
- #include "testRle.h"
- #include "testB44ExpLogTable.h"
--#include "testDwaLookups.h"
- #include "testIDManifest.h"
-
- #include "tmpDir.h"
-@@ -229,7 +228,6 @@ main (int argc, char *argv[])
- TEST (testDwaCompressorSimd, "basic");
- TEST (testRle, "core");
- TEST (testB44ExpLogTable, "core");
-- TEST (testDwaLookups, "core");
- TEST (testIDManifest, "core");
-
- // NB: If you add a test here, make sure to enumerate it in the
---
-2.37.3
-
diff --git a/media-libs/openexr/files/openexr-3.1.5-musl-i386.patch b/media-libs/openexr/files/openexr-3.1.5-musl-i386.patch
deleted file mode 100644
index 2b7a31ac694d..000000000000
--- a/media-libs/openexr/files/openexr-3.1.5-musl-i386.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/src/lib/Iex/IexMathFpu.cpp
-+++ b/src/lib/Iex/IexMathFpu.cpp
-@@ -251,14 +251,14 @@
- inline void
- restoreControlRegs (const ucontext_t & ucon, bool clearExceptions)
- {
--# if defined(__GLIBC__) && defined(__i386__)
-+# if defined(__linux__) && defined(__i386__)
- setCw ((ucon.uc_mcontext.fpregs->cw & cwRestoreMask) | cwRestoreVal);
- #else
- setCw ((ucon.uc_mcontext.fpregs->cwd & cwRestoreMask) | cwRestoreVal);
- # endif
-
- _fpstate* kfp = reinterpret_cast<_fpstate*> (ucon.uc_mcontext.fpregs);
--# if defined(__GLIBC__) && defined(__i386__)
-+# if defined(__linux__) && defined(__i386__)
- setMxcsr (kfp->magic == 0 ? kfp->mxcsr : 0, clearExceptions);
- #else
- setMxcsr (kfp->mxcsr, clearExceptions);
diff --git a/media-libs/openexr/files/openexr-3.1.7-musl-i386.patch b/media-libs/openexr/files/openexr-3.1.7-musl-i386.patch
deleted file mode 100644
index e2bedf6e7a12..000000000000
--- a/media-libs/openexr/files/openexr-3.1.7-musl-i386.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/src/lib/Iex/IexMathFpu.cpp
-+++ b/src/lib/Iex/IexMathFpu.cpp
-@@ -251,14 +251,14 @@
- inline void
- restoreControlRegs (const ucontext_t & ucon, bool clearExceptions)
- {
--# if (defined(__GLIBC__) && defined(__i386__)) || defined(__ANDROID_API__)
-+# if (defined(__linux__) && defined(__i386__)) || defined(__ANDROID_API__)
- setCw ((ucon.uc_mcontext.fpregs->cw & cwRestoreMask) | cwRestoreVal);
- #else
- setCw ((ucon.uc_mcontext.fpregs->cwd & cwRestoreMask) | cwRestoreVal);
- # endif
-
- _fpstate* kfp = reinterpret_cast<_fpstate*> (ucon.uc_mcontext.fpregs);
--# if defined(__GLIBC__) && defined(__i386__)
-+# if defined(__linux__) && defined(__i386__)
- setMxcsr (kfp->magic == 0 ? kfp->mxcsr : 0, clearExceptions);
- #else
- setMxcsr (kfp->mxcsr, clearExceptions);
diff --git a/media-libs/openexr/openexr-3.1.11.ebuild b/media-libs/openexr/openexr-3.1.11.ebuild
deleted file mode 100644
index 71969a113652..000000000000
--- a/media-libs/openexr/openexr-3.1.11.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PN=OpenEXR
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://openexr.com/"
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/30" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm ~arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/imath-3.1.6:=
- sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch )
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md )
-
-src_prepare() {
- # Fix path for testsuite
- sed -e "s:/var/tmp/:${T}:" \
- -i "${S}"/src/test/${MY_PN}Test/tmpDir.h || die "failed to set temp path for tests"
-
- if use x86; then
- eapply "${FILESDIR}"/${PN}-3.1.5-drop-failing-testDwaLookups.patch
- fi
-
- cmake_src_prepare
-}
-
-src_configure() {
- if use x86; then
- replace-cpu-flags native i686
- fi
-
- local mycmakeargs=(
- -DBUILD_DOCS=OFF # needs sphinx_press_theme which we don't have in ::gentoo
- -DBUILD_TESTING=$(usex test)
- -DOPENEXR_BUILD_TOOLS=$(usex utils)
- -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
- -DOPENEXR_ENABLE_THREADING=$(usex threads)
- -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
- -DOPENEXR_INSTALL_PKG_CONFIG=ON
- -DOPENEXR_INSTALL_TOOLS=$(usex utils)
- -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
- )
-
- use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
- cmake_src_configure
-}
-
-src_install() {
- use examples && docompress -x /usr/share/doc/${PF}/examples
-
- cmake_src_install
-}
diff --git a/media-libs/openexr/openexr-3.1.12.ebuild b/media-libs/openexr/openexr-3.1.12.ebuild
deleted file mode 100644
index bc37e4bd424e..000000000000
--- a/media-libs/openexr/openexr-3.1.12.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PN=OpenEXR
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://openexr.com/"
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/30" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/imath-3.1.6:=
- sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch )
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md )
-
-src_prepare() {
- # Fix path for testsuite
- sed -e "s:/var/tmp/:${T}:" \
- -i "${S}"/src/test/${MY_PN}Test/tmpDir.h || die "failed to set temp path for tests"
-
- if use x86; then
- eapply "${FILESDIR}"/${PN}-3.1.5-drop-failing-testDwaLookups.patch
- fi
-
- cmake_src_prepare
-}
-
-src_configure() {
- if use x86; then
- replace-cpu-flags native i686
- fi
-
- local mycmakeargs=(
- -DBUILD_DOCS=OFF # needs sphinx_press_theme which we don't have in ::gentoo
- -DBUILD_TESTING=$(usex test)
- -DOPENEXR_BUILD_TOOLS=$(usex utils)
- -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
- -DOPENEXR_ENABLE_THREADING=$(usex threads)
- -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
- -DOPENEXR_INSTALL_PKG_CONFIG=ON
- -DOPENEXR_INSTALL_TOOLS=$(usex utils)
- -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
- )
-
- use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
- cmake_src_configure
-}
-
-src_install() {
- use examples && docompress -x /usr/share/doc/${PF}/examples
-
- cmake_src_install
-}
diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild b/media-libs/openexr/openexr-3.1.5-r1.ebuild
deleted file mode 100644
index 8ec80d3071e3..000000000000
--- a/media-libs/openexr/openexr-3.1.5-r1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PN=OpenEXR
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://openexr.com/"
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/30" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/imath-${PV}:=
- sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- doc? ( dev-python/breathe )
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
- "${FILESDIR}"/${P}-Add-missing-include-cstdint-required-by-gcc-13-1264.patch
- "${FILESDIR}"/${P}-add-missed-include-cstdint-statement.patch
- "${FILESDIR}"/${P}-musl-i386.patch
-)
-
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md docs/SymbolVisibility.md )
-
-src_prepare() {
- # Fix path for testsuite
- sed -e "s:/var/tmp/:${T}:" \
- -i "${S}"/src/test/${MY_PN}{,Fuzz,Util}Test/tmpDir.h || die "failed to set temp path for tests"
-
- if use x86; then
- eapply "${FILESDIR}"/${P}-drop-failing-testDwaLookups.patch
- fi
-
- cmake_src_prepare
-}
-
-src_configure() {
- if use x86; then
- replace-cpu-flags native i686
- fi
-
- local mycmakeargs=(
- -DBUILD_TESTING=$(usex test)
- -DDOCS=$(usex doc)
- -DOPENEXR_BUILD_TOOLS=$(usex utils)
- -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
- -DOPENEXR_ENABLE_THREADING=$(usex threads)
- -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
- -DOPENEXR_INSTALL_PKG_CONFIG=ON
- -DOPENEXR_INSTALL_TOOLS=$(usex utils)
- -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
- )
-
- use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
- cmake_src_configure
-}
-
-src_install() {
- use examples && docompress -x /usr/share/doc/${PF}/examples
-
- cmake_src_install
-}
diff --git a/media-libs/openexr/openexr-3.1.7.ebuild b/media-libs/openexr/openexr-3.1.7.ebuild
deleted file mode 100644
index cedfef02a75b..000000000000
--- a/media-libs/openexr/openexr-3.1.7.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-MY_PN=OpenEXR
-
-DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
-HOMEPAGE="https://openexr.com/"
-SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/30" # based on SONAME
-# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="amd64 ~arm arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="cpu_flags_x86_avx examples large-stack utils test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/imath-3.1.6:=
- sys-libs/zlib
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.1.1-0003-disable-failing-test.patch
- "${FILESDIR}"/${PN}-3.1.7-musl-i386.patch
-)
-
-DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md )
-
-src_prepare() {
- # Fix path for testsuite
- sed -e "s:/var/tmp/:${T}:" \
- -i "${S}"/src/test/${MY_PN}Test/tmpDir.h || die "failed to set temp path for tests"
-
- if use x86; then
- eapply "${FILESDIR}"/${PN}-3.1.5-drop-failing-testDwaLookups.patch
- fi
-
- cmake_src_prepare
-}
-
-src_configure() {
- if use x86; then
- replace-cpu-flags native i686
- fi
-
- local mycmakeargs=(
- -DBUILD_DOCS=OFF # needs sphinx_press_theme which we don't have in ::gentoo
- -DBUILD_TESTING=$(usex test)
- -DOPENEXR_BUILD_TOOLS=$(usex utils)
- -DOPENEXR_ENABLE_LARGE_STACK=$(usex large-stack)
- -DOPENEXR_ENABLE_THREADING=$(usex threads)
- -DOPENEXR_INSTALL_EXAMPLES=$(usex examples)
- -DOPENEXR_INSTALL_PKG_CONFIG=ON
- -DOPENEXR_INSTALL_TOOLS=$(usex utils)
- -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy
- )
-
- use test && mycmakeargs+=( -DOPENEXR_RUN_FUZZ_TESTS=ON )
-
- cmake_src_configure
-}
-
-src_install() {
- use examples && docompress -x /usr/share/doc/${PF}/examples
-
- cmake_src_install
-}
diff --git a/media-libs/openexr/openexr-3.2.3.ebuild b/media-libs/openexr/openexr-3.2.4-r2.ebuild
index 29c1e2625355..574d441feb13 100644
--- a/media-libs/openexr/openexr-3.2.3.ebuild
+++ b/media-libs/openexr/openexr-3.2.4-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
test? (
utils? (
https://github.com/AcademySoftwareFoundation/openexr-images/archive/refs/tags/v1.0.tar.gz
- -> openexr-images-1.0.tar.gz
+ -> openexr-images-1.0.tar.gz
)
)
"
@@ -22,14 +22,14 @@ SRC_URI="
LICENSE="BSD"
SLOT="0/31" # based on SONAME
# -ppc -sparc because broken on big endian, bug #818424
-KEYWORDS="~amd64 ~arm ~arm64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong -ppc ~ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads"
REQUIRED_USE="doc? ( utils )"
RESTRICT="!test? ( test )"
RDEPEND="
- app-arch/libdeflate[zlib]
+ app-arch/libdeflate:=[zlib(+)]
>=dev-libs/imath-3.1.6:=
"
DEPEND="${RDEPEND}"
@@ -125,13 +125,18 @@ src_configure() {
}
src_test() {
- local CMAKE_SKIP_TESTS=()
+ local CMAKE_SKIP_TESTS=()
- use x86 && CMAKE_SKIP_TESTS+=(
- '^OpenEXR.testDwaLookups$'
- )
+ use arm64 && CMAKE_SKIP_TESTS+=(
+ # bug #922247
+ 'OpenEXRCore.testDWAACompression'
+ 'OpenEXRCore.testDWABCompression'
+ )
+ use x86 && CMAKE_SKIP_TESTS+=(
+ '^OpenEXR.testDwaLookups$'
+ )
- cmake_src_test
+ cmake_src_test
}
src_install() {