summaryrefslogtreecommitdiff
path: root/graphics/darktable/darktable.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-02-25 22:43:48 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-27 13:22:27 +0700
commit02f03c4bff614c783386cd7c2e508d6bb00c93b8 (patch)
tree4c512d9a253f65069c30023f15743b58c5b80090 /graphics/darktable/darktable.SlackBuild
parentb29af5ecff10793dc6197107f10a28c611f0ba6b (diff)
downloadslackbuilds-02f03c4bff614c783386cd7c2e508d6bb00c93b8.tar.gz
graphics/darktable: Updated for version 2.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/darktable/darktable.SlackBuild')
-rw-r--r--graphics/darktable/darktable.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild
index e64af46e91..499bda0131 100644
--- a/graphics/darktable/darktable.SlackBuild
+++ b/graphics/darktable/darktable.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=darktable
-VERSION=${VERSION:-2.0.0}
+VERSION=${VERSION:-2.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,14 +68,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix openjpeg detection - also set OPENJPEG_INCLUDE_DIR
-patch -p1 < $CWD/fix-find-openjpeg.diff
+# Fix build with gcc-5.3.0
+# http://redmine.darktable.org/issues/10931
+patch -p1 < $CWD/8b1bb5fbb108be341f8313da47be48470c0501ec.patch
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DOPENJPEG_LIBRARY="/usr/lib$LIBDIRSUFFIX/libopenmj2.so" \
-DOPENJPEG_INCLUDE_DIR="/usr/include/openmj2-2.1" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \