From c979b8ae356cf35393dcb7d9e3ae6ad5a2c684d8 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 11 Dec 2015 13:20:30 -0300 Subject: kipi-plugins-4.14.0-3.parabola1{,.nonprism1}: C++11 ABI rebuild * build with clang, fixes build with flex 2.6 --- libre/kipi-plugins/PKGBUILD | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'libre/kipi-plugins/PKGBUILD') diff --git a/libre/kipi-plugins/PKGBUILD b/libre/kipi-plugins/PKGBUILD index 3decd0f80..e57aafd64 100644 --- a/libre/kipi-plugins/PKGBUILD +++ b/libre/kipi-plugins/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 250591 2015-11-10 21:55:23Z arojas $ +# $Id: PKGBUILD 253987 2015-12-08 18:07:26Z arojas $ # Maintainer (Arch): Ronald van Haren # Contributor (Arch): Andrea Scarpino # Contributor (Arch): Tobias Powalowski @@ -8,7 +8,7 @@ pkgbase=digikam pkgname=kipi-plugins pkgver=4.14.0 -pkgrel=2.parabola1 +pkgrel=3.parabola1 pkgdesc="A collection of plugins extending the KDE graphics and image applications as digiKam, without nonfree jAlbum and SimpleViewer support" arch=('i686' 'x86_64') license=('GPL') @@ -18,7 +18,7 @@ conflicts=("${pkgname}-libre") makedepends=('kdepimlibs4' 'libkexiv2_4' 'libkdcraw4' 'libkipi4' 'libksane4' 'liblqr' 'opencv' 'boost' 'libgpod' 'libkvkontakte' 'hugin' 'libgphoto2' 'cmake' 'automoc4' 'doxygen' 'lensfun' 'qt4-gstreamer' 'imagemagick' 'eigen' - 'libbaloo4' 'libpgf' 'libusb-compat' 'libkface4' 'libkgeomap4' 'libmediawiki') + 'libbaloo4' 'libpgf' 'libusb-compat' 'libkface4' 'libkgeomap4' 'libmediawiki' 'clang') depends=('kdebase-runtime' 'kdepimlibs4' 'libkdcraw4' 'libkipi4' 'libksane4' 'libkexiv2_4') optdepends=('libkgeomap4: Geolocalize tool' 'libmediawiki: MediaWiki Export plugin' @@ -35,6 +35,11 @@ sha1sums=('08bbded5433e442dce8ac00eb301606ef0924e8c') prepare() { cd ${srcdir}/${pkgbase}-${pkgver} + +# Fix compilation with clang + sed -i '\|fno-tree-pre|d + ' core/CMakeLists.txt + sed -i '\|flashexport|d \|jalbumexport|d ' extra/kipi-plugins/CMakeLists.txt @@ -47,7 +52,8 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ - -DBUILD_tests=OFF + -DBUILD_tests=OFF \ + -DCMAKE_C_COMPILER=clang # Fix build with flex 2.6 make } -- cgit v1.2.3