# $Id$ # Maintainer: Felix Yan # Contributor: Andrea Scarpino # Contributor: Ronald van Haren # ALARM: Kevin Mihelich # - removed makedepend on vc - not for ARM # - patch to remove qreal usage 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.8 pkgrel=1 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' 'libkdcraw' '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' 'qreal.patch') md5sums=('c731ceb46211aea2a0e1798f646e0bcb' '6ea15f8b3938838d89ea0aa08921afd1' '266289d4f69f24941d3e94d526a350f2') prepare() { mkdir -p build # Fix build against libwps 0.4 cd $pkgbase-$pkgver patch -p1 -i "$srcdir"/libwps-0.4.patch patch -p1 -i ../qreal.patch # Fix build against libmarble4 sed -e 's|PATH_SUFFIXES marble|PATH_SUFFIXES marble4|g' -i CMakeLists.txt sed -e 's|#include