summaryrefslogtreecommitdiff
path: root/graphics/nomacs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/nomacs')
-rw-r--r--graphics/nomacs/nomacs.SlackBuild8
-rw-r--r--graphics/nomacs/nomacs.info10
-rw-r--r--graphics/nomacs/opencv4.diff33
3 files changed, 7 insertions, 44 deletions
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild
index 2d471cc3b4..8eaa6158ae 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.12}
-PVERSION=${PVERSION:-3.12.0}
+VERSION=${VERSION:-3.14.2}
+PVERSION=${PVERSION:-3.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,7 +76,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
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
@@ -91,9 +90,6 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DENABLE_QUAZIP=1 \
-DUSE_SYSTEM_QUAZIP=1 \
- -DENABLE_PAINT=0 \
- -DENABLE_THRESHOLD=1 \
- -DENABLE_TRANSFORM=0 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/graphics/nomacs/nomacs.info b/graphics/nomacs/nomacs.info
index b8e686e417..94fb09717d 100644
--- a/graphics/nomacs/nomacs.info
+++ b/graphics/nomacs/nomacs.info
@@ -1,10 +1,10 @@
PRGNAM="nomacs"
-VERSION="3.12"
+VERSION="3.14.2"
HOMEPAGE="http://www.nomacs.org"
-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="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_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lcov opencv quazip-qt5"
diff --git a/graphics/nomacs/opencv4.diff b/graphics/nomacs/opencv4.diff
deleted file mode 100644
index 7bd2969bcc..0000000000
--- a/graphics/nomacs/opencv4.diff
+++ /dev/null
@@ -1,33 +0,0 @@
---- plugins/FakeMiniaturesPlugin/src/DkFakeMiniaturesDialog.h.orig 2018-06-05 18:21:41.000000000 +1000
-+++ plugins/FakeMiniaturesPlugin/src/DkFakeMiniaturesDialog.h 2018-11-28 23:01:53.711000000 +1000
-@@ -44,8 +44,9 @@
- #pragma warning(disable: 4996)
- #endif
-
--#include "opencv2/core/core.hpp"
--#include "opencv2/imgproc/imgproc.hpp"
-+#include "opencv4/opencv2/core/core.hpp"
-+#include "opencv4/opencv2/imgproc/imgproc.hpp"
-+#include "opencv4/opencv2/imgproc/types_c.h"
-
- using namespace cv;
- #endif
-@@ -263,4 +264,4 @@
- ~DkSaturation();
- };
-
--};
-\ No newline at end of file
-+};
---- plugins/PageExtractionPlugin/src/DkPageSegmentationUtils.h.orig 2018-11-28 23:15:54.600000000 +1000
-+++ plugins/PageExtractionPlugin/src/DkPageSegmentationUtils.h 2018-11-28 23:20:57.093000000 +1000
-@@ -27,7 +27,8 @@
- #include "DkMath.h"
-
- #pragma warning(push, 0) // no warnings from includes - begin
--#include <opencv2/core/core.hpp>
-+#include <opencv4/opencv2/core/core.hpp>
-+#include <opencv4/opencv2/imgproc/imgproc_c.h>
- #include <QString>
- #pragma warning(pop) // no warnings from includes - end
-