diff options
author | Christoph Willing <chris.willing@linux.com> | 2022-08-29 11:07:07 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-09-03 17:58:53 +0700 |
commit | 955be1cba772e36b5587ac3d16aaf891d20b4b6c (patch) | |
tree | f954275438588db0a62bbffb622a0db2267135db /graphics/openimageio/openimageio.SlackBuild | |
parent | 397de6ab950cccaa766b677c27348f17e5c13c13 (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/openimageio/openimageio.SlackBuild')
-rw-r--r-- | graphics/openimageio/openimageio.SlackBuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild index 5e006fcf9876c..a556bf69e8901 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 \ |