summaryrefslogtreecommitdiff
path: root/graphics/openimageio/openimageio.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2018-01-21 12:41:46 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-27 07:43:55 +0700
commitc1d665c0a6ab3f6179707b607c83005ff14eec16 (patch)
tree19805f4e8d2d69db7743aae78fe32abf95cf1ace /graphics/openimageio/openimageio.SlackBuild
parentac3b8fc7efd40d6eae0a2ec0312046b969a3b588 (diff)
downloadslackbuilds-c1d665c0a6ab3f6179707b607c83005ff14eec16.tar.gz
graphics/openimageio: Updated for version 1.8.7
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'graphics/openimageio/openimageio.SlackBuild')
-rw-r--r--graphics/openimageio/openimageio.SlackBuild20
1 files changed, 12 insertions, 8 deletions
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild
index 5a2e466321..90436aad86 100644
--- a/graphics/openimageio/openimageio.SlackBuild
+++ b/graphics/openimageio/openimageio.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for openimageio
-# Copyright 2015-2017 Christoph Willing Brisbane, Australia
+# Copyright 2015-2018 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,8 @@
PRGNAM=openimageio
SRCNAM=oiio-Release
-VERSION=${VERSION:-1.7.17}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.8.7}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PYLIB_INSTALL_DIRECTORY=$(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
@@ -74,6 +74,9 @@ 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
@@ -90,11 +93,12 @@ cd build
-DLIB_INSTALL_DIR:PATH=lib$LIBDIRSUFFIX \
-DPYLIB_INSTALL_DIR:PATH=$PYLIB_INSTALL_DIRECTORY \
-DPYLIB3_INSTALL_DIR:PATH=$PYLIB3_INSTALL_DIRECTORY \
- -DPYLIB_INCLUDE_SONAME:BOOL=ON \
- -DPYLIB_LIB_PREFIX:BOOL=OFF \
- -DUSE_OCIO:BOOL=ON \
- -DUSE_PYTHON:BOOL=ON \
- -DUSE_PYTHON3:BOOL=ON \
+ -DPYLIB_INCLUDE_SONAME:BOOL=TRUE \
+ -DPYLIB_LIB_PREFIX:BOOL=FALSE \
+ -DUSE_OCIO:BOOL=TRUE \
+ -DUSE_PYTHON:BOOL=TRUE \
+ -DUSE_PYTHON3:BOOL=TRUE \
+ -DUSE_EXTERNAL_PUGIXML:BOOL=TRUE \
make
make install DESTDIR=$PKG