diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-23 19:09:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-23 19:09:12 +0000 |
commit | 89aeb05c8da1b0c32fb9d0cd5d202763780d5d5a (patch) | |
tree | 58e84b2fdeecbc82c9e04dc13de2d56ecc02d583 /media-libs/openexr | |
parent | 87cdf8e64e5874146493d2a4a4489b08583043c3 (diff) |
gentoo auto-resync : 23:11:2022 - 19:09:11
Diffstat (limited to 'media-libs/openexr')
-rw-r--r-- | media-libs/openexr/Manifest | 1 | ||||
-rw-r--r-- | media-libs/openexr/openexr-3.1.5-r1.ebuild | 79 |
2 files changed, 80 insertions, 0 deletions
diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest index bf7af6a6a374..e20d74e67e84 100644 --- a/media-libs/openexr/Manifest +++ b/media-libs/openexr/Manifest @@ -7,5 +7,6 @@ AUX openexr-3.1.5-drop-failing-testDwaLookups.patch 868 BLAKE2B 6ae9b57b222e038a DIST openexr-2.5.8.tar.gz 27539605 BLAKE2B b54b72aa82c947fd7f252bf4d15b2727be2da7cdd257a9d96c6c2a3c892438ff850177549144e492617bfe5d260ddd14d21eac70a55f124784bbdf5f7077d1e9 SHA512 5b1ad99cfa639892292109a26c084868b3fe0acf572dd69750e951cec2127d63c78309241de92b0052f0abe50d86f2518e3185194121010db5f826d217e37f4f DIST openexr-3.1.5.tar.gz 20327926 BLAKE2B 77ece3c62b34292d4714873149a5a54a47fe811e96f992f1082e7dca99ad7717649f937c2dd7b18011c4201f15056526fc4b706c4d2f1b7fa593b9f1ed6314bd SHA512 01ef16eacd2dde83c67b81522bae87f47ba272a41ce7d4e35d865dbdcaa03093e7ac504b95d2c1b3a19535f2364a4f937b0e0570c74243bb1c6e021fce7b620c EBUILD openexr-2.5.8.ebuild 2037 BLAKE2B 0a934e0f8cf659d3a9209f1c289fcfefca2c08603950d940e24c445a16d056549e4a36bab8bcbbab0f2cea015908e9ecc56b471f73e0d9785b8a6cd9b46597ec SHA512 ca402e055f8ef05a96dc89245af3d675c66c3ac58ade050db66cb8be0132545d467f7d8930529fdbf47d215e53c0b45166b65a9e77fdccccc4b44deffca871e8 +EBUILD openexr-3.1.5-r1.ebuild 2101 BLAKE2B 5888c704d73cd51d5bc7a0b31d319c56fa67f9989d4193e3157f2c2393285eaf44d95dbd65e2fa9c4c2bb89ee9d715ef604cf40ab76e982b1bc324eca31d913c SHA512 eb5f2db76e952669167677863872a045f89575ec8078ade7c84bf70bc2988342ec113a0c37f903455d8625a4b9d4539345cd3e6ef747263dbb5bb5a443387649 EBUILD openexr-3.1.5.ebuild 2097 BLAKE2B fbf6c8253b2e0a2a57ce576b8810bf0b3aebe592af78f914eae3419c611e3df2d15989bff213f6c77d2a7161c6ecd0277b0d72d755f7d6f044dae4f0f10db899 SHA512 bd88bf3a5564f65e89319952c4e8838c4158689e55d044b66e7e4b503c75e5fd532a2c4d1896818c197ab1f4c7cf79b551629d0dab067f5baaebba9b6c673a26 MISC metadata.xml 797 BLAKE2B e9d8032b4c63b24e2e7b1874d46bbbcf4f31342c4540279d1ba243e69090c320e6d9caed29e15dee87f7fbfb4b806de3a1665b7a4385baa4107ea41a2ae74d32 SHA512 12f7cce7d5cee0a88e4c3f8babfa10f890d5b38c0131becafa46423dc642c2df03ac78b2e3bbcdb4846b929eeb7138e9b3d12cddbf1da984ac5446b6cc792dee diff --git a/media-libs/openexr/openexr-3.1.5-r1.ebuild b/media-libs/openexr/openexr-3.1.5-r1.ebuild new file mode 100644 index 000000000000..48224fa049f9 --- /dev/null +++ b/media-libs/openexr/openexr-3.1.5-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 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://www.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 ~ia64 ~loong -ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" +IUSE="cpu_flags_x86_avx doc examples large-stack utils test threads" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/imath-${PV}:= + sys-libs/zlib + !media-libs/openexr:3 + !media-libs/ilmbase +" +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 +) + +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 +} |