openimageio: update to 2.4.9.0.

This commit is contained in:
mhmdanas 2023-03-07 19:58:19 +00:00 committed by Andrew Benson
parent 2936779ef5
commit 75c24aa51b
2 changed files with 5 additions and 18 deletions

View File

@ -2248,8 +2248,8 @@ libgom-1.0.so.0 gom-0.3.0_1
libetpan.so.20 libetpan-1.9.3_4
libxmp.so.4 libxmp-4.3.7_1
libKF5ThreadWeaver.so.5 threadweaver-5.26.0_1
libOpenImageIO_Util.so.2.3 openimageio-2.3.18.0_1
libOpenImageIO.so.2.3 openimageio-2.3.18.0_1
libOpenImageIO_Util.so.2.4 openimageio-2.4.9.0_1
libOpenImageIO.so.2.4 openimageio-2.4.9.0_1
libOpenColorIO.so.2.1 opencolorio-2.1.2_1
libpystring.so.1 pystring-1.1.3_1
libyaml-cpp.so.0.7 yaml-cpp-0.7.0_1

View File

@ -1,10 +1,10 @@
# Template file for 'openimageio'
pkgname=openimageio
version=2.3.18.0
version=2.4.9.0
revision=1
build_style=cmake
build_helper=qemu
configure_args="-DUSE_OPENGL=0 -DUSE_QT=0 -DUSE_PYTHON=0 -DOIIO_BUILD_TESTS=1
configure_args="-DUSE_QT=0 -DUSE_PYTHON=0 -DOIIO_BUILD_TESTS=0
-DSTOP_ON_WARNING=0 -DOIIO_DOWNLOAD_MISSING_TESTDATA=OFF -DCMAKE_CXX_STANDARD=14
-DBUILD_MISSING_DEPS=OFF -DBUILD_MISSING_ROBINMAP=OFF -DBUILD_MISSING_FMT=OFF"
hostmakedepends="pkg-config git"
@ -18,7 +18,7 @@ license="BSD-3-Clause"
homepage="https://sites.google.com/site/openimageio/home"
changelog="https://raw.githubusercontent.com/OpenImageIO/oiio/release/CHANGES.md"
distfiles="https://github.com/OpenImageIO/oiio/archive/v${version}.tar.gz"
checksum=09c7fa0685fdb34f696f2e5d44c2ba2336b5ca6ad8851cb516575508fe06397a
checksum=d04c12575d63d13ed64fc037ea37da616224736213d785de9f50337f6eb5a9ed
# Runs checks even for features we disabled.
make_check=no
@ -31,19 +31,6 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
pre_build() {
local f
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
# Add libatomic to the targets
vsed -i src/libOpenImageIO/CMakeLists.txt \
-e "s;^\(target_link_libraries (OpenImageIO ${ZLIB_LIBRARIES}\));\1 atomic);"
for f in idiff igrep iconvert iinfo maketx testtex oiiotool; do
vsed -i src/${f}/CMakeLists.txt \
-e "s;^\(target_link_libraries .*\));\1 atomic);"
done
fi
}
post_install() {
vlicense LICENSE.md LICENSE
}