diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-12 21:32:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-12 21:32:47 +0000 |
commit | b2d06fcf55b2f88efa183831072c7bca3f8e418b (patch) | |
tree | 506e516d8011ae848ec4f4410f013f0f29033ba1 /media-libs/openexr/openexr-2.5.8.ebuild | |
parent | d1edfd3a57afc1db57e14cc58d3f28eea8eefd64 (diff) |
gentoo auto-resync : 12:11:2022 - 21:32:47
Diffstat (limited to 'media-libs/openexr/openexr-2.5.8.ebuild')
-rw-r--r-- | media-libs/openexr/openexr-2.5.8.ebuild | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/media-libs/openexr/openexr-2.5.8.ebuild b/media-libs/openexr/openexr-2.5.8.ebuild deleted file mode 100644 index fbe8a897d4ff..000000000000 --- a/media-libs/openexr/openexr-2.5.8.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries" -HOMEPAGE="https://www.openexr.com/" -SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P}/OpenEXR" - -LICENSE="BSD" -SLOT="0/25" # based on SONAME -# -ppc -sparc because broken on big endian, bug #818424 -KEYWORDS="amd64 ~arm arm64 ~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 )" - -RDEPEND=" - ~media-libs/ilmbase-${PV}:=[static-libs?,${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( PATENTS README.md ) - -src_prepare() { - # Fix path for testsuite - sed -i -e "s:/var/tmp/:${T}:" "${S}"/IlmImfTest/tmpDir.h || die "failed to set temp path for tests" - - # disable failing tests on various arches - if use test; then - if use abi_x86_32; then - 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}/${PN}-2.5.7-0002-increase-IlmImfTest-timeout.patch" - fi - fi - - multilib_foreach_abi cmake_src_prepare -} - -multilib_src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - -DINSTALL_OPENEXR_DOCS=$(usex doc) - -DINSTALL_OPENEXR_EXAMPLES=$(usex examples) - -DOPENEXR_BUILD_BOTH_STATIC_SHARED=$(usex static-libs) - -DOPENEXR_BUILD_UTILS=$(usex utils) - -DOPENEXR_INSTALL_PKG_CONFIG=ON - -DOPENEXR_USE_CLANG_TIDY=OFF # don't look for clang-tidy - ) - - cmake_src_configure -} - -multilib_src_install_all() { - if use doc; then - DOCS+=( doc/*.pdf ) - fi - einstalldocs - - use examples && docompress -x /usr/share/doc/${PF}/examples -} |