diff options
Diffstat (limited to 'graphics/nomacs/nomacs.SlackBuild')
-rw-r--r-- | graphics/nomacs/nomacs.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild index 910c2ee545dff..2d471cc3b497a 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 \ |