aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-01-07 07:14:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-10 07:48:36 +0700
commit394c1033217433ef145e08d28d384356276722e8 (patch)
treedc231905f7f106eaf4ab4562106a40fb815c810b /graphics
parenta44cd4a34967b9c4db39e0de390f44d2098aafa7 (diff)
graphics/nomacs: Updated for version 2.2.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/nomacs/nomacs.SlackBuild12
-rw-r--r--graphics/nomacs/nomacs.info6
2 files changed, 7 insertions, 11 deletions
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild
index 39c28600afda4..60e2384a2d856 100644
--- a/graphics/nomacs/nomacs.SlackBuild
+++ b/graphics/nomacs/nomacs.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nomacs
-VERSION=${VERSION:-2.0.0}
+VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,7 +53,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="ImageLounge/Readme/COPYRIGHT ImageLounge/Readme/LICENSE* ImageLounge/Readme/README"
+DOCS="Readme/COPYRIGHT Readme/LICENSE* Readme/README"
set -e
@@ -61,7 +61,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-source.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,10 +70,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-cd ImageLounge
-
# Fix man pages installation path
-sed -i "s|share\/man|man|" CMakeLists.txt || exit 1
+sed -i "s|share\/man|man|" cmake/UnixBuildTarget.cmake || exit 1
mkdir -p build
cd build
@@ -87,8 +85,6 @@ cd build
make install DESTDIR=$PKG
cd ..
-cd ..
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/graphics/nomacs/nomacs.info b/graphics/nomacs/nomacs.info
index 53b7a6dbb6d13..3d5dd6c9d752c 100644
--- a/graphics/nomacs/nomacs.info
+++ b/graphics/nomacs/nomacs.info
@@ -1,8 +1,8 @@
PRGNAM="nomacs"
-VERSION="2.0.0"
+VERSION="2.2.0"
HOMEPAGE="http://www.nomacs.org"
-DOWNLOAD="https://github.com/nomacs/nomacs/archive/2.0.0.tar.gz"
-MD5SUM="89884e8eb38b8b8362ca4d97f713c60c"
+DOWNLOAD="https://downloads.sf.net/nomacs/nomacs-2.2.0-source.tar.bz2"
+MD5SUM="abb5c68d62e2b969ec4a571467464c55"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="LibRaw opencv"