From cd7d2d9c06c4ebb2c803773f05e0e186f964b9e8 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 9 Jan 2016 19:52:50 -0600 Subject: graphics/openimageio: Use Slackware's openjpeg (libopenmj2) Signed-off-by: Robby Workman --- graphics/openimageio/openimageio.SlackBuild | 4 +++- graphics/openimageio/openimageio.info | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'graphics/openimageio') 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 \ diff --git a/graphics/openimageio/openimageio.info b/graphics/openimageio/openimageio.info index ad982c424a..aa1b2a432b 100644 --- a/graphics/openimageio/openimageio.info +++ b/graphics/openimageio/openimageio.info @@ -5,6 +5,6 @@ DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/openimage MD5SUM="61ca1bbe47456f4c8578f536e3fd9b91" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="ffmpeg openjpeg libwebp opencv opencolorio" +REQUIRES="ffmpeg libwebp opencv opencolorio" MAINTAINER="Christoph Willing" EMAIL="chris.willing@linux.com" -- cgit v1.2.3