aboutsummaryrefslogtreecommitdiff
path: root/graphics/photoqt/photoqt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/photoqt/photoqt.SlackBuild')
-rw-r--r--graphics/photoqt/photoqt.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/graphics/photoqt/photoqt.SlackBuild b/graphics/photoqt/photoqt.SlackBuild
index 3f195bd7baaf7..a47d21c1209ff 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