diff options
Diffstat (limited to 'media-libs/openexr')
11 files changed, 0 insertions, 486 deletions
diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest index 3e7335cd43f1..39bd53e6edb4 100644 --- a/media-libs/openexr/Manifest +++ b/media-libs/openexr/Manifest @@ -1,7 +1,3 @@ -DIST openexr-3.1.11.tar.gz 20539852 BLAKE2B 9d57362c656a646a5b909063ff57eccfacbc70929a802561c2be71b050e97e7087221f78110f2686fcc1ea960d87880ccdbcb57b474f635a3392f3fa169ef3c5 SHA512 ebbad4b22315522f43cafefca77cf92ce38cac87f024c8dc6429aed04a6dad1f0a3d717faaab39c4c3605e440442952acc4630c5393754ea138929be4ad8a0d4 -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.1.12.tar.gz 20540857 BLAKE2B 94a78e4e45f892b56f9a05cabad5cea999ff1844ff8569995f1f301e8599e0be1c214477f501f351c248eea141db22508eb764c1c91508399e69932026361c04 SHA512 0fce6a1322d74354a29ece9f9afeca1c4874c4d55079ec720f3ef21ab2ab950ec333f793f1ffad6634f57b40c4276af578b31ac8bc3e11856d7b903d5475e5eb 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 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 4b0af468a73a..000000000000 --- a/media-libs/openexr/openexr-3.1.11.ebuild +++ /dev/null @@ -1,81 +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_test() { - local CMAKE_SKIP_TESTS=() - - use arm64 && CMAKE_SKIP_TESTS+=( - # bug #922247 - 'OpenEXRCore.testDWAACompression' - 'OpenEXRCore.testDWABCompression' - ) - - cmake_src_test -} - -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 de6cba52a4ee..000000000000 --- a/media-libs/openexr/openexr-3.1.12.ebuild +++ /dev/null @@ -1,81 +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_test() { - local CMAKE_SKIP_TESTS=() - - use arm64 && CMAKE_SKIP_TESTS+=( - # bug #922247 - 'OpenEXRCore.testDWAACompression' - 'OpenEXRCore.testDWABCompression' - ) - - cmake_src_test -} - -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 -} |