diff options
Diffstat (limited to 'libraries/openjpeg/openjpeg.SlackBuild')
-rw-r--r-- | libraries/openjpeg/openjpeg.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libraries/openjpeg/openjpeg.SlackBuild b/libraries/openjpeg/openjpeg.SlackBuild index f910a16d31..64f60a1437 100644 --- a/libraries/openjpeg/openjpeg.SlackBuild +++ b/libraries/openjpeg/openjpeg.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=openjpeg VERSION=1.4 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,6 +67,9 @@ cd ${PRGNAM}_v${SRC_VERSION}_sources_r697 chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Fix header symlink paths (like upstream svn revision 725) +patch -p1 -i $CWD/openjpeg_fix_header_symlinks.patch + mkdir -p build cd build cmake \ @@ -77,6 +80,10 @@ cd build -DOPENJPEG_INSTALL_MAN_DIR="man/" \ -DOPENJPEG_INSTALL_DOC_DIR="doc/$PRGNAM-$VERSION/" \ -DLIB_SUFFIX="$LIBDIRSUFFIX" \ + -DBUILD_JP3D:BOOL=ON \ + -DBUILD_JPWL:BOOL=ON \ + -DBUILD_MJ2:BOOL=ON \ + -DBUILD_INDEXER_JPIP:BOOL=ON \ .. make make install DESTDIR=$PKG |