diff options
Diffstat (limited to 'graphics/digikam/digikam.SlackBuild')
-rw-r--r-- | graphics/digikam/digikam.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/graphics/digikam/digikam.SlackBuild b/graphics/digikam/digikam.SlackBuild index fc091e397757d..9674fcfaa38b4 100644 --- a/graphics/digikam/digikam.SlackBuild +++ b/graphics/digikam/digikam.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=digikam VERSION=${VERSION:-4.14.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -66,6 +66,14 @@ 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 {} \; +cd core +# patch for lensfun 0.3.2 +patch -p1 < $CWD/lensfun-0.3.2.patch + +# workaround for flex-2.6.0 +sed -e '/fno-tree-pre/d' -i CMakeLists.txt +cd .. + mkdir -p build cd build cmake \ @@ -83,6 +91,7 @@ cd build -DDIGIKAMSC_COMPILE_DOC=OFF \ -DCMAKE_CXX_FLAGS:STRING="$(/usr/bin/Magick++-config --libs)" \ -DENABLE_OPENCV3=ON \ + -DCMAKE_C_COMPILER=clang \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG |