diff options
author | Panagiotis Nikolaou <hostmaster@slackonly.com> | 2017-02-06 10:33:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-10 07:16:13 +0700 |
commit | 3b301a607aacdd84892a683cc80b74396bf001be (patch) | |
tree | 5ea61a8bfde8d6b76aa51430c7d283b23fb883e1 /graphics | |
parent | 87c0a1cbea0f2ff8d37c5c0e1c6b1892101ccc27 (diff) |
graphics/rawtherapee: Updated for version 5.0.r1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/rawtherapee/README | 4 | ||||
-rw-r--r-- | graphics/rawtherapee/rawtherapee.SlackBuild | 23 | ||||
-rw-r--r-- | graphics/rawtherapee/rawtherapee.info | 8 | ||||
-rw-r--r-- | graphics/rawtherapee/slack-desc | 8 |
4 files changed, 28 insertions, 15 deletions
diff --git a/graphics/rawtherapee/README b/graphics/rawtherapee/README index b915d2c4f5cd8..e89106f2640d0 100644 --- a/graphics/rawtherapee/README +++ b/graphics/rawtherapee/README @@ -2,3 +2,7 @@ RawTherapee is an advanced program for developing raw photos and for processing non-raw photos. It is non-destructive, makes use of OpenMP, supports all the cameras supported by dcraw and carries out its calculations in a high precision 32bit floating point engine. + +By default, the SlackBuild bulding the gtk3 interface. If you want instead +to build the gtk2 interface download the gtk2 source and pass GTK2=yes to +SlackBuild. diff --git a/graphics/rawtherapee/rawtherapee.SlackBuild b/graphics/rawtherapee/rawtherapee.SlackBuild index 20ebb1e2e40e9..d7687a86c1a7d 100644 --- a/graphics/rawtherapee/rawtherapee.SlackBuild +++ b/graphics/rawtherapee/rawtherapee.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for rawtherapee -# Copyright 2014-2016 Panagiotis Nikolaou, Karlovasi Samos, Gr +# Copyright 2014-2017 Panagiotis Nikolaou, Culver City, CA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -13,7 +13,7 @@ # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; @@ -23,13 +23,19 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=rawtherapee -VERSION=${VERSION:-4.2} -BUILD=${BUILD:-2} +VER=${VER:-5.0.r1} +if [ "${GTK2:-no}" == "yes" ]; then + OPT1=gtk2 +else + OPT2=gtk3 +fi +VERSION=$VER.$OPT1$OPT2 +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +46,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -73,9 +79,10 @@ mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DPROC_TARGET_NUMBER="2" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -Wno-dev \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG diff --git a/graphics/rawtherapee/rawtherapee.info b/graphics/rawtherapee/rawtherapee.info index c8dbfa1f23202..eed3014cfeb95 100644 --- a/graphics/rawtherapee/rawtherapee.info +++ b/graphics/rawtherapee/rawtherapee.info @@ -1,8 +1,10 @@ PRGNAM="rawtherapee" -VERSION="4.2" +VERSION="5.0.r1" HOMEPAGE="http://rawtherapee.com/" -DOWNLOAD="https://packages.slackonly.com/pub/sources/rawtherapee/rawtherapee-4.2.tar.xz" -MD5SUM="010ad7e70e85f5225f798ca209084f86" +DOWNLOAD="https://master.dl.sourceforge.net/project/slackbuildsdirectlinks/rawtherapee/rawtherapee-5.0.r1.gtk2.tar.xz \ + https://master.dl.sourceforge.net/project/slackbuildsdirectlinks/rawtherapee/rawtherapee-5.0.r1.gtk3.tar.xz" +MD5SUM="34c636f761c03d97de5d89d48ab2aed0 \ +b3dd5929cc5ad294add586a6c9eeef4d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libiptcdata" diff --git a/graphics/rawtherapee/slack-desc b/graphics/rawtherapee/slack-desc index 0286101a83e67..98d699b306487 100644 --- a/graphics/rawtherapee/slack-desc +++ b/graphics/rawtherapee/slack-desc @@ -10,10 +10,10 @@ rawtherapee: rawtherapee (High Image Quality) rawtherapee: rawtherapee: the powerful open source raw converter, rawtherapee: all the standard features you would expect from a raw developer -rawtherapee: and much more a processing queue to make tweaking a photo as fast as -rawtherapee: possible while leaving the CPU grunt work queued up for later, -rawtherapee: a snapshot panel to work with multiple versions of changes to a photo, -rawtherapee: localization in almost 30 different languages. +rawtherapee: and much more a processing queue to make tweaking a photo as fast +rawtherapee: as possible while leaving the CPU grunt work queued up for later, +rawtherapee: a snapshot panel to work with multiple versions of changes to a +rawtherapee: photo, localization in almost 30 different languages. rawtherapee: rawtherapee: Homepage: http://www.rawtherapee.com/ rawtherapee: |