aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2022-08-29 11:07:07 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-09-03 17:58:53 +0700
commit955be1cba772e36b5587ac3d16aaf891d20b4b6c (patch)
treef954275438588db0a62bbffb622a0db2267135db /graphics
parent397de6ab950cccaa766b677c27348f17e5c13c13 (diff)
graphics/openimageio: Updated for version 2.2.21.0
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/openimageio/openimageio.SlackBuild13
-rw-r--r--graphics/openimageio/openimageio.info10
2 files changed, 17 insertions, 6 deletions
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild
index 5e006fcf9876..a556bf69e890 100644
--- a/graphics/openimageio/openimageio.SlackBuild
+++ b/graphics/openimageio/openimageio.SlackBuild
@@ -26,7 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openimageio
SRCNAM=oiio-Release
-VERSION=${VERSION:-2.2.19.0}
+VERSION=${VERSION:-2.2.21.0}
+FMT=${FMT:-"fmt-7.1.3"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,9 +72,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+tar xf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
+# Use private fmt
+mkdir -p ext
+cd ext
+tar xf $CWD/${FMT}.tar.gz
+ln -s $FMT fmt
+cd ..
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -88,6 +96,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11 -fcommon" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_FMT_FORCE:BOOL=TRUE \
-DPYLIB_INCLUDE_SONAME:BOOL=TRUE \
-DPYLIB_LIB_PREFIX:BOOL=FALSE \
-DUSE_OPENJPEG:BOOL=FALSE \
diff --git a/graphics/openimageio/openimageio.info b/graphics/openimageio/openimageio.info
index 71f8d2f1e666..46b4d995d515 100644
--- a/graphics/openimageio/openimageio.info
+++ b/graphics/openimageio/openimageio.info
@@ -1,10 +1,12 @@
PRGNAM="openimageio"
-VERSION="2.2.19.0"
+VERSION="2.2.21.0"
HOMEPAGE="https://sites.google.com/site/openimageio/home"
-DOWNLOAD="https://github.com/OpenImageIO/oiio/archive/Release-2.2.19.0/oiio-Release-2.2.19.0.tar.gz"
-MD5SUM="bcef7161f04648cbb400d7a3bd66c549"
+DOWNLOAD="https://github.com/OpenImageIO/oiio/archive/Release-2.2.21.0/oiio-Release-2.2.21.0.tar.gz \
+ https://github.com/fmtlib/fmt/archive/7.1.3/fmt-7.1.3.tar.gz"
+MD5SUM="788954e30c7110dfb5a077a58f2ac3ab \
+ 2522ec65070c0bda0ca288677ded2831"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="opencolorio robin-map dcmtk tbb fmt hdf5"
+REQUIRES="opencolorio robin-map dcmtk tbb hdf5"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"