summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-01-24 16:17:38 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:36 +0700
commitf307dea2050f449317e0272ba2faaa19f61c53f2 (patch)
treea5fea3b83501decf4d4194306d1c78d21ce0bdfa
parent01e1cd744772dcbaa05a6e43f4a58e0ce2ddf629 (diff)
downloadslackbuilds-f307dea2050f449317e0272ba2faaa19f61c53f2.tar.gz
graphics/photoqt: Updated for version 1.5.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--graphics/photoqt/README1
-rw-r--r--graphics/photoqt/photoqt.SlackBuild15
-rw-r--r--graphics/photoqt/photoqt.info6
3 files changed, 10 insertions, 12 deletions
diff --git a/graphics/photoqt/README b/graphics/photoqt/README
index 9467216b37..b6c5aaaa5f 100644
--- a/graphics/photoqt/README
+++ b/graphics/photoqt/README
@@ -4,5 +4,4 @@ configurable image viewer.
Support for external software is configured by default with the
following switches:
EXIV2=ON (needs exiv2, by default in Slackware)
-PHONON=OFF (needs phonon, by default in Slackware)
GM=OFF (needs GraphicsMagick, optional dependency)
diff --git a/graphics/photoqt/photoqt.SlackBuild b/graphics/photoqt/photoqt.SlackBuild
index 3f195bd7ba..a47d21c120 100644
--- a/graphics/photoqt/photoqt.SlackBuild
+++ b/graphics/photoqt/photoqt.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
# Slackware build script for photoqt
-# Copyright 2013-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+
+# Copyright 2013-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=photoqt
-VERSION=${VERSION:-1.4.1.1}
+VERSION=${VERSION:-1.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,7 +56,6 @@ fi
EXIV2=${EXIV2:-ON}
GM=${GM:-OFF}
-PHONON=${PHONON:-OFF}
set -e
@@ -67,10 +67,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@@ -80,7 +80,6 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DEXIV2=$EXIV2 \
-DGM=$GM \
- -DPHONON=$PHONON \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/graphics/photoqt/photoqt.info b/graphics/photoqt/photoqt.info
index c170c3e92f..aac6bf76c4 100644
--- a/graphics/photoqt/photoqt.info
+++ b/graphics/photoqt/photoqt.info
@@ -1,8 +1,8 @@
PRGNAM="photoqt"
-VERSION="1.4.1.1"
+VERSION="1.5.1"
HOMEPAGE="http://photoqt.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/photoqt-1.4.1.1.tar.gz"
-MD5SUM="69f1007a28f98492e0dede803a74c891"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/photoqt-1.5.1.tar.gz"
+MD5SUM="2809c745892a4c593da74a8f0092256d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"