aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/openimageio/openimageio.SlackBuild20
-rw-r--r--graphics/openimageio/openimageio.info8
2 files changed, 16 insertions, 12 deletions
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild
index 5a2e4663216a..90436aad86ee 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
diff --git a/graphics/openimageio/openimageio.info b/graphics/openimageio/openimageio.info
index e7faa6f07490..bd67cafa7a03 100644
--- a/graphics/openimageio/openimageio.info
+++ b/graphics/openimageio/openimageio.info
@@ -1,10 +1,10 @@
PRGNAM="openimageio"
-VERSION="1.7.17"
+VERSION="1.8.7"
HOMEPAGE="https://sites.google.com/site/openimageio/home"
-DOWNLOAD="http://github.com/OpenImageIO/oiio/archive/Release-1.7.17/oiio-Release-1.7.17.tar.gz"
-MD5SUM="a85686ad893142c45f5a37d7b06c86c1"
+DOWNLOAD="http://github.com/OpenImageIO/oiio/archive/Release-1.8.7/oiio-Release-1.8.7.tar.gz"
+MD5SUM="2dc388b28a21e532ac091983f5e9d719"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg libwebp opencv opencolorio"
+REQUIRES="ffmpeg libwebp opencv opencolorio pugixml"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"