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>
This commit is contained in:
Christoph Willing 2022-08-29 11:07:07 +10:00 committed by Willy Sudiarto Raharjo
parent 397de6ab95
commit 955be1cba7
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 17 additions and 6 deletions

View file

@ -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 \

View file

@ -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"