summaryrefslogtreecommitdiff
path: root/extra/calligra
diff options
context:
space:
mode:
Diffstat (limited to 'extra/calligra')
-rw-r--r--extra/calligra/PKGBUILD15
-rw-r--r--extra/calligra/calligra-kexi.install1
-rw-r--r--extra/calligra/calligra-plugins.install11
3 files changed, 20 insertions, 7 deletions
diff --git a/extra/calligra/PKGBUILD b/extra/calligra/PKGBUILD
index dc21f98a3..0d8d9de5f 100644
--- a/extra/calligra/PKGBUILD
+++ b/extra/calligra/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 175909 2013-01-23 21:19:46Z andrea $
+# $Id: PKGBUILD 177768 2013-02-08 09:03:22Z andrea $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
@@ -17,18 +17,18 @@ pkgname=('calligra-filters'
'calligra-handbook'
'calligra-braindump'
'calligra-flow')
-pkgver=2.5.5
+pkgver=2.6.0
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url='http://www.calligra-suite.org/'
license=('FDL1.2' 'GPL2' 'LGPL')
makedepends=('cmake' 'automoc4' 'boost ' 'kdepimlibs' 'eigen2' 'kdeedu-marble'
- 'lcms2' 'libmysqlclient' 'freetds' 'xbase' 'libwpg'
- 'libwps' 'gsl' 'glew' 'fftw' 'opengtl' 'poppler-qt>=0.22.0' 'libkdcraw'
+ 'lcms2' 'libmysqlclient' 'freetds' 'xbase' 'libwpg' 'opencolorio'
+ 'libwps' 'gsl' 'glew' 'fftw' 'opengtl' 'poppler-qt' 'libkdcraw'
'openjpeg' 'kdegraphics-okular' 'pstoedit' 'mesa')
groups=('calligra')
source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
-md5sums=('0fcf72319d0a5a806aed50e3a2f3ceb4')
+md5sums=('df7c2816d2bbe5e2fe87ea0be3fe668c')
build() {
mkdir build
@@ -54,7 +54,7 @@ package_calligra-filters() {
package_calligra-libs() {
pkgdesc="Libraries for the Calligra office suite"
- depends=('kdepimlibs' 'lcms2')
+ depends=('kdepimlibs' 'lcms2' 'kactivities')
conflicts=('koffice-interfaces' 'koffice-libs' 'koffice-pics'
'koffice-servicetypes' 'koffice-templates' 'calligra-interfaces'
'calligra-pics' 'calligra-servicetypes' 'calligra-templates')
@@ -74,6 +74,7 @@ package_calligra-plugins() {
optdepends=('kdeedu-marble: map shape for Calligra')
conflicts=('koffice-plugins' 'koffice-kchart')
replaces=('koffice-plugins' 'koffice-kchart' 'koffice-kformula')
+ install=calligra-plugins.install
cd "${srcdir}"/build/plugins
make DESTDIR="${pkgdir}" install
@@ -149,7 +150,7 @@ package_calligra-stage() {
package_calligra-krita() {
pkgdesc="Edit and paint images"
depends=('calligra-plugins' 'kdebase-runtime' 'eigen2'
- 'poppler-qt' 'libkdcraw' 'fftw' 'glew' 'opengtl')
+ 'opencolorio' 'libkdcraw' 'fftw' 'glew' 'opengtl')
conflicts=('koffice-krita' 'calligra-krita-doc')
replaces=('koffice-krita' 'calligra-krita-doc')
install=calligra-krita.install
diff --git a/extra/calligra/calligra-kexi.install b/extra/calligra/calligra-kexi.install
index b8c7ebf27..f588cfcc7 100644
--- a/extra/calligra/calligra-kexi.install
+++ b/extra/calligra/calligra-kexi.install
@@ -1,5 +1,6 @@
post_install() {
update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
diff --git a/extra/calligra/calligra-plugins.install b/extra/calligra/calligra-plugins.install
new file mode 100644
index 000000000..ea36e0bb8
--- /dev/null
+++ b/extra/calligra/calligra-plugins.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}