From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4884813835B for ; Tue, 4 May 2021 22:03:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93C74E087F; Tue, 4 May 2021 22:03:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6259AE0884 for ; Tue, 4 May 2021 22:03:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D7F4340DB0 for ; Tue, 4 May 2021 22:02:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3D0E753 for ; Tue, 4 May 2021 22:02:52 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1620165736.1bbe14fe858980251f702b71491303041623014b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/openexr/Manifest media-libs/openexr/metadata.xml media-libs/openexr/openexr-3.0.1.ebuild X-VCS-Directories: media-libs/openexr/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1bbe14fe858980251f702b71491303041623014b X-VCS-Branch: master Date: Tue, 4 May 2021 22:02:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 88fcd836-6eba-4bf7-a32f-ce49d843a1ee X-Archives-Hash: a67be2196c26d6a33a7f6b4aaf319b6c commit: 1bbe14fe858980251f702b71491303041623014b Author: Bernd Waibel posteo net> AuthorDate: Tue Mar 30 05:29:31 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 4 22:02:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bbe14fe media-libs/openexr: bump to 3.0.1 Security fixes Bug: https://bugs.gentoo.org/776808 Closes: https://bugs.gentoo.org/776805 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Bernd Waibel posteo.net> Closes: https://github.com/gentoo/gentoo/pull/19964 Signed-off-by: Sam James gentoo.org> media-libs/openexr/Manifest | 1 + media-libs/openexr/metadata.xml | 5 ++- media-libs/openexr/openexr-3.0.1.ebuild | 65 +++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 1 deletion(-) diff --git a/media-libs/openexr/Manifest b/media-libs/openexr/Manifest index bdbd8277f8a..385bf371a3c 100644 --- a/media-libs/openexr/Manifest +++ b/media-libs/openexr/Manifest @@ -1 +1,2 @@ DIST openexr-2.5.5.tar.gz 27536865 BLAKE2B d0c0b2fd39b2cfafb60b6d0de3960063ff62341cf22be519f874c0c83f05cb604c5d503bb8b88514c71c5a54a79afa80a7fd00c2df15ec2193f6b3cffdc117c6 SHA512 e511af26a8fe2175a641fd25d2dcc6ef807e00bee2aff06a4784125f916ffd47fe376fe0621d385b604180a239bbfee063f8ceee3f7b731fde3c38558e9fdcdf +DIST openexr-3.0.1.tar.gz 25059445 BLAKE2B 76bce1ff830b5e32362bfaf91d39945add171c5c1f453968b2fa8ba41e0996064d3a104eb7759cea87477e96e8a52d548743c7d83f5c6131dd38aecdd47bd6dd SHA512 e450c55d150e4c0a8a9147f78fe1c73ea9134976444f8c77c832d0671d4c3796f96fee74d23f26cdb9383e658a33d6d57c989e9207d1edfc8556ad688ff25a5b diff --git a/media-libs/openexr/metadata.xml b/media-libs/openexr/metadata.xml index 470947824a2..37c6bc8c811 100644 --- a/media-libs/openexr/metadata.xml +++ b/media-libs/openexr/metadata.xml @@ -13,8 +13,11 @@ media-video@gentoo.org + + Enables code to take advantage of large stack support. + - Build several utility binaries for verifying and manipulating EXR files. + Build several binary tools for verifying and manipulating EXR files. diff --git a/media-libs/openexr/openexr-3.0.1.ebuild b/media-libs/openexr/openexr-3.0.1.ebuild new file mode 100644 index 00000000000..90b1ee500f0 --- /dev/null +++ b/media-libs/openexr/openexr-3.0.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS=cmake +inherit cmake-multilib flag-o-matic toolchain-funcs + +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" +#S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="BSD" +SLOT="0/27" # based on SONAME +# imath needs keywording: arm{,64}, hppa, ia64, ppc{,64}, sparc, x64-macos, x86-solaris +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" +IUSE="cpu_flags_x86_avx doc examples large-stack static-libs utils test threads" +RESTRICT="!test? ( test )" + +RDEPEND=" + !media-libs/ilmbase + dev-libs/imath:= + sys-libs/zlib[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( CHANGES.md GOVERNANCE.md PATENTS README.md SECURITY.md docs/SymbolVisibility.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" + +# if use abi_x86_32 && use test; then +# eapply "${FILESDIR}/${PN}-2.5.2-0001-IlmImfTest-main.cpp-disable-tests.patch" +# fi + +# multilib_foreach_abi cmake_src_prepare +#} + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=$(usex !static-libs) + -DBUILD_TESTING=$(usex test) + -DOPENEXR_BUILD_UTILS=$(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 + ) + + cmake_src_configure +} + +multilib_src_install_all() { + if use doc; then + DOCS+=( docs/*.pdf ) + fi + einstalldocs + + use examples && docompress -x /usr/share/doc/${PF}/examples +}