aboutsummaryrefslogtreecommitdiff
path: root/graphics/openimageio
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/openimageio')
-rw-r--r--graphics/openimageio/README4
-rw-r--r--graphics/openimageio/openimageio.SlackBuild22
-rw-r--r--graphics/openimageio/openimageio.info8
3 files changed, 15 insertions, 19 deletions
diff --git a/graphics/openimageio/README b/graphics/openimageio/README
index e84c4c88dd..1d742658ae 100644
--- a/graphics/openimageio/README
+++ b/graphics/openimageio/README
@@ -6,3 +6,7 @@ large-scale animation and visual effects work for film.
OpenImageIO is used extensively in animation and VFX studios all
over the world, and is also incorporated into several commercial
products.
+
+Installations of libheif and openvdb will be detected and used
+at build time. These will add approximately 750M and 250M respectively
+to the installed size.
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild
index 5be9a3d692..58ffc36f43 100644
--- a/graphics/openimageio/openimageio.SlackBuild
+++ b/graphics/openimageio/openimageio.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for openimageio
-# Copyright 2015-2023 Christoph Willing Brisbane, Australia
+# Copyright 2015-2025 Christoph Willing, Sydney Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,10 +25,10 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openimageio
-SRCNAM=OpenImageIO-Release
-VERSION=${VERSION:-2.2.21.0}
+SRCNAM=OpenImageIO
+VERSION=${VERSION:-2.5.18.0}
FMT=${FMT:-"fmt-7.1.3"}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -54,16 +51,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686 -D__STDC_CONSTANT_MACROS"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686 -D__STDC_CONSTANT_MACROS"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC -D__STDC_CONSTANT_MACROS"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2 -D__STDC_CONSTANT_MACROS"
- LIBDIRSUFFIX=""
fi
set -e
@@ -74,7 +67,6 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
-patch -p1 < $CWD/ffmpeg-5.1.diff
# Use private fmt
mkdir -p ext
@@ -94,13 +86,13 @@ mkdir -p build
cd build
cmake ../ \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11 -fcommon" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++14 -fcommon" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_FMT_FORCE:BOOL=TRUE \
+ -DBUILD_FMT_FORCE:BOOL=TRUE \
-DPYLIB_INCLUDE_SONAME:BOOL=TRUE \
-DPYLIB_LIB_PREFIX:BOOL=FALSE \
- -DUSE_OPENJPEG:BOOL=FALSE \
+ -DUSE_OPENJPEG:BOOL=TRUE \
-DOIIO_BUILD_TESTS:BOOL=FALSE \
-DUSE_PYTHON:BOOL=TRUE \
-DPYTHON_VERSION=$(python3 --version | cut -d' ' -f2) \
diff --git a/graphics/openimageio/openimageio.info b/graphics/openimageio/openimageio.info
index 6149a876d1..8d8ae34eee 100644
--- a/graphics/openimageio/openimageio.info
+++ b/graphics/openimageio/openimageio.info
@@ -1,12 +1,12 @@
PRGNAM="openimageio"
-VERSION="2.2.21.0"
+VERSION="2.5.18.0"
HOMEPAGE="https://sites.google.com/site/openimageio/home"
-DOWNLOAD="https://github.com/OpenImageIO/oiio/archive/Release-2.2.21.0/OpenImageIO-Release-2.2.21.0.tar.gz \
+DOWNLOAD="https://github.com/OpenImageIO/oiio/archive/v2.5.18.0/OpenImageIO-2.5.18.0.tar.gz \
https://github.com/fmtlib/fmt/archive/7.1.3/fmt-7.1.3.tar.gz"
-MD5SUM="384ba30cadc2ceb62edd3895b797a6d1 \
+MD5SUM="3975e5dc0970ad859244a58dc2b8e147 \
2522ec65070c0bda0ca288677ded2831"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="opencolorio robin-map dcmtk hdf5"
+REQUIRES="dcmtk hdf5 opencolorio ptex robin-map tbb"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"