aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2021-06-04 23:33:04 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-08 07:39:18 +0700
commitbecf94bba72e8121db51265c0abe8e1e3f369a1f (patch)
tree5dbcd94713849019128ddde2f114103d5ea77bd7 /graphics
parentc07ed23e3dceac10114a5abf670af3f54dbdb821 (diff)
graphics/openimageio: Updated for version 2.2.15.1
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/openimageio/openimageio.SlackBuild11
-rw-r--r--graphics/openimageio/openimageio.info8
2 files changed, 6 insertions, 13 deletions
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild
index 37e69bcd788a1..c6a6f33ee4af5 100644
--- a/graphics/openimageio/openimageio.SlackBuild
+++ b/graphics/openimageio/openimageio.SlackBuild
@@ -24,12 +24,10 @@
PRGNAM=openimageio
SRCNAM=oiio-Release
-VERSION=${VERSION:-2.1.19.0}
+VERSION=${VERSION:-2.2.15.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-PYLIB3_INSTALL_DIRECTORY=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -73,21 +71,16 @@ 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 {} \;
-# 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
-
mkdir -p build
cd build
cmake ../ \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11 -fcommon" \
- -DOPENJPEG_INCLUDE_DIR="/usr/include/openmj2-2.1" \
- -DOPENJPEG_OPENJPEG_LIBRARY_RELEASE="/usr/lib${LIBDIRSUFFIX}/libopenmj2.so" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPYLIB_INCLUDE_SONAME:BOOL=TRUE \
-DPYLIB_LIB_PREFIX:BOOL=FALSE \
- -DUSE_OPENJPEG:BOOL=TRUE \
+ -DUSE_OPENJPEG:BOOL=FALSE \
-DOIIO_BUILD_TESTS:BOOL=FALSE \
-DUSE_PYTHON:BOOL=TRUE \
-DPYTHON_VERSION=$(python3 --version | cut -d' ' -f2) \
diff --git a/graphics/openimageio/openimageio.info b/graphics/openimageio/openimageio.info
index 8d8d9a4f4add8..d235f3762b5ca 100644
--- a/graphics/openimageio/openimageio.info
+++ b/graphics/openimageio/openimageio.info
@@ -1,10 +1,10 @@
PRGNAM="openimageio"
-VERSION="2.1.19.0"
+VERSION="2.2.15.1"
HOMEPAGE="https://sites.google.com/site/openimageio/home"
-DOWNLOAD="https://github.com/OpenImageIO/oiio/archive/Release-2.1.19.0/oiio-Release-2.1.19.0.tar.gz"
-MD5SUM="3654fff35d5c55cecff857101c7b79e8"
+DOWNLOAD="https://github.com/OpenImageIO/oiio/archive/Release-2.2.15.1/oiio-Release-2.2.15.1.tar.gz"
+MD5SUM="3db5c5f0b3dc91597c75e5df09eb9072"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="opencolorio pybind11 robin-map dcmtk tbb fmt hdf5"
+REQUIRES="opencolorio robin-map dcmtk tbb fmt hdf5"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"