diff options
author | Christoph Willing <chris.willing@linux.com> | 2019-08-11 12:30:40 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-08-18 08:02:40 +0700 |
commit | 6361a3f5eeb3e7bd18d51bacca3bfe1af6f8fb6e (patch) | |
tree | 358202d91a2996f02ef279d810502d432a75f149 /graphics/openimageio/openimageio.SlackBuild | |
parent | 872ac7fe78ef7b914138f05c48f0e0daf0b4e3cc (diff) | |
download | slackbuilds-6361a3f5eeb3e7bd18d51bacca3bfe1af6f8fb6e.tar.gz |
graphics/openimageio: Updated for version 2.0.10
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'graphics/openimageio/openimageio.SlackBuild')
-rw-r--r-- | graphics/openimageio/openimageio.SlackBuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild index f96cd057de..0e7e19edb3 100644 --- a/graphics/openimageio/openimageio.SlackBuild +++ b/graphics/openimageio/openimageio.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for openimageio -# Copyright 2015-2018 Christoph Willing Brisbane, Australia +# Copyright 2015-2019 Christoph Willing Brisbane, Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=openimageio SRCNAM=oiio-Release -VERSION=${VERSION:-1.8.16} +VERSION=${VERSION:-2.0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,9 +74,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Remove bundled pugixml -#rm -f src/include/OpenImageIO/pugi* - # save this for GCC 7.0 #sed -i "s|std=c++11|std=c++11 -Wno-error=maybe-uninitialized -Wno-error=format-truncation -Wno-error=noexcept-type -faligned-new|" CMakeLists.txt @@ -86,19 +83,17 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \ -DOPENJPEG_INCLUDE_DIR="/usr/include/openmj2-2.1" \ - -DOPENJPEG_OPENJPEG_LIBRARIES="openmj2" \ + -DOPENJPEG_OPENJPEG_LIBRARY_RELEASE="/usr/lib${LIBDIRSUFFIX}/libopenmj2.so" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DDOC_INSTALL_DIR:PATH=doc/$PRGNAM-$VERSION \ - -DLIB_INSTALL_DIR:PATH=lib$LIBDIRSUFFIX \ - -DPYLIB_INSTALL_DIR:PATH=$PYLIB_INSTALL_DIRECTORY \ - -DPYLIB3_INSTALL_DIR:PATH=$PYLIB3_INSTALL_DIRECTORY \ -DPYLIB_INCLUDE_SONAME:BOOL=TRUE \ -DPYLIB_LIB_PREFIX:BOOL=FALSE \ -DUSE_OCIO:BOOL=TRUE \ + -DUSE_OPENJPEG:BOOL=TRUE \ + -DOIIO_BUILD_TESTS:BOOL=FALSE \ -DUSE_PYTHON:BOOL=TRUE \ - -DUSE_PYTHON3:BOOL=TRUE \ -DUSE_EXTERNAL_PUGIXML:BOOL=FALSE \ + -DPYBIND11_INCLUDE_DIR:STRING=/usr/include/python2.7 \ make make install DESTDIR=$PKG |