public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/
Date: Wed, 23 Nov 2022 17:55:14 +0000 (UTC)	[thread overview]
Message-ID: <1669226108.fd0604a9d022357679f853b1ff195b7c66d33de0.juippis@gentoo> (raw)

commit:     fd0604a9d022357679f853b1ff195b7c66d33de0
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Mon Nov 14 16:59:36 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Nov 23 17:55:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd0604a9

media-libs/openexr: loosen dependency on dev-libs/imath

Package builds with dev-libs/imath-3.1.6, so don't restrict to the
same version.

Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/28265
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/openexr/openexr-3.1.5-r1.ebuild | 79 ++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

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
+}


             reply	other threads:[~2022-11-23 17:55 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23 17:55 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-04 21:40 [gentoo-commits] repo/gentoo:master commit in: media-libs/openexr/ Andreas Sturmlechner
2024-09-23  8:21 Arthur Zamarin
2024-08-29 16:14 Mike Gilbert
2024-06-02 14:46 Sam James
2024-06-02  8:28 Joonas Niilola
2024-06-02  3:29 Sam James
2024-06-02  3:28 Sam James
2024-06-02  3:27 Sam James
2024-03-17 14:23 Florian Schmaus
2024-03-17 12:39 Sam James
2024-02-21  1:48 Sam James
2024-02-20 18:33 Arthur Zamarin
2023-12-22 11:41 Joonas Niilola
2023-12-21 15:15 Sam James
2023-10-27  3:20 Sam James
2023-10-27  2:59 Sam James
2023-10-27  2:34 Sam James
2023-09-08  7:17 Joonas Niilola
2023-09-08  7:17 Joonas Niilola
2023-04-10  7:37 Joonas Niilola
2023-01-13  0:20 Yixun Lan
2023-01-13  0:08 Yixun Lan
2023-01-11  8:32 Sam James
2023-01-11  8:23 Arthur Zamarin
2022-11-15 18:03 Joonas Niilola
2022-09-29  5:53 Joonas Niilola
2022-09-28  9:55 Joonas Niilola
2022-08-15 14:10 Andreas Sturmlechner
2022-07-03 23:54 Sam James
2022-06-22 16:59 Arthur Zamarin
2022-06-22  7:01 Joonas Niilola
2022-06-22  7:01 Joonas Niilola
2022-05-17 12:48 WANG Xuerui
2022-04-22 18:18 Arthur Zamarin
2022-04-21 13:00 Jakov Smolić
2022-04-19  6:41 Joonas Niilola
2022-04-15  6:18 Joonas Niilola
2022-03-31 18:45 Jakov Smolić
2022-03-01  1:12 Sam James
2022-03-01  0:02 Sam James
2022-02-28 23:58 Sam James
2022-02-28  5:21 Sam James
2022-02-15 19:51 Sam James
2022-02-07  5:49 Sam James
2022-02-05  6:34 Sam James
2022-02-02  7:54 Sam James
2022-01-28  7:53 Sam James
2022-01-09 15:48 Andreas Sturmlechner
2022-01-09 15:48 Andreas Sturmlechner
2022-01-08 13:57 Yixun Lan
2021-11-26  4:30 Sam James
2021-11-14  4:42 Sam James
2021-11-05  4:03 Sam James
2021-10-27 22:33 Sam James
2021-10-27  4:14 Sam James
2021-10-17  2:22 Sam James
2021-10-16  9:15 Sam James
2021-10-16  9:15 Sam James
2021-10-09  8:05 Sam James
2021-10-09  7:59 Sam James
2021-10-09  7:59 Sam James
2021-10-09  7:59 Sam James
2021-10-09  7:59 Sam James
2021-08-12  6:45 Joonas Niilola
2021-08-05 11:11 Sergei Trofimovich
2021-07-22 15:01 Sergei Trofimovich
2021-07-21 21:57 Marek Szuba
2021-07-10 15:40 Sam James
2021-07-10 12:37 John Helmert III
2021-07-10 10:43 Agostino Sarubbo
2021-06-17 15:56 Sergei Trofimovich
2021-06-05  9:45 Sergei Trofimovich
2021-06-03 16:26 Sam James
2021-06-02 19:01 Sam James
2021-06-02 19:01 Sam James
2021-06-01  0:28 Sam James
2021-05-04 22:02 Sam James
2021-02-27 16:38 Sam James
2021-02-27 16:38 Sam James
2021-02-26 17:34 Sergei Trofimovich
2021-02-26 15:18 Sam James
2021-02-26  8:09 Agostino Sarubbo
2021-02-25 19:00 Sam James
2021-02-25 17:57 Sam James
2021-02-25 14:02 Sam James
2021-02-25 11:31 Sam James
2021-02-16 19:19 Sam James
2021-02-09 14:11 Sergei Trofimovich
2021-02-07 17:07 Conrad Kostecki
2021-01-24  1:48 Sam James
2021-01-24  1:48 Sam James
2020-12-27 21:47 Sam James
2020-12-27 21:40 Sam James
2020-12-22  6:06 Sam James
2020-10-07 18:10 Sam James
2020-10-07 17:55 Sam James
2020-09-20 16:28 Thomas Deutschmann
2020-09-14 16:34 Sergei Trofimovich
2020-08-12 19:01 Sergei Trofimovich
2020-08-07 11:44 Agostino Sarubbo
2020-08-06  2:10 Sam James
2020-07-21 19:39 Andreas Sturmlechner
2020-06-28 20:57 Aaron Bauman
2019-06-15 21:06 Sergei Trofimovich
2019-04-28 13:03 Sergei Trofimovich
2019-04-28  7:42 Sergei Trofimovich
2019-04-24 21:33 Thomas Deutschmann
2019-04-23  0:46 Aaron Bauman
2019-04-20 18:08 Sergei Trofimovich
2019-04-20 13:57 Pacho Ramos
2019-04-07 22:15 Aaron Bauman
2019-03-26 22:38 Aaron Bauman
2018-03-26 13:51 Craig Andrews
2018-01-28 14:08 Mikle Kolyada
2017-12-10 21:28 Sergei Trofimovich
2017-01-29 19:15 Fabian Groffen
2015-11-18  9:32 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1669226108.fd0604a9d022357679f853b1ff195b7c66d33de0.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox