commit:     1296e6a922224aaff0ef76504dcae79cf9c89598
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  9 06:17:53 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jun  9 06:18:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1296e6a9

Revert "media-gfx/alembic: drop 1.8.0"

This reverts commit b2f8967541a2b1ceb3bc33c2858ebed73b4a49e6.

 - alembic-1.8.0 is pending stabilization.

Bug: https://bugs.gentoo.org/795024
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-gfx/alembic/Manifest             |  1 +
 media-gfx/alembic/alembic-1.8.0.ebuild | 52 ++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/media-gfx/alembic/Manifest b/media-gfx/alembic/Manifest
index e4ac6eb189f..c6cce3cf760 100644
--- a/media-gfx/alembic/Manifest
+++ b/media-gfx/alembic/Manifest
@@ -1,2 +1,3 @@
 DIST alembic-1.7.16.tar.gz 855709 BLAKE2B 
8009ed199b7dca190e40f56969d7c446e65bd78f58cee75dda4883ecf02b6c7ee422db76c4f523a76a4b2d42ef1547ededf5de0055cdb5d801c5cd4918a0b5f4
 SHA512 
bd4777dc4abf15bfb8307b00fd2d67671e89944d0dd8a74a657f4aee49e6a1cd0ab1fe5bb7f9afc63abcce2123466bb8a9a3886d41724ed2c242bc61d7d5b3a1
+DIST alembic-1.8.0.tar.gz 860886 BLAKE2B 
eccb1c74e90094a9b473ecb66260714a519110c20b18248c4fc5ecff5edf2b424b303764f80ee76333e588e85a92499d75a8104b972ccd142cc26532fd89df30
 SHA512 
23fc881863741f7fd081342f5c53c1ec3d00ab300ba8cd10e4a659ee820a9ed1244cf7cf2fd40482f6be32b9d7df44128363246e942bd03c802f3a2a81533b57
 DIST alembic-1.8.1.tar.gz 861482 BLAKE2B 
fd23e6b080dbfd689fe0d63e1cf815cd26dda0624181b4b536e81a59c497d4f22481db1206d8fb140734d90a24f06f2892b6fbd9c57cb81c5fa2d700f3bd4aab
 SHA512 
895493f36c895aef0675e1300ee3bbbf1b8819b4978b842c48810078e51219423500f74014eafe357a318a755ffa8c5c17c2c806b4216bab6cd334908bf684a4

diff --git a/media-gfx/alembic/alembic-1.8.0.ebuild 
b/media-gfx/alembic/alembic-1.8.0.ebuild
new file mode 100644
index 00000000000..dedaae796d0
--- /dev/null
+++ b/media-gfx/alembic/alembic-1.8.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+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"
+# arm{,64} either pyilmbase needs to be keyworded or imath merged and keyworded
+# to re-add python / pyalembic support
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="examples hdf5 test"
+RESTRICT="!test? ( test )"
+
+# TODO: once imath has been merge, switch to use imath instead
+# of ilmbase
+RDEPEND="
+       >=media-libs/ilmbase-2.5.5:=
+       hdf5? (
+               >=sci-libs/hdf5-1.10.2:=[zlib(+)]
+               >=sys-libs/zlib-1.2.11-r1
+       )
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( ACKNOWLEDGEMENTS.txt FEEDBACK.txt NEWS.txt README.txt )
+
+PATCHES=( "${FILESDIR}/${P}-0001-set-correct-libdir.patch" )
+
+src_configure() {
+       local mycmakeargs=(
+               -DALEMBIC_BUILD_LIBS=ON
+               -DALEMBIC_SHARED_LIBS=ON
+               -DDOCS_PATH=OFF # currently does nothing but require doxygen
+               -DUSE_ARNOLD=OFF
+               -DUSE_BINARIES=ON
+               -DUSE_EXAMPLES=$(usex examples)
+               -DUSE_HDF5=$(usex hdf5)
+               -DUSE_MAYA=OFF
+               -DUSE_PRMAN=OFF
+               # TODO: needs imath merged and keyworded for arm{,64}
+               -DUSE_PYALEMBIC=OFF
+               -DUSE_TESTS=$(usex test)
+       )
+
+       cmake_src_configure
+}

Reply via email to