Diff opencolorio-2.2.1 with a opencolorio-2.3.0

/usr/portage/media-libs/opencolorio/opencolorio-2.3.0.ebuild 2023-10-09 14:52:31.704368406 +0300
28 28

  
29 29
RDEPEND="
30 30
	dev-cpp/pystring
31
	<dev-cpp/yaml-cpp-0.8.0:=
31
	>=dev-cpp/yaml-cpp-0.7.0:=
32 32
	dev-libs/expat
33 33
	>=dev-libs/imath-3.1.5:=
34 34
	sys-libs/minizip-ng
......
81 81

  
82 82
PATCHES=(
83 83
	"${FILESDIR}/${PN}-2.2.1-adjust-python-installation.patch"
84
	"${FILESDIR}/${PN}-2.2.1-support-minizip-ng-4.patch"
84
	"${FILESDIR}/${PN}-2.3.0-support-yaml-cpp-0.8.0.patch"
85 85
)
86 86

  
87 87
pkg_setup() {
......
105 105
	#	ocioconvert (USE opengl)
106 106
	# - OpenGL, GLUT and GLEW is required for building ociodisplay (USE opengl)
107 107
	local mycmakeargs=(
108
		-DBUILD_SHARED_LIBS=$(usex !static-libs)
109
		-DOCIO_BUILD_APPS=$(usex apps)
110
		-DOCIO_BUILD_DOCS=$(usex doc)
111
		-DOCIO_BUILD_FROZEN_DOCS=$(usex doc)
112
		-DOCIO_BUILD_GPU_TESTS=$(usex test)
113
		-DOCIO_BUILD_JAVA=OFF
114
		-DOCIO_BUILD_PYTHON=$(usex python)
115
		-DOCIO_BUILD_TESTS=$(usex test)
116
		-DOCIO_INSTALL_EXT_PACKAGES=NONE
117
		-DOCIO_USE_OIIO_CMAKE_CONFIG=ON
118
		-DOCIO_USE_SSE=$(usex cpu_flags_x86_sse2)
108
		"-DBUILD_SHARED_LIBS=$(usex !static-libs)"
109
		"-DOCIO_BUILD_APPS=$(usex apps)"
110
		"-DOCIO_BUILD_DOCS=$(usex doc)"
111
		"-DOCIO_BUILD_FROZEN_DOCS=$(usex doc)"
112
		"-DOCIO_BUILD_GPU_TESTS=$(usex test)"
113
		"-DOCIO_BUILD_JAVA=OFF"
114
		"-DOCIO_BUILD_PYTHON=$(usex python)"
115
		"-DOCIO_BUILD_TESTS=$(usex test)"
116
		"-DOCIO_INSTALL_EXT_PACKAGES=NONE"
117
		"-DOCIO_USE_OIIO_CMAKE_CONFIG=ON"
118
		"-DOCIO_USE_SSE=$(usex cpu_flags_x86_sse2)"
119 119
	)
120 120
	use python && mycmakeargs+=(
121
		-DOCIO_PYTHON_VERSION="${EPYTHON/python/}"
122
		-DPython_EXECUTABLE="${PYTHON}"
123
		-DPYTHON_VARIANT_PATH=$(python_get_sitedir)
121
		"-DOCIO_PYTHON_VERSION=${EPYTHON/python/}"
122
		"-DPython_EXECUTABLE=${PYTHON}"
123
		"-DPYTHON_VARIANT_PATH=$(python_get_sitedir)"
124 124
	)
125 125

  
126 126
	cmake_src_configure
Thank you!