public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/alembic/
Date: Sat, 12 Feb 2022 15:01:18 +0000 (UTC)	[thread overview]
Message-ID: <1644676073.cdbdfa031ae9572cc3558609adb4eca5e3508216.sam@gentoo> (raw)

commit:     cdbdfa031ae9572cc3558609adb4eca5e3508216
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 12 14:27:53 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 12 14:27:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdbdfa03

media-gfx/alembic: flip over to OpenEXR 3

Things are getting complicated with trying to keep Blender
on OpenEXR 2. Blender needs to switch as a result, but
so do its dependencies.

Bug: https://bugs.gentoo.org/818232
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/alembic/alembic-1.8.3-r2.ebuild | 65 +++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/media-gfx/alembic/alembic-1.8.3-r2.ebuild b/media-gfx/alembic/alembic-1.8.3-r2.ebuild
new file mode 100644
index 000000000000..ad3d9d128436
--- /dev/null
+++ b/media-gfx/alembic/alembic-1.8.3-r2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit cmake python-single-r1
+
+DESCRIPTION="Open framework for storing and sharing scene data"
+HOMEPAGE="https://www.alembic.io/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="examples hdf5 python test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	dev-libs/imath:=
+	python? ( dev-libs/imath:=[python,${PYTHON_SINGLE_USEDEP}] )
+	hdf5? (
+		>=sci-libs/hdf5-1.10.2:=[zlib(+)]
+		>=sys-libs/zlib-1.2.11-r1
+	)
+	python? ( $(python_gen_cond_dep 'dev-libs/boost[python,${PYTHON_USEDEP}]') )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.8.0-0001-set-correct-libdir.patch
+	"${FILESDIR}"/${P}-0001-find-py-ilmbase-in-config-mode.patch
+)
+
+DOCS=( ACKNOWLEDGEMENTS.txt FEEDBACK.txt NEWS.txt README.txt )
+
+src_prepare() {
+	cmake_src_prepare
+	# PyAlembic test doesn't properly find Imath, comment it for now
+	cmake_run_in python/PyAlembic cmake_comment_add_subdirectory Tests
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DALEMBIC_BUILD_LIBS=ON
+		-DALEMBIC_SHARED_LIBS=ON
+		# currently does nothing but require doxygen
+		-DDOCS_PATH=OFF
+		-DUSE_ARNOLD=OFF
+		-DUSE_BINARIES=ON
+		-DUSE_EXAMPLES=$(usex examples)
+		-DUSE_HDF5=$(usex hdf5)
+		-DUSE_MAYA=OFF
+		-DUSE_PRMAN=OFF
+		-DUSE_PYALEMBIC=$(usex python)
+		-DUSE_TESTS=$(usex test)
+	)
+
+	use python && mycmakeargs+=( -DPython3_EXECUTABLE=${PYTHON} )
+
+	cmake_src_configure
+}


             reply	other threads:[~2022-02-12 15:01 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-12 15:01 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-19 20:22 [gentoo-commits] repo/gentoo:master commit in: media-gfx/alembic/ Michał Górny
2025-01-06  1:00 Sam James
2025-01-05 20:35 Sam James
2025-01-05 20:35 Sam James
2024-06-11 20:35 Sam James
2024-06-04  7:13 Sam James
2024-04-09 15:54 Arthur Zamarin
2024-01-10 12:33 Sam James
2024-01-10 12:33 Sam James
2023-05-26 14:38 Sam James
2023-04-11  5:38 Viorel Munteanu
2023-03-05 11:19 Sam James
2023-01-11  7:55 Sam James
2022-11-25  8:23 Joonas Niilola
2022-03-16 15:54 Joonas Niilola
2022-03-16 15:54 Joonas Niilola
2022-02-28  5:21 Sam James
2021-11-21  7:07 Jakov Smolić
2021-10-20  2:42 Sam James
2021-07-20 19:01 Ionen Wolkens
2021-07-19 18:36 Sam James
2021-07-19  7:47 Joonas Niilola
2021-06-15 14:42 Sam James
2021-06-09 21:08 Sam James
2021-06-09  6:18 Joonas Niilola
2021-06-09  6:08 Joonas Niilola
2021-06-09  6:08 Joonas Niilola
2021-03-05 18:39 Sam James
2021-02-22  7:12 Sam James
2021-02-07 17:07 Conrad Kostecki
2021-02-01 13:33 Sam James
2021-01-24 22:14 Sam James
2020-11-25  7:50 Joonas Niilola
2020-11-24 13:26 Joonas Niilola
2020-11-24 13:26 Joonas Niilola
2020-11-08 10:29 Sam James
2020-08-22  9:15 Michał Górny
2020-08-22  8:04 Michał Górny
2020-06-08 16:47 Joonas Niilola
2020-06-08 16:47 Joonas Niilola
2020-02-09 16:29 Michał Górny
2020-01-03 19:08 Andreas Sturmlechner
2018-05-20  0:29 Aaron Bauman
2018-01-26 21:22 Patrice Clement

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=1644676073.cdbdfa031ae9572cc3558609adb4eca5e3508216.sam@gentoo \
    --to=sam@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