summaryrefslogtreecommitdiff
path: root/graphics/nomacs/nomacs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/nomacs/nomacs.SlackBuild')
-rw-r--r--graphics/nomacs/nomacs.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild
index b1ca8917b6..e4ef4ee3a0 100644
--- a/graphics/nomacs/nomacs.SlackBuild
+++ b/graphics/nomacs/nomacs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nomacs
-# Copyright 2013-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nomacs
-VERSION=${VERSION:-3.4}
-PVERSION=${PVERSION:-20161219_7c06c4c}
+VERSION=${VERSION:-3.8.0}
+PVERSION=${PVERSION:-20180109_8e482c4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION/ImageLounge
tar xvf $CWD/$PRGNAM-plugins-$PVERSION.tar.xz
mv $PRGNAM-plugins-$PVERSION plugins
@@ -88,7 +88,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DENABLE_PAINT=0 \
- -DENABLE_THRESHOLD=0 \
+ -DENABLE_THRESHOLD=1 \
-DENABLE_TRANSFORM=0 \
-DCMAKE_BUILD_TYPE=Release ..
make