From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1565928-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id DF91C158004
	for <garchives@archives.gentoo.org>; Fri, 27 Oct 2023 02:59:26 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 254292BC0C2;
	Fri, 27 Oct 2023 02:59:23 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B57F42BC0B6
	for <gentoo-commits@lists.gentoo.org>; Fri, 27 Oct 2023 02:59:21 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D2DFB335CEE
	for <gentoo-commits@lists.gentoo.org>; Fri, 27 Oct 2023 02:59:20 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B42BB12D9
	for <gentoo-commits@lists.gentoo.org>; Fri, 27 Oct 2023 02:59:17 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1698375504.d3136fca6cd93c40398e1a9ce7cff4e3a2a9f88d.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/OpenColorIO/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/OpenColorIO/OpenColorIO-2.1.3.ebuild media-libs/OpenColorIO/OpenColorIO-2.2.1.ebuild media-libs/OpenColorIO/OpenColorIO-2.3.0.ebuild
X-VCS-Directories: media-libs/OpenColorIO/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: d3136fca6cd93c40398e1a9ce7cff4e3a2a9f88d
X-VCS-Branch: master
Date: Fri, 27 Oct 2023 02:59:17 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 00da4b23-4fc3-4d87-856d-ae35ec20061e
X-Archives-Hash: 52cd6732ce03cf8f4c0fdaa8432c5e84

commit:     d3136fca6cd93c40398e1a9ce7cff4e3a2a9f88d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 27 02:58:24 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 02:58:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3136fca

Revert "media-libs/OpenColorIO: drop misleading static-libs flag"

This reverts commit 67feac3eb03a837b48659761463dee05a6e98054.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/OpenColorIO/OpenColorIO-2.1.3.ebuild | 3 ++-
 media-libs/OpenColorIO/OpenColorIO-2.2.1.ebuild | 3 ++-
 media-libs/OpenColorIO/OpenColorIO-2.3.0.ebuild | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/media-libs/OpenColorIO/OpenColorIO-2.1.3.ebuild b/media-libs/OpenColorIO/OpenColorIO-2.1.3.ebuild
index 3f0ec84665c6..cdc060041ea3 100644
--- a/media-libs/OpenColorIO/OpenColorIO-2.1.3.ebuild
+++ b/media-libs/OpenColorIO/OpenColorIO-2.1.3.ebuild
@@ -16,7 +16,7 @@ LICENSE="BSD"
 # to force rebuild of consumers due to changing to openexr 3 changing API.
 SLOT="0/$(ver_cut 1-2).1"
 KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv"
-IUSE="cpu_flags_x86_sse2 doc opengl python test"
+IUSE="cpu_flags_x86_sse2 doc opengl python static-libs test"
 REQUIRED_USE="
 	doc? ( python )
 	python? ( ${PYTHON_REQUIRED_USE} )
@@ -81,6 +81,7 @@ src_configure() {
 	# - OpenGL, GLUT and GLEW is required for building ociodisplay (USE opengl)
 	local mycmakeargs=(
 		-DOCIO_USE_OPENEXR_HALF=OFF
+		-DOCIO_BUILD_STATIC=$(usex static-libs)
 		-DOCIO_BUILD_DOCS=$(usex doc)
 		-DOCIO_BUILD_APPS=$(usex opengl)
 		-DOCIO_BUILD_PYTHON=$(usex python)

diff --git a/media-libs/OpenColorIO/OpenColorIO-2.2.1.ebuild b/media-libs/OpenColorIO/OpenColorIO-2.2.1.ebuild
index 80f90760f17c..0690447e44cb 100644
--- a/media-libs/OpenColorIO/OpenColorIO-2.2.1.ebuild
+++ b/media-libs/OpenColorIO/OpenColorIO-2.2.1.ebuild
@@ -16,7 +16,7 @@ SLOT="0/$(ver_cut 1-2)"
 # minizip-ng: ~arm ~arm64 ~ppc64 ~riscv
 # osl: ~riscv
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="apps cpu_flags_x86_sse2 doc opengl python test"
+IUSE="apps cpu_flags_x86_sse2 doc opengl python static-libs test"
 # TODO: drop opengl? It does nothing without building either the apps or the testsuite
 REQUIRED_USE="
 	apps? ( opengl )
@@ -104,6 +104,7 @@ src_configure() {
 	#	ocioconvert (USE opengl)
 	# - OpenGL, GLUT and GLEW is required for building ociodisplay (USE opengl)
 	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=$(usex !static-libs)
 		-DOCIO_BUILD_APPS=$(usex apps)
 		-DOCIO_BUILD_DOCS=$(usex doc)
 		-DOCIO_BUILD_FROZEN_DOCS=$(usex doc)

diff --git a/media-libs/OpenColorIO/OpenColorIO-2.3.0.ebuild b/media-libs/OpenColorIO/OpenColorIO-2.3.0.ebuild
index 3d6d69685dd4..89a3ed8c0199 100644
--- a/media-libs/OpenColorIO/OpenColorIO-2.3.0.ebuild
+++ b/media-libs/OpenColorIO/OpenColorIO-2.3.0.ebuild
@@ -16,7 +16,7 @@ SLOT="0/$(ver_cut 1-2)"
 # minizip-ng: ~arm ~arm64 ~ppc64 ~riscv
 # osl: ~riscv
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="apps cpu_flags_x86_sse2 doc opengl python test"
+IUSE="apps cpu_flags_x86_sse2 doc opengl python static-libs test"
 # TODO: drop opengl? It does nothing without building either the apps or the testsuite
 REQUIRED_USE="
 	apps? ( opengl )
@@ -104,6 +104,7 @@ src_configure() {
 	#	ocioconvert (USE opengl)
 	# - OpenGL, GLUT and GLEW is required for building ociodisplay (USE opengl)
 	local mycmakeargs=(
+		"-DBUILD_SHARED_LIBS=$(usex !static-libs)"
 		"-DOCIO_BUILD_APPS=$(usex apps)"
 		"-DOCIO_BUILD_DOCS=$(usex doc)"
 		"-DOCIO_BUILD_FROZEN_DOCS=$(usex doc)"