graphics/rawtherapee: Update to newer source.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Panagiotis Nikolaou 2016-02-06 03:38:46 +07:00 committed by Willy Sudiarto Raharjo
parent 53a5ed6178
commit 8f5f8f8831
2 changed files with 7 additions and 5 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for rawtherapee
# Copyright 2014 Panagiotis Nikolaou, Karlovasi Samos, Gr
# Copyright 2014-2016 Panagiotis Nikolaou, Karlovasi Samos, Gr
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=rawtherapee
VERSION=${VERSION:-4.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -73,7 +73,8 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
-DPROC_TARGET_NUMBER="2" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
@ -88,6 +89,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a RELEASE_NOTES.txt README.md AUTHORS.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="rawtherapee"
VERSION="4.2"
HOMEPAGE="http://rawtherapee.com/"
DOWNLOAD="http://rawtherapee.com/shared/source/rawtherapee-4.2.tar.xz"
MD5SUM="e6510ed56fdc35aa712b4c0f54c52ac0"
DOWNLOAD="https://packages.slackonly.com/pub/sources/rawtherapee/rawtherapee-4.2.tar.xz"
MD5SUM="010ad7e70e85f5225f798ca209084f86"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libiptcdata"