aboutsummaryrefslogtreecommitdiff
path: root/graphics/rawtherapee/rawtherapee.SlackBuild
diff options
context:
space:
mode:
authorPanagiotis Nikolaou <hostmaster@slackonly.com>2016-02-06 03:38:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-06 03:56:30 +0700
commit8f5f8f8831a8b82c896a3c4d355f6bfc9aafe033 (patch)
treea61d1b94e7d19104a400d4d2a5ed87cbc26f2006 /graphics/rawtherapee/rawtherapee.SlackBuild
parent53a5ed6178e32617dcec9d1bac448f26cc4dc41c (diff)
graphics/rawtherapee: Update to newer source.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/rawtherapee/rawtherapee.SlackBuild')
-rw-r--r--graphics/rawtherapee/rawtherapee.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/rawtherapee/rawtherapee.SlackBuild b/graphics/rawtherapee/rawtherapee.SlackBuild
index 93b33e81374f..20ebb1e2e40e 100644
--- a/graphics/rawtherapee/rawtherapee.SlackBuild
+++ b/graphics/rawtherapee/rawtherapee.SlackBuild
@@ -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