summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/nomacs/nomacs.SlackBuild13
-rw-r--r--graphics/nomacs/nomacs.info12
2 files changed, 13 insertions, 12 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 \
diff --git a/graphics/nomacs/nomacs.info b/graphics/nomacs/nomacs.info
index 2e7382e551..b8e686e417 100644
--- a/graphics/nomacs/nomacs.info
+++ b/graphics/nomacs/nomacs.info
@@ -1,12 +1,12 @@
PRGNAM="nomacs"
-VERSION="3.10.2"
+VERSION="3.12"
HOMEPAGE="http://www.nomacs.org"
-DOWNLOAD="https://github.com/nomacs/nomacs/archive/3.10.2/nomacs-3.10.2.tar.gz \
- http://ponce.cc/slackware/sources/repo/nomacs-plugins-20180605_ba61524.tar.xz"
-MD5SUM="c488bcc7531118e7f5895b4f7fbd634e \
- 2957ab01ae1f61a3e6237393a7a325a0"
+DOWNLOAD="https://github.com/nomacs/nomacs/archive/3.12/nomacs-3.12.tar.gz \
+ https://github.com/nomacs/nomacs-plugins/archive/3.12.0/nomacs-plugins-3.12.0.tar.gz"
+MD5SUM="7b2160cbcf907ee080d696c61b3dc4e8 \
+ 4e174bfa19b695ac7fa6e0010de4d4a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lcov opencv qt5"
+REQUIRES="lcov opencv quazip-qt5"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"