summaryrefslogtreecommitdiffstats
path: root/graphics/nomacs/nomacs.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2019-01-18 18:40:07 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-01-19 07:20:34 +0700
commit750afeb68d416404b4c7bc676e4f0ec0bc749c8b (patch)
treeaff00607c417a79674c2728c97b6fc422bc615e2 /graphics/nomacs/nomacs.SlackBuild
parentc8b5c9cdec0935fc86cadbc14e2af625ce6a8b7a (diff)
downloadslackbuilds-750afeb68d416404b4c7bc676e4f0ec0bc749c8b.tar.gz
slackbuilds-750afeb68d416404b4c7bc676e4f0ec0bc749c8b.tar.xz
graphics/nomacs: Updated for version 3.12.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/nomacs/nomacs.SlackBuild')
-rw-r--r--graphics/nomacs/nomacs.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild
index 910c2ee545..2d471cc3b4 100644
--- a/graphics/nomacs/nomacs.SlackBuild
+++ b/graphics/nomacs/nomacs.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nomacs
-VERSION=${VERSION:-3.10.2}
-PVERSION=${PVERSION:-20180605_ba61524}
+VERSION=${VERSION:-3.12}
+PVERSION=${PVERSION:-3.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,9 +63,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION/ImageLounge
-tar xvf $CWD/$PRGNAM-plugins-$PVERSION.tar.xz
+tar xvf $CWD/$PRGNAM-plugins-$PVERSION.tar.?z
mv $PRGNAM-plugins-$PVERSION plugins
cd ..
chown -R root:root .
@@ -75,9 +75,8 @@ 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 {} \;
-patch -p0 < $CWD/opencv4.diff
-
cd ImageLounge
+patch -p0 < $CWD/opencv4.diff
# Fix man pages and plugins installation path
sed -i "s|share\/man|man|" cmake/UnixBuildTarget.cmake || exit 1
@@ -90,6 +89,8 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DENABLE_QUAZIP=1 \
+ -DUSE_SYSTEM_QUAZIP=1 \
-DENABLE_PAINT=0 \
-DENABLE_THRESHOLD=1 \
-DENABLE_TRANSFORM=0 \