# $Id$ # Maintainer: Felix Yan # Maintainer: Antonio Rojas # Contributor: Andrea Scarpino # Contributor: Ronald van Haren # ALARM: Kevin Mihelich # - removed makedepend on vc - not for ARM pkgbase=calligra pkgname=('calligra-braindump' 'calligra-devtools' 'calligra-extras' 'calligra-filters' 'calligra-flow' 'calligra-gemini' 'calligra-handbook' 'calligra-karbon' 'calligra-kexi' 'calligra-krita' 'calligra-libs' 'calligra-plan' 'calligra-plugins' 'calligra-sheets' 'calligra-stage' 'calligra-words') pkgver=2.9.9 pkgrel=2 arch=('i686' 'x86_64') url='http://www.calligra-suite.org/' license=('FDL1.2' 'GPL2' 'LGPL') makedepends=('cmake' 'automoc4' 'boost' 'kdepimlibs4' 'eigen' 'libmarble4' 'lcms2' 'libmariadbclient' 'freetds' 'xbase' 'libwpg' 'opencolorio' 'libwps' 'gsl' 'glew' 'fftw' 'poppler-qt4' 'libkdcraw4' 'libodfgen' 'openjpeg' 'kdegraphics-okular' 'pstoedit' 'libvisio' 'libetonyek' 'libpqxx' 'libspnav' 'postgresql') # 'libqgit2' groups=('calligra') source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.xz" 'libwps-0.4.patch') md5sums=('2d138719508ba62560bd29c7abd6bf4f' '6ea15f8b3938838d89ea0aa08921afd1') prepare() { mkdir -p build # Fix build against libwps 0.4 cd $pkgbase-$pkgver patch -p1 -i "$srcdir"/libwps-0.4.patch # Fix build against libmarble4 sed -e 's|PATH_SUFFIXES marble|PATH_SUFFIXES marble4|g' -i CMakeLists.txt sed -e 's|#include