diff options
author | Bernd Waibel <waebbl-gentoo@posteo.net> | 2021-05-19 22:18:33 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-01 00:27:49 +0000 |
commit | 7a8a2b04b250bf2c865633235b1b4effce67e3d2 (patch) | |
tree | 277a84b7a2c267a4b24584a9a1b5c2b9cfcb24b2 /media-libs/ilmbase/ilmbase-2.5.6.ebuild | |
parent | dev-python/pynvim: python3_10 support (diff) | |
download | gentoo-7a8a2b04b250bf2c865633235b1b4effce67e3d2.tar.gz gentoo-7a8a2b04b250bf2c865633235b1b4effce67e3d2.tar.bz2 gentoo-7a8a2b04b250bf2c865633235b1b4effce67e3d2.zip |
media-libs/ilmbase: bump to 2.5.6
Bug: https://bugs.gentoo.org/791136
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/ilmbase/ilmbase-2.5.6.ebuild')
-rw-r--r-- | media-libs/ilmbase/ilmbase-2.5.6.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-libs/ilmbase/ilmbase-2.5.6.ebuild b/media-libs/ilmbase/ilmbase-2.5.6.ebuild new file mode 100644 index 000000000000..e3c77c825e62 --- /dev/null +++ b/media-libs/ilmbase/ilmbase-2.5.6.ebuild @@ -0,0 +1,41 @@ +# 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 + +DESCRIPTION="OpenEXR ILM Base libraries" +HOMEPAGE="https://www.openexr.com/" +SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/openexr-${PV}/IlmBase" + +LICENSE="BSD" +SLOT="0/25" # based on SONAME +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" +IUSE="large-stack static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND="virtual/pkgconfig" + +DOCS=( README.md ) + +src_prepare() { + if use abi_x86_32 && use test; then + eapply "${FILESDIR}"/${PN}-2.5.4-0001-disable-failing-test-on-x86_32.patch + fi + + multilib_foreach_abi cmake_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + -DILMBASE_BUILD_BOTH_STATIC_SHARED=$(usex static-libs) + -DILMBASE_ENABLE_LARGE_STACK=$(usex large-stack) + -DILMBASE_INSTALL_PKG_CONFIG=ON + ) + + cmake_src_configure +} |