From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/opencolorio/
Date: Sun, 31 Oct 2021 05:49:47 +0000 (UTC) [thread overview]
Message-ID: <1635659377.720e33b1be10795720db98a44cf14de9b40425d4.sam@gentoo> (raw)
commit: 720e33b1be10795720db98a44cf14de9b40425d4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 31 05:49:37 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 31 05:49:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720e33b1
media-libs/opencolorio: add 2.1.0
Closes: https://bugs.gentoo.org/802363
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/opencolorio/Manifest | 1 +
media-libs/opencolorio/opencolorio-2.1.0.ebuild | 96 +++++++++++++++++++++++++
2 files changed, 97 insertions(+)
diff --git a/media-libs/opencolorio/Manifest b/media-libs/opencolorio/Manifest
index 6c79cbbec3a..921e7a73a12 100644
--- a/media-libs/opencolorio/Manifest
+++ b/media-libs/opencolorio/Manifest
@@ -2,3 +2,4 @@ DIST opencolorio-1.1.1.tar.gz 13828483 BLAKE2B f5642f08db84f2b8da44d0dbf58313c78
DIST opencolorio-2.0.0.tar.gz 9892414 BLAKE2B fdff2e144eadb444624f059f7582ea99d4e2dbd53cad5b89f92d19c7ca9dda2ff9ec4f8c8d00e6ac083da21134f9bc783b297c553a8e7d11936c936e5c41a2f3 SHA512 7110a1a30a5fa64b81d7fc5e33234673aaddbad5e19ce7f21436c590edd7d2ce767650c9a934011a96e53132c030bd0b654fcf93ad79c1bfc8c050762c57f6d0
DIST opencolorio-2.0.1.tar.gz 9945107 BLAKE2B cb4b152205642abd847b7263db838dbb922004017b9f19f7b2bd81d97f64e6f7d008c5a3f734475f510180ae9cc3a84688631e69c0587e0c77599b75b07d9159 SHA512 5787cc4cadb0a1832c925712ca0dfef6e843082b9461460e1798326c6fceaa97bee78e5298651e6a8a3662b348eab5ab9791e94c3efcac337da07229fb559338
DIST opencolorio-2.0.2.tar.gz 10812416 BLAKE2B 36f008035c36bef9473f9f79e9362eec20abb8e217a2131d3a2be5766de60cdab36e137547d414bf18e97ad368e30fb89a0ad4d8095b24bd184704d88ef192ae SHA512 ebc6b4b4251f69cb69f7203bc9ae962010f7f60ed5d53eb3ff14b64d5ef8cac2b98d0482485f1adaaf6b8c065cd4edd01c4e0577324a86ed4ebfe8e33e9fa667
+DIST opencolorio-2.1.0.tar.gz 10970849 BLAKE2B 3703ab90c7dfa853583e3018eee9a28c9f471207b3c6743095cf681a4659da708893be508b521195bf84f59ac2c058f844a8f70f83666beaed208812cf845420 SHA512 a0f4fb62c768b392ca1129e2046df96d670d785fc057d4103768440b7adb65d8faf5b7d39729060791794e83e6cd4e67821aed9b30f3f04b410c60809cd72267
diff --git a/media-libs/opencolorio/opencolorio-2.1.0.ebuild b/media-libs/opencolorio/opencolorio-2.1.0.ebuild
new file mode 100644
index 00000000000..1f785feb1ab
--- /dev/null
+++ b/media-libs/opencolorio/opencolorio-2.1.0.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit cmake flag-o-matic python-single-r1
+
+DESCRIPTION="A color management framework for visual effects and animation"
+HOMEPAGE="https://opencolorio.org https://github.com/AcademySoftwareFoundation/OpenColorIO"
+SRC_URI="https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/OpenColorIO-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="cpu_flags_x86_sse2 doc opengl python static-libs test"
+REQUIRED_USE="
+ doc? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+# See bug #802363 for yaml-cpp < dep
+RDEPEND="
+ dev-cpp/pystring
+ dev-python/pybind11
+ <dev-cpp/yaml-cpp-0.7.0:=
+ dev-libs/tinyxml
+ media-libs/ilmbase:=
+ opengl? (
+ media-libs/lcms:2
+ >=media-libs/openimageio-2.2.13.0
+ media-libs/glew:=
+ media-libs/freeglut
+ virtual/opengl
+ )
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-util/cmake-3.16.2-r1
+ virtual/pkgconfig
+ doc? (
+ $(python_gen_cond_dep '
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/testresources[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+# Restricting tests, bugs #439790 and #447908
+RESTRICT="test"
+
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ sed -i -e "s|LIBRARY DESTINATION lib|LIBRARY DESTINATION $(get_libdir)|g" {,src/bindings/python/,src/OpenColorIO/,src/libutils/oiiohelpers/,src/libutils/oglapphelpers/}CMakeLists.txt || die
+ sed -i -e "s|ARCHIVE DESTINATION lib|ARCHIVE DESTINATION $(get_libdir)|g" {,src/bindings/python/,src/OpenColorIO/,src/libutils/oiiohelpers/,src/libutils/oglapphelpers/}CMakeLists.txt || die
+}
+
+src_configure() {
+ # Missing features:
+ # - Truelight and Nuke are not in portage for now, so their support are disabled
+ # - Java bindings was not tested, so disabled
+ # Notes:
+ # - OpenImageIO is required for building ociodisplay and ocioconvert (USE opengl)
+ # - OpenGL, GLUT and GLEW is required for building ociodisplay (USE opengl)
+ local mycmakeargs=(
+ # Don't use imath yet, needs some poking to find the right headers
+ -DOCIO_USE_OPENEXR_HALF=ON
+ -DBUILD_SHARED_LIBS=ON
+ -DOCIO_BUILD_STATIC=$(usex static-libs)
+ -DOCIO_BUILD_DOCS=$(usex doc)
+ -DOCIO_BUILD_APPS=$(usex opengl)
+ -DOCIO_BUILD_PYTHON=$(usex python)
+ -DOCIO_PYTHON_VERSION="${EPYTHON/python/}"
+ -DOCIO_BUILD_JAVA=OFF
+ -DOCIO_USE_SSE=$(usex cpu_flags_x86_sse2)
+ -DOCIO_BUILD_TESTS=$(usex test)
+ -DOCIO_BUILD_GPU_TESTS=$(usex test)
+ -DOCIO_BUILD_FROZEN_DOCS=$(usex doc)
+ -DOCIO_INSTALL_EXT_PACKAGES=NONE
+ )
+
+ # We need this to work around asserts that can trigger even in proper use cases.
+ # See https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1235
+ append-flags -DNDEBUG
+
+ cmake_src_configure
+}
next reply other threads:[~2021-10-31 5:49 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-31 5:49 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-14 6:21 [gentoo-commits] repo/gentoo:master commit in: media-libs/opencolorio/ Sam James
2025-03-11 4:30 Eli Schwartz
2025-02-19 20:07 Michał Górny
2025-02-12 19:25 Arthur Zamarin
2025-01-05 20:35 Sam James
2024-05-28 12:35 Sam James
2024-03-18 16:35 Sam James
2023-10-29 20:52 Sam James
2023-10-28 21:46 Sam James
2023-10-28 21:46 Sam James
2023-10-27 5:15 Sam James
2023-10-27 3:20 Sam James
2023-10-27 2:59 [gentoo-commits] repo/gentoo:master commit in: media-libs/OpenColorIO/ Sam James
2023-10-27 2:34 Sam James
2023-09-26 20:48 [gentoo-commits] repo/gentoo:master commit in: media-libs/opencolorio/ Sam James
2023-09-26 20:48 Sam James
2023-06-10 21:12 Andreas Sturmlechner
2023-06-10 21:11 Sam James
2023-06-10 20:47 Andreas Sturmlechner
2023-06-10 20:47 Andreas Sturmlechner
2023-05-14 8:19 Andreas Sturmlechner
2023-04-09 12:35 Arthur Zamarin
2022-12-03 8:37 Joonas Niilola
2022-08-27 11:38 Sam James
2022-06-06 1:20 Sam James
2022-02-28 23:58 Sam James
2022-02-28 7:06 Yixun Lan
2022-02-28 5:21 Sam James
2022-02-26 23:06 Sam James
2022-02-20 4:49 Sam James
2022-02-20 4:45 Sam James
2022-02-18 2:14 Sam James
2022-02-15 22:39 Sam James
2022-01-09 15:48 Andreas Sturmlechner
2022-01-02 0:31 Sam James
2021-12-17 2:52 Sam James
2021-12-17 2:52 Sam James
2021-11-02 22:54 Sam James
2021-11-01 13:07 Sam James
2021-10-31 5:53 Sam James
2021-10-22 2:47 Sam James
2021-10-17 3:04 Sam James
2021-10-11 3:16 Sam James
2021-09-19 3:30 Sam James
2021-09-19 3:25 Sam James
2021-09-19 3:09 Sam James
2021-09-19 3:09 Sam James
2021-09-19 3:09 Sam James
2021-08-30 2:58 Sam James
2021-07-20 11:04 Joonas Niilola
2021-07-20 11:00 Joonas Niilola
2021-07-20 11:00 Joonas Niilola
2021-06-12 5:18 Sam James
2021-06-10 0:51 Sam James
2021-06-07 8:33 Joonas Niilola
2021-05-31 23:19 Sam James
2021-02-22 7:12 Sam James
2020-12-23 21:56 Sam James
2020-12-21 18:07 Sam James
2020-11-17 19:17 Agostino Sarubbo
2020-11-17 0:02 Sam James
2020-10-10 13:50 Sergei Trofimovich
2020-10-10 4:34 Sam James
2020-06-06 0:02 Andreas Sturmlechner
2020-04-13 9:21 Andreas Sturmlechner
2020-02-11 19:50 Agostino Sarubbo
2020-02-11 19:43 Agostino Sarubbo
2020-02-09 16:29 Michał Górny
2020-01-30 21:26 Michał Górny
2019-05-19 17:54 Andreas Sturmlechner
2018-05-25 23:58 Thomas Deutschmann
2018-05-24 14:31 Agostino Sarubbo
2017-09-23 11:14 David Seifert
2017-04-26 14:35 Sergey Popov
2017-04-23 11:29 David Seifert
2016-06-02 8:26 Sergey Popov
2016-05-30 20:16 Sergey Popov
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=1635659377.720e33b1be10795720db98a44cf14de9b40425d4.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