[arch-commits] Commit in digikam/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Feb 24 12:55:28 UTC 2016


    Date: Wednesday, February 24, 2016 @ 13:55:28
  Author: arojas
Revision: 260223

Build with gcc again, flex has been fixed

Modified:
  digikam/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-24 12:54:54 UTC (rev 260222)
+++ PKGBUILD	2016-02-24 12:55:28 UTC (rev 260223)
@@ -14,7 +14,7 @@
 makedepends=('kdepimlibs4' 'libkexiv2_4' 'libkdcraw4' 'libkipi4' 'libksane4' 'liblqr'
              'opencv' 'boost' 'libgpod' 'libkvkontakte' 'hugin' 'libgphoto2'
              'cmake' 'automoc4' 'doxygen' 'lensfun' 'imagemagick' 'eigen' 
-	     'libbaloo4' 'libpgf' 'libusb-compat' 'libkface4' 'libkgeomap4' 'libmediawiki' 'clang')
+	     'libbaloo4' 'libpgf' 'libusb-compat' 'libkface4' 'libkgeomap4' 'libmediawiki')
 source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
 	lensfun-0.3.2.patch::"https://quickgit.kde.org/?p=digikam.git&a=commitdiff&h=0f15998&o=plain")
 sha1sums=('08bbded5433e442dce8ac00eb301606ef0924e8c'
@@ -21,8 +21,6 @@
           'b2e262ea5060ad5ffd7d92d41a9badcea6e6c299')
 
 prepare() {
-# Fix compilation with clang
-  sed -e '/fno-tree-pre/d' -i $pkgname-$pkgver/core/CMakeLists.txt
 # Fix build with lensfun 0.3.2
   cd $pkgbase-$pkgver/core
   patch -p1 -i "$srcdir"/lensfun-0.3.2.patch
@@ -35,8 +33,7 @@
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_SKIP_RPATH=ON \
-    -DBUILD_tests=OFF \
-    -DCMAKE_C_COMPILER=clang # Fix build with flex 2.6
+    -DBUILD_tests=OFF
   make
 }
 



More information about the arch-commits mailing list