aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-10 13:52:17 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:45:02 -0500
commit9db70c05b83ebcaa2a4befef53889ffb44eb004d (patch)
tree7f610ecf58096681fd03cdacf7ca8e454c3c5964 /graphics
parent7c250eeb05fb011b78c024af9316c7fae58eb83f (diff)
graphics/nomacs: Updated for version 3.17.2206.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/nomacs/nomacs.SlackBuild14
-rw-r--r--graphics/nomacs/nomacs.info14
2 files changed, 16 insertions, 12 deletions
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild
index 8eaa6158ae32d..423f012b3de3e 100644
--- a/graphics/nomacs/nomacs.SlackBuild
+++ b/graphics/nomacs/nomacs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nomacs
-# Copyright 2013-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2020 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.14.2}
-PVERSION=${PVERSION:-3.14}
+VERSION=${VERSION:-3.17.2206}
+PVERSION=${PVERSION:-3.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,8 +55,6 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="Readme/COPYRIGHT Readme/LICENSE* Readme/README"
-
set -e
rm -rf $PKG
@@ -66,6 +64,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION/ImageLounge
tar xvf $CWD/$PRGNAM-plugins-$PVERSION.tar.?z
+rm -fR plugins
mv $PRGNAM-plugins-$PVERSION plugins
cd ..
chown -R root:root .
@@ -75,6 +74,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 {} \;
+zcat $CWD/nomacs-$VERSION-quazip-1.0.0.patch.gz | patch -p1 || exit 1
+
cd ImageLounge
# Fix man pages and plugins installation path
@@ -90,6 +91,7 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DENABLE_QUAZIP=1 \
-DUSE_SYSTEM_QUAZIP=1 \
+ -DENABLE_TRANSLATIONS=1 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -102,7 +104,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a license $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/nomacs/nomacs.info b/graphics/nomacs/nomacs.info
index 94fb09717dfd8..ff720bc1290cf 100644
--- a/graphics/nomacs/nomacs.info
+++ b/graphics/nomacs/nomacs.info
@@ -1,12 +1,14 @@
PRGNAM="nomacs"
-VERSION="3.14.2"
+VERSION="3.17.2206"
HOMEPAGE="http://www.nomacs.org"
-DOWNLOAD="https://github.com/nomacs/nomacs/archive/3.14.2/nomacs-3.14.2.tar.gz \
- https://github.com/nomacs/nomacs-plugins/archive/3.14/nomacs-plugins-3.14.tar.gz"
-MD5SUM="65bd50be8f611305850d3c071adcfcc3 \
- 52eff2a14ff70e2f439f7f2119d80895"
+DOWNLOAD="https://github.com/nomacs/nomacs/archive/3.17.2206/nomacs-3.17.2206.tar.gz \
+ https://github.com/nomacs/nomacs-plugins/archive/3.16/nomacs-plugins-3.16.tar.gz \
+ http://ponce.cc/slackware/sources/repo/nomacs-3.17.2206-quazip-1.0.0.patch.gz"
+MD5SUM="26358fe1754dada245022331df3b0d35 \
+ fe809775c82da4e55fb47a6e0d05b97a \
+ 8c01a5917a49a30c10f0b78a576701d1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lcov opencv quazip-qt5"
+REQUIRES="lcov"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"