diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2018-06-06 20:04:00 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-09 07:15:33 +0700 |
commit | 6a2cf772fe71c3aa2c3124cc9fbfeb9feec93936 (patch) | |
tree | 2eaca9206683d1a59f16552cc87d4fd12aa004cc /graphics/photoqt | |
parent | ad447e515cc1b5dbb269e3465510afaa432bf7e6 (diff) |
graphics/photoqt: Updated for version 1.7.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/photoqt')
-rw-r--r-- | graphics/photoqt/README | 6 | ||||
-rw-r--r-- | graphics/photoqt/photoqt.SlackBuild | 13 | ||||
-rw-r--r-- | graphics/photoqt/photoqt.info | 8 |
3 files changed, 16 insertions, 11 deletions
diff --git a/graphics/photoqt/README b/graphics/photoqt/README index b6c5aaaa5fec..3f45ef2b3995 100644 --- a/graphics/photoqt/README +++ b/graphics/photoqt/README @@ -1,7 +1,5 @@ Photoqt is a fast, simple, good looking, yet powerful and highly configurable image viewer. -Support for external software is configured by default with the -following switches: -EXIV2=ON (needs exiv2, by default in Slackware) -GM=OFF (needs GraphicsMagick, optional dependency) +optional autodetected dependencies are DevIL, FreeImage, +GraphicsMagick and poppler-qt5. diff --git a/graphics/photoqt/photoqt.SlackBuild b/graphics/photoqt/photoqt.SlackBuild index dd7f1a3a85f1..359e53cbade2 100644 --- a/graphics/photoqt/photoqt.SlackBuild +++ b/graphics/photoqt/photoqt.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=photoqt -VERSION=${VERSION:-1.6} +VERSION=${VERSION:-1.7.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,8 +54,12 @@ else LIBDIRSUFFIX="" fi -EXIV2=${EXIV2:-ON} -GM=${GM:-OFF} +if pkg-config --exists exiv2; then EXIV2=ON; else EXIV2=OFF; fi +if pkg-config --exists GraphicsMagick; then GM=ON; else GM=OFF; fi +if pkg-config --exists libraw; then RAW=ON; else RAW=OFF; fi +if pkg-config --exists IL; then DEVIL=ON; else DEVIL=OFF; fi +if pkg-config --exists poppler-qt5; then POPPLER=ON; else POPPLER=OFF; fi +if [ -f /usr/include/FreeImage.h ]; then FREEIMAGE=ON; else FREEIMAGE=OFF; fi set -e @@ -81,6 +85,9 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DEXIV2=$EXIV2 \ -DGM=$GM \ + -DRAW=$RAW \ + -DDEVIL=$DEVIL \ + -DPOPPLER=$POPPLER \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG diff --git a/graphics/photoqt/photoqt.info b/graphics/photoqt/photoqt.info index 48968d10907f..e133538d8ebf 100644 --- a/graphics/photoqt/photoqt.info +++ b/graphics/photoqt/photoqt.info @@ -1,10 +1,10 @@ PRGNAM="photoqt" -VERSION="1.6" +VERSION="1.7.1" HOMEPAGE="https://photoqt.org" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/photoqt-1.6.tar.gz" -MD5SUM="a93a3f7eba55dcf3ccce7f56a8288bcd" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/photoqt-1.7.1.tar.gz" +MD5SUM="656fee6f9923499992f069496a0aaa5d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="qt5" +REQUIRES="extra-cmake-modules qt5" MAINTAINER="Matteo Bernardini" EMAIL="ponce@slackbuilds.org" |