2013-12-28 01:18:16 +08:00
|
|
|
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
|
|
# Contributors: Manuel Tortosa (manutortosa) <manuel.tortosa@chakra-project.org>
|
2011-11-21 07:52:25 +08:00
|
|
|
|
|
|
|
pkgbase=calligra
|
2013-02-07 07:54:17 +08:00
|
|
|
pkgname=('calligra-3rdparty'
|
2013-12-28 00:21:20 +08:00
|
|
|
'calligra-braindump'
|
|
|
|
'calligra-extras'
|
2013-02-07 07:54:17 +08:00
|
|
|
'calligra-filters'
|
2013-12-28 00:21:20 +08:00
|
|
|
'calligra-flow'
|
|
|
|
'calligra-handbook'
|
2013-12-28 01:18:16 +08:00
|
|
|
'calligra-interfaces'
|
2011-11-21 07:52:25 +08:00
|
|
|
'calligra-karbon'
|
|
|
|
'calligra-kexi'
|
|
|
|
'calligra-krita'
|
2013-12-28 00:21:20 +08:00
|
|
|
'calligra-libs'
|
|
|
|
'calligra-pics'
|
|
|
|
'calligra-plan'
|
|
|
|
'calligra-plugins'
|
|
|
|
'calligra-servicetypes'
|
2012-03-23 09:45:32 +08:00
|
|
|
'calligra-sheets'
|
2013-12-28 00:21:20 +08:00
|
|
|
'calligra-stage'
|
|
|
|
'calligra-templates'
|
|
|
|
'calligra-words')
|
|
|
|
pkgver=2.7.5
|
2013-12-28 04:35:24 +08:00
|
|
|
pkgrel=3
|
2012-11-10 12:43:24 +08:00
|
|
|
arch=('x86_64')
|
2011-11-21 07:52:25 +08:00
|
|
|
url='http://www.calligra-suite.org'
|
2013-12-28 00:21:20 +08:00
|
|
|
screenshot=("http://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Calligra_Stage_2.4.png/800px-Calligra_Stage_2.4.png")
|
2013-12-28 01:18:16 +08:00
|
|
|
license=('FDL1.2'
|
|
|
|
'GPL2'
|
|
|
|
'LGPL')
|
|
|
|
makedepends=('automoc4'
|
|
|
|
'boost'
|
|
|
|
'cmake'
|
|
|
|
'create-resources'
|
|
|
|
'docbook-xsl'
|
|
|
|
'eigen2'
|
|
|
|
'fftw'
|
|
|
|
'freetds'
|
|
|
|
'glew'
|
|
|
|
'gsl'
|
|
|
|
'icu'
|
|
|
|
'kdeedu-marble'
|
|
|
|
'kdegraphics-okular'
|
|
|
|
'kdepimlibs'
|
|
|
|
'lcms2'
|
|
|
|
'libgsf'
|
|
|
|
'libkdcraw'
|
|
|
|
'libmariadbclient'
|
|
|
|
'libpqxx'
|
|
|
|
'libqtgtl'
|
|
|
|
'libspnav'
|
|
|
|
'libvisio'
|
|
|
|
'libwpd'
|
|
|
|
'libwpg'
|
|
|
|
'libwps'
|
|
|
|
'opencolorio'
|
|
|
|
'opengtl'
|
|
|
|
'openjpeg'
|
|
|
|
'poppler-qt'
|
|
|
|
'pstoedit'
|
|
|
|
'vc'
|
|
|
|
'xbase')
|
2013-12-28 00:21:20 +08:00
|
|
|
options=("debug")
|
2011-11-21 07:52:25 +08:00
|
|
|
groups=('calligra')
|
2013-12-28 01:18:16 +08:00
|
|
|
source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.xz")
|
2013-12-28 04:35:24 +08:00
|
|
|
sha512sums=('2438add98f173732b93ccd5ad1f237fa6982e220521b2c64056cfb5e14f16cd3859ff2e64926a657b51454154f255a46f3ad6aaebb67532a31ec98d366672dad')
|
2012-05-27 02:59:42 +08:00
|
|
|
|
2013-12-28 00:21:20 +08:00
|
|
|
prepare() {
|
2013-12-28 01:18:16 +08:00
|
|
|
mkdir -p "${srcdir}/build"
|
2013-12-28 00:21:20 +08:00
|
|
|
}
|
2011-11-21 07:52:25 +08:00
|
|
|
|
|
|
|
build() {
|
2013-12-28 01:18:16 +08:00
|
|
|
cd "${srcdir}/build"
|
|
|
|
cmake "../${pkgbase}-${pkgver}" \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DBUILD_active=OFF
|
|
|
|
make
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
2013-02-07 07:54:17 +08:00
|
|
|
package_calligra-3rdparty() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Third-party plugins for the Calligra office suite"
|
|
|
|
depends=('kdepimlibs')
|
2013-02-07 07:54:17 +08:00
|
|
|
|
2013-12-28 01:18:16 +08:00
|
|
|
cd build/3rdparty
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2013-02-07 07:54:17 +08:00
|
|
|
}
|
|
|
|
|
2011-11-21 07:52:25 +08:00
|
|
|
package_calligra-filters() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Filters for the Calligra office suite"
|
|
|
|
optdepends=('libgsf: Microsoft Word document importer'
|
|
|
|
'libwps: WordPerfect document importer'
|
|
|
|
'libwpg: Corel WordPerfect Graphics image importer'
|
|
|
|
'pstoedit: Karbon EPS import filter'
|
|
|
|
'libkdcraw: support for raw images')
|
|
|
|
install=calligra-filters.install
|
|
|
|
|
|
|
|
cd build/filters
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-interfaces() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Interfaces for the Calligra office suite"
|
|
|
|
depends=('calligra-libs'
|
|
|
|
'kactivities')
|
|
|
|
|
|
|
|
cd build/interfaces
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-libs() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Libraries for the Calligra office suite"
|
|
|
|
depends=('kdepimlibs'
|
|
|
|
'lcms2'
|
|
|
|
'calligra-3rdparty'
|
|
|
|
'calligra-servicetypes'
|
|
|
|
'kdeedu-marble'
|
|
|
|
'create-resources'
|
|
|
|
'libspnav'
|
|
|
|
'libvisio'
|
|
|
|
'icu')
|
|
|
|
|
|
|
|
cd build/libs
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-plugins() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Plugins for the Calligra office suite"
|
|
|
|
depends=('calligra-libs')
|
|
|
|
categories=('office')
|
|
|
|
|
|
|
|
cd build/plugins
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-pics() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Icons for the Calligra office suite"
|
|
|
|
depends=('calligra-libs')
|
|
|
|
categories=('office')
|
|
|
|
install=calligra.install
|
|
|
|
|
|
|
|
cd build/pics
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-servicetypes() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Servicetypes for the Calligra office suite"
|
|
|
|
depends=('kactivities')
|
|
|
|
install=calligra.install
|
|
|
|
|
|
|
|
cd build/servicetypes
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-templates() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Templates for the Calligra office suite"
|
|
|
|
|
|
|
|
cd build/templates
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
2013-12-28 00:21:20 +08:00
|
|
|
package_calligra-extras() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Extras for the Calligra office suite"
|
|
|
|
depends=('calligra-libs')
|
|
|
|
install=calligra-extras.install
|
|
|
|
|
|
|
|
cd build/extras
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-karbon() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Vector graphics editor"
|
|
|
|
depends=('calligra-libs'
|
|
|
|
'calligra-templates'
|
|
|
|
'hicolor-icon-theme')
|
|
|
|
provides=('karbon')
|
|
|
|
categories=('graphics')
|
|
|
|
install=calligra-karbon.install
|
|
|
|
|
|
|
|
cd build/karbon
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-kexi() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Visual database management frontend"
|
|
|
|
depends=('calligra-libs'
|
|
|
|
'calligra-sheets'
|
|
|
|
'sqlite3'
|
|
|
|
'xbase'
|
|
|
|
'icu')
|
2013-12-28 01:33:38 +08:00
|
|
|
optdepends=('libmariadbclient'
|
|
|
|
'postgresql')
|
2013-12-28 01:18:16 +08:00
|
|
|
provides=('kexi')
|
|
|
|
categories=('office')
|
|
|
|
install=calligra-kexi.install
|
|
|
|
|
|
|
|
cd build/kexi
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-kounavail() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Unavailable Calligra Document"
|
|
|
|
depends=('calligra-libs')
|
|
|
|
categories=('office')
|
|
|
|
|
|
|
|
cd build/kounavail
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-plan() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Project management application"
|
|
|
|
depends=('calligra-words'
|
|
|
|
'hicolor-icon-theme'
|
|
|
|
'calligra-libs'
|
|
|
|
'kdepimlibs'
|
|
|
|
'calligra-templates'
|
|
|
|
'calligra-plugins')
|
|
|
|
categories=('office')
|
|
|
|
install=calligra-plan.install
|
|
|
|
|
|
|
|
cd build/plan
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-stage() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Presentation application"
|
|
|
|
depends=('calligra-libs'
|
|
|
|
'calligra-templates'
|
|
|
|
'hicolor-icon-theme')
|
|
|
|
optdepends=('calligra-filters: import/export filters')
|
|
|
|
categories=('office')
|
|
|
|
install=calligra-stage.install
|
|
|
|
|
|
|
|
cd build/stage
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-krita() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Digital painting application"
|
|
|
|
depends=('calligra-libs'
|
|
|
|
'calligra-templates'
|
|
|
|
'calligra-plugins'
|
|
|
|
'glew'
|
|
|
|
'qimageblitz'
|
|
|
|
'poppler-qt'
|
|
|
|
'openexr'
|
|
|
|
'opengtl'
|
|
|
|
'hicolor-icon-theme'
|
|
|
|
'shared-mime-info'
|
|
|
|
'lcms2'
|
|
|
|
'libqtgtl')
|
|
|
|
optdepends=('calligra-filters: import/export filters'
|
|
|
|
'vc: Required by the Krita for vectorization'
|
|
|
|
'opencolorio: Required by the Krita LUT docker')
|
|
|
|
provides=('krita')
|
|
|
|
categories=('graphics')
|
|
|
|
install=calligra-krita.install
|
|
|
|
|
|
|
|
cd build/krita
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
2012-03-23 09:45:32 +08:00
|
|
|
package_calligra-sheets() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Spreadsheet application"
|
|
|
|
depends=('calligra-libs'
|
|
|
|
'calligra-templates'
|
|
|
|
'calligra-plugins'
|
|
|
|
'gsl'
|
|
|
|
'hicolor-icon-theme')
|
|
|
|
optdepends=('calligra-filters: import/export filters')
|
|
|
|
categories=('office')
|
|
|
|
install=calligra-sheets.install
|
|
|
|
|
|
|
|
cd build/sheets
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-words() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Word processor"
|
|
|
|
depends=('calligra-libs'
|
|
|
|
'calligra-templates'
|
|
|
|
'calligra-plugins'
|
|
|
|
'calligra-pics'
|
|
|
|
'hicolor-icon-theme')
|
|
|
|
optdepends=('calligra-filters: import/export filters')
|
|
|
|
categories=('office')
|
|
|
|
install=calligra-words.install
|
|
|
|
|
|
|
|
cd build/words
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-handbook() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Documentation for Calligra"
|
|
|
|
categories=('documentation')
|
|
|
|
|
|
|
|
cd build/doc/calligra
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-thesaurus-doc() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Documentation for Thesaurus"
|
|
|
|
categories=('documentation')
|
|
|
|
|
|
|
|
cd build/doc/thesaurus
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-braindump() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Notetaking and mindmapping application"
|
|
|
|
depends=('calligra-libs')
|
|
|
|
categories=('office')
|
|
|
|
install=calligra-braindump.install
|
|
|
|
|
|
|
|
cd build/braindump
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_calligra-flow() {
|
2013-12-28 01:18:16 +08:00
|
|
|
pkgdesc="Flowchart drawing application"
|
|
|
|
depends=('calligra-words'
|
|
|
|
'kde-runtime')
|
|
|
|
install=calligra-flow.install
|
|
|
|
categories=('office')
|
|
|
|
|
|
|
|
cd build/flow
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-11-21 07:52:25 +08:00
|
|
|
}
|