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

Andreas Radke andyrtr at nymeria.archlinux.org
Wed Jan 22 19:06:52 UTC 2014


    Date: Wednesday, January 22, 2014 @ 20:06:51
  Author: andyrtr
Revision: 204559

upgpkg: calligra 2.7.5-4

add MS visio support and fix openjpeg detection

Modified:
  calligra/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-22 16:39:38 UTC (rev 204558)
+++ PKGBUILD	2014-01-22 19:06:51 UTC (rev 204559)
@@ -18,7 +18,7 @@
          'calligra-stage'
          'calligra-words')
 pkgver=2.7.5
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 url='http://www.calligra-suite.org/'
 license=('FDL1.2' 'GPL2' 'LGPL')
@@ -25,7 +25,8 @@
 makedepends=('cmake' 'automoc4' 'boost' 'kdepimlibs' 'eigen2' 'kdeedu-marble'
              'lcms2' 'libmariadbclient' 'freetds' 'xbase' 'libwpg' 'opencolorio'
              'libwps' 'gsl' 'glew' 'fftw' 'poppler-qt' 'libkdcraw'
-             'openjpeg' 'kdegraphics-okular' 'pstoedit' 'vc')
+             'openjpeg' 'kdegraphics-okular' 'pstoedit' 'vc' 'libvisio') 
+             # libpqxx is in community, move it to extra?
 groups=('calligra')
 source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.xz")
 md5sums=('05d1d0bac970d6dc68ffabc12fca2eb7')
@@ -32,6 +33,9 @@
 
 prepare() {
   mkdir build
+  # fix openjpeg detection
+  sed -i "s:/usr/include/openjpeg:/usr/include/openjpeg-1.5:" \
+     ${srcdir}/${pkgbase}-${pkgver}/cmake/modules/FindOpenJPEG.cmake
 }
 
 build() {
@@ -46,7 +50,8 @@
 package_calligra-filters() {
   pkgdesc="Filters for the Calligra office suite"
   optdepends=('libwpg: Corel WordPerfect Graphics image importer'
-              'libwps: Microsoft Works file word processor format import')
+              'libwps: Microsoft Works file word processor format import'
+              'libvisio: Microsoft Visio import filter')
   conflicts=('koffice-filters')
   replaces=('koffice-filters')
   install=calligra-filters.install




More information about the arch-commits mailing list