summaryrefslogtreecommitdiff
path: root/graphics/openimageio/openimageio.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2016-01-09 19:52:50 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitcd7d2d9c06c4ebb2c803773f05e0e186f964b9e8 (patch)
tree3757289c90d44ba9798c56d74b764ca5ff6ed369 /graphics/openimageio/openimageio.SlackBuild
parentd0d3fbaa3ee505e924b34f7215d375f1c457f9f0 (diff)
downloadslackbuilds-cd7d2d9c06c4ebb2c803773f05e0e186f964b9e8.tar.gz
graphics/openimageio: Use Slackware's openjpeg (libopenmj2)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/openimageio/openimageio.SlackBuild')
-rw-r--r--graphics/openimageio/openimageio.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild
index 908e452406..f2c498a854 100644
--- a/graphics/openimageio/openimageio.SlackBuild
+++ b/graphics/openimageio/openimageio.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=openimageio
SRCNAM=oiio-Release
VERSION=${VERSION:-1.5.19}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PYLIB_INSTALL_DIRECTORY=$(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
@@ -78,6 +78,8 @@ cd build
cmake ../ \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DOPENJPEG_INCLUDE_DIR="/usr/include/openmj2-2.1" \
+ -DOPENJPEG_OPENJPEG_LIBRARIES="openmj2" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DDOC_INSTALL_DIR:PATH=doc/$PRGNAM-$VERSION \