diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2016-01-09 17:47:50 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 36590f73e0aa3b0cf7b2293cdda6988e036c54b2 (patch) | |
tree | 116ad632fcdb6414e39e52e02655557355c5de9f /graphics/darktable/darktable.SlackBuild | |
parent | 4b259554efad005317fe88dc0f95c7516c00b4d6 (diff) | |
download | slackbuilds-36590f73e0aa3b0cf7b2293cdda6988e036c54b2.tar.gz |
graphics/darktable: Use Slackware's openjpeg (libopenmj2)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/darktable/darktable.SlackBuild')
-rw-r--r-- | graphics/darktable/darktable.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild index 4d457313c1..e64af46e91 100644 --- a/graphics/darktable/darktable.SlackBuild +++ b/graphics/darktable/darktable.SlackBuild @@ -68,11 +68,15 @@ 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 + mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DOPENJPEG_INCLUDE_DIR="/usr/include/openmj2-2.1" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man/man1 \ |