From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/opencolorio/
Date: Sat, 10 Oct 2020 04:34:11 +0000 (UTC) [thread overview]
Message-ID: <1602300453.279e0179049fc08d5f304e23f1729a2c231a2f07.sam@gentoo> (raw)
commit: 279e0179049fc08d5f304e23f1729a2c231a2f07
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 03:27:22 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 03:27:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=279e0179
media-libs/opencolorio: bump to 1.1.1
Closes: https://bugs.gentoo.org/747409
Closes: https://bugs.gentoo.org/667986
Closes: https://bugs.gentoo.org/677642
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/opencolorio/Manifest | 1 +
media-libs/opencolorio/opencolorio-1.1.1.ebuild | 92 +++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/media-libs/opencolorio/Manifest b/media-libs/opencolorio/Manifest
index 43489473eb6..251465032f2 100644
--- a/media-libs/opencolorio/Manifest
+++ b/media-libs/opencolorio/Manifest
@@ -1 +1,2 @@
DIST opencolorio-1.1.0.tar.gz 13826812 BLAKE2B 555a5ac393170503c944c3471ea482b1a22be7c98ee7b81af37f52db185c8b61c5318102c139a8711f4828d306b6c4322f5d839c4df08ce41ebbb9dcb2bda152 SHA512 909874a9f91a8d229622810fc70233680c6e75203bd8555179322de2873da00bf302432e19f189b787ffcda3157ddec1e4601c97f75a36e16f644fe7d42f6998
+DIST opencolorio-1.1.1.tar.gz 13828483 BLAKE2B f5642f08db84f2b8da44d0dbf58313c78263496fc6f1f209b93fd303bbf9477033317b44eb8bb2b13a70afa19422f4fa312d52a3fa6598031a2aa50b33bbfccf SHA512 bed722f9ddce1887d28aacef2882debccd7c3f3c0c708d2723fea58a097de9f02721af9e85453e089ffda5406aef593ab6536c6886307823c132aa787e492e33
diff --git a/media-libs/opencolorio/opencolorio-1.1.1.ebuild b/media-libs/opencolorio/opencolorio-1.1.1.ebuild
new file mode 100644
index 00000000000..9b3802a51da
--- /dev/null
+++ b/media-libs/opencolorio/opencolorio-1.1.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake flag-o-matic python-single-r1
+
+DESCRIPTION="A color management framework for visual effects and animation"
+HOMEPAGE="https://opencolorio.org/"
+SRC_URI="https://github.com/imageworks/OpenColorIO/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/OpenColorIO-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_x86_sse2 doc opengl python static-libs test"
+REQUIRED_USE="
+ doc? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ >=dev-cpp/yaml-cpp-0.5
+ dev-libs/tinyxml
+ opengl? (
+ media-libs/lcms:2
+ media-libs/openimageio
+ media-libs/glew:=
+ media-libs/freeglut
+ virtual/opengl
+ )
+ python? ( ${PYTHON_DEPS} )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? (
+ $(python_gen_cond_dep '
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+# Restricting tests, bugs #439790 and #447908
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.1.0-use-GNUInstallDirs-and-fix-cmake-install-location.patch"
+ "${FILESDIR}/${PN}-1.1.0-remove-building-of-bundled-programs.patch"
+ "${FILESDIR}/${PN}-1.1.0-yaml-cpp-0.6.patch"
+ "${FILESDIR}/${PN}-1.1.0-remove-Werror.patch"
+)
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ use python && python_fix_shebang .
+}
+
+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=(
+ -DOCIO_BUILD_JNIGLUE=OFF
+ -DOCIO_BUILD_NUKE=OFF
+ -DOCIO_BUILD_SHARED=ON
+ -DOCIO_BUILD_STATIC=$(usex static-libs)
+ -DOCIO_STATIC_JNIGLUE=OFF
+ -DOCIO_BUILD_TRUELIGHT=OFF
+ -DUSE_EXTERNAL_LCMS=ON
+ -DUSE_EXTERNAL_TINYXML=ON
+ -DUSE_EXTERNAL_YAML=ON
+ -DOCIO_BUILD_DOCS=$(usex doc)
+ -DOCIO_BUILD_APPS=$(usex opengl)
+ -DOCIO_BUILD_PYGLUE=$(usex python)
+ -DOCIO_USE_SSE=$(usex cpu_flags_x86_sse2)
+ -DOCIO_BUILD_TESTS=$(usex test)
+ )
+
+ use doc && mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=ON ) # broken
+ cmake_src_configure
+}
next reply other threads:[~2020-10-10 4:34 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-10 4:34 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-31 5:49 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-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=1602300453.279e0179049fc08d5f304e23f1729a2c231a2f07.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