mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
Revert "media-libs/OpenColorIO: drop misleading static-libs flag"
This reverts commit 67feac3eb0.
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user