desktop/calligra/PKGBUILD

333 lines
8.3 KiB
Bash
Raw Normal View History

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'
'calligra-braindump'
2014-03-04 23:12:44 +08:00
'calligra-data'
'calligra-extras'
2013-02-07 07:54:17 +08:00
'calligra-filters'
'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'
'calligra-libs'
'calligra-pics'
'calligra-plan'
'calligra-plugins'
'calligra-servicetypes'
2012-03-23 09:45:32 +08:00
'calligra-sheets'
'calligra-stage'
'calligra-words')
2014-03-04 23:12:44 +08:00
pkgver=2.7.92
pkgrel=1
arch=('x86_64')
2011-11-21 07:52:25 +08:00
url='http://www.calligra-suite.org'
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'
2013-12-30 01:23:28 +08:00
'kdelibs'
2013-12-28 01:18:16 +08:00
'kdepimlibs'
'lcms2'
2013-12-30 01:23:28 +08:00
'libdmtx'
2013-12-28 01:18:16 +08:00
'libgsf'
'libkdcraw'
'libmariadbclient'
2014-03-04 23:12:44 +08:00
'libodfgen'
2013-12-28 01:18:16 +08:00
'libpqxx'
'libqtgtl'
'libspnav'
'libvisio'
'libwpd'
'libwpg'
'libwps'
'opencolorio'
'opengtl'
'openjpeg'
'poppler-qt'
'pstoedit'
2013-12-30 01:23:28 +08:00
'qrencode'
2013-12-28 01:18:16 +08:00
'vc'
'xbase')
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")
2014-03-04 23:12:44 +08:00
sha512sums=('bb87ae643a7080b6ba4c8563fb434b90e87f2af8e41e34f8f599a7b8821f54ff5a4aa1778251c431ea86c5e886f16d033fb0a8da498830256cc8c1332fe8f49a')
prepare() {
2013-12-28 01:18:16 +08:00
mkdir -p "${srcdir}/build"
}
2011-11-21 07:52:25 +08:00
build() {
2013-12-28 01:18:16 +08:00
cd "${srcdir}/build"
cmake "../${pkgbase}-${pkgver}" \
2014-01-13 23:07:46 +08:00
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
2013-12-28 01:18:16 +08:00
-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"
2014-03-04 23:12:44 +08:00
depends=('libodfgen')
2013-12-28 01:18:16 +08:00
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"
2014-03-04 23:12:44 +08:00
depends=('calligra-3rdparty'
2013-12-28 01:18:16 +08:00
'calligra-servicetypes'
'create-resources'
2014-03-04 23:12:44 +08:00
'icu'
'kdeedu-marble'
'kdepimlibs'
'lcms2'
2013-12-28 01:18:16 +08:00
'libspnav'
2014-03-04 23:12:44 +08:00
'libvisio')
2013-12-28 01:18:16 +08:00
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
}
2014-03-04 23:12:44 +08:00
package_calligra-data() {
pkgdesc="Templates for the Calligra office suite"
2014-01-14 05:00:31 +08:00
conflicts=('calligra-templates')
replaces=('calligra-templates')
provides=('calligra-templates')
2014-03-04 23:12:44 +08:00
cd build/data
make DESTDIR="${pkgdir}" install
}
package_calligra-extras() {
pkgdesc="Extras for the Calligra office suite"
depends=('calligra-libs')
2013-12-28 01:18:16 +08:00
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'
2014-03-04 23:12:44 +08:00
'calligra-data'
2013-12-28 01:18:16 +08:00
'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')
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-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'
'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-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-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-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
}