graphics/photoqt: Updated for version 1.5.1.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2017-01-24 16:17:38 +01:00 committed by Willy Sudiarto Raharjo
parent 01e1cd7447
commit f307dea205
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 10 additions and 12 deletions

View File

@ -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)

View File

@ -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

View File

@ -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"