opencolorio: update to 2.4.2.

OCIO_USE_SSE was renamed to OCIO_USE_SIMD.
This commit is contained in:
oreo639 2025-05-08 18:40:06 -07:00 committed by classabbyamp
parent 0f25ca2ff4
commit 3b1ed1535d
3 changed files with 7 additions and 21 deletions

View file

@ -2324,7 +2324,7 @@ libxmp.so.4 libxmp-4.3.7_1
libKF5ThreadWeaver.so.5 threadweaver-5.26.0_1
libOpenImageIO_Util.so.2.5 openimageio-2.5.17.0_1
libOpenImageIO.so.2.5 openimageio-2.5.17.0_1
libOpenColorIO.so.2.1 opencolorio-2.1.2_1
libOpenColorIO.so.2.4 opencolorio-2.4.2_1
libpystring.so.1 pystring-1.1.3_1
libyaml-cpp.so.0.7 yaml-cpp-0.7.0_1
libpaper.so.1 libpaper-1.1.24_1

View file

@ -1,13 +0,0 @@
Index: OpenColorIO-2.1.1/src/OpenColorIO/FileRules.cpp
===================================================================
--- OpenColorIO-2.1.1.orig/src/OpenColorIO/FileRules.cpp
+++ OpenColorIO-2.1.1/src/OpenColorIO/FileRules.cpp
@@ -3,6 +3,7 @@
#include <algorithm>
#include <cctype>
+#include <cstring>
#include <map>
#include <regex>
#include <sstream>

View file

@ -1,29 +1,28 @@
# Template file for 'opencolorio'
pkgname=opencolorio
version=2.1.3
revision=2
version=2.4.2
revision=1
build_style=cmake
configure_args="-DCMAKE_CONFIGURATION_TYPES=None
-DOCIO_INSTALL_EXT_PACKAGES=NONE
-Dpystring_ROOT=${XBPS_CROSS_BASE}/usr
-Dpybind11_ROOT=${XBPS_CROSS_BASE}/${py3_sitelib}/pybind11
-DOCIO_BUILD_TESTS=OFF -DOCIO_BUILD_GPU_TESTS=OFF"
hostmakedepends="pkg-config git python3"
hostmakedepends="pkg-config git python3 python3-packaging-bootstrap"
makedepends="lcms2-devel pystring-devel glew-devel
libfreeglut-devel expat-devel yaml-cpp-devel imath-devel
python3-pybind11"
python3-pybind11 libopenexr-devel minizip-ng-devel"
short_desc="Complete color management solution"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="custom:openimageio"
homepage="https://opencolorio.org"
changelog="https://raw.githubusercontent.com/AcademySoftwareFoundation/OpenColorIO/master/ChangeLog"
distfiles="https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v${version}.tar.gz"
checksum=c826a4088a6358fcf39628c852a460c145a4191a5e16ef96fe6a0aaed065d36a
checksum=2d8f2c47c40476d6e8cea9d878f6601d04f6d5642b47018eaafa9e9f833f3690
make_check=no # A couple tests fail.
case "$XBPS_TARGET_MACHINE" in
x86_64*) ;;
*) configure_args+=" -DOCIO_USE_SSE=OFF" ;;
i686*) configure_args+=" -DOCIO_USE_SIMD=OFF" ;;
esac
post_install() {