2015-09-26 07:44:58 +00:00
|
|
|
# Template file for 'calligra'
|
|
|
|
pkgname=calligra
|
2016-05-06 11:11:36 +00:00
|
|
|
version=2.9.11
|
2016-10-09 08:45:17 +00:00
|
|
|
revision=5
|
2015-09-26 07:44:58 +00:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-Wno-dev -DBUILD_active=OFF -DWITH_Soprano=OFF"
|
|
|
|
hostmakedepends="cmake automoc4 perl pkg-config eigen"
|
|
|
|
short_desc="Illustration application"
|
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
|
|
makedepends="vc phonon-devel libpng-devel sqlite-devel boost-devel exiv2-devel
|
2016-09-17 19:10:57 +00:00
|
|
|
qt-devel qt-webkit-devel kdelibs-devel libressl-devel lcms2-devel libwpd-devel
|
|
|
|
libwpg-devel libwps-devel libodfgen-devel libvisio-devel libetonyek-devel
|
|
|
|
fontconfig-devel libXi-devel poppler-qt4-devel libgomp-devel glew-devel
|
|
|
|
opencolorio-devel fftw-devel libopenexr-devel libopenjpeg-devel gsl-devel
|
|
|
|
libcurl-devel libkdcraw-devel libokular-devel qca-devel kactivities-devel
|
|
|
|
kdepimlibs-devel marble-devel libmysqlclient-devel postgresql-libs-devel
|
|
|
|
freetds-devel"
|
2015-09-26 07:44:58 +00:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.calligra-suite.org/"
|
|
|
|
distfiles="http://download.kde.org/stable/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
|
2016-05-06 11:11:36 +00:00
|
|
|
checksum=b18d2d0f87bc92753ec8b1eb780a596770a49141e3e60d811da51e752e54ea09
|
2015-09-26 07:44:58 +00:00
|
|
|
|
|
|
|
subpackages="calligra-filters calligra-libs calligra-plugins calligra-karbon
|
|
|
|
calligra-kexi calligra-plan calligra-stage calligra-krita calligra-sheets
|
|
|
|
calligra-words calligra-handbook calligra-braindump calligra-flow
|
|
|
|
calligra-extras calligra-devtools calligra-gemini"
|
|
|
|
depends="${subpackages}"
|
|
|
|
|
2016-05-06 11:11:36 +00:00
|
|
|
CXXFLAGS="-D_DEFAULT_SOURCE"
|
2016-05-06 11:20:18 +00:00
|
|
|
nocross=yes
|
2016-05-06 11:11:36 +00:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
2016-05-06 11:20:18 +00:00
|
|
|
x86_64-musl) broken="not yet supported";;
|
2016-05-06 11:11:36 +00:00
|
|
|
esac
|
|
|
|
|
2015-09-26 07:44:58 +00:00
|
|
|
do_install() {
|
2015-11-30 07:18:11 +00:00
|
|
|
vdoc README
|
2015-09-26 07:44:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
calligra-filters_package() {
|
|
|
|
short_desc+=" - filters"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/filters
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-libs_package() {
|
|
|
|
short_desc+=" - libraries"
|
|
|
|
pkg_install() {
|
|
|
|
for d in interfaces libs pics servicetypes; do
|
|
|
|
cd ${wrksrc}/build/${d}
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
done
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-plugins_package() {
|
|
|
|
short_desc+=" - plugins"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/plugins
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
cd ../3rdparty/kdchart
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-karbon_package() {
|
|
|
|
short_desc+=" - Create scalable vector drawings"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/karbon
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-kexi_package() {
|
|
|
|
short_desc+=" - Develop desktop db apps"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/kexi
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
cd ../doc/kexi
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-plan_package() {
|
|
|
|
short_desc+=" - Project Management Component"
|
|
|
|
depends="calligra-words-${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/plan
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
cd ../3rdparty/kdgantt
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-stage_package() {
|
|
|
|
short_desc+=" - Write presentation documents"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/stage
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
cd ../doc/stage
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-krita_package() {
|
2015-09-26 07:54:41 +00:00
|
|
|
depends="calligra-plugins-${version}_${revision}"
|
2015-09-26 07:44:58 +00:00
|
|
|
short_desc+=" - Edit and paint images"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/krita
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-sheets_package() {
|
|
|
|
short_desc+=" - Write spreadsheet documents"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/sheets
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
cd ../doc/sheets
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-words_package() {
|
|
|
|
short_desc+=" - Word Processor"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/words
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-handbook_package() {
|
|
|
|
noarch=yes
|
|
|
|
short_desc+=" - Documentation"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/doc/calligra
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-braindump_package() {
|
|
|
|
short_desc+=" - Notes & idea gathering"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/braindump
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-flow_package() {
|
2016-09-15 14:04:27 +00:00
|
|
|
depends="calligra-plugins"
|
2015-09-26 07:44:58 +00:00
|
|
|
short_desc+=" - Flowchart & Diagram Editing"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/flow
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-extras_package() {
|
|
|
|
short_desc+=" - Extras"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/extras
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
cd ../data
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-devtools_package() {
|
|
|
|
short_desc+=" - Developer tools"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/devtools
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calligra-gemini_package() {
|
|
|
|
short_desc+=" - QML interface for Calligra Words and Stage"
|
|
|
|
pkg_install() {
|
|
|
|
cd ${wrksrc}/build/qtquick
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
cd ${wrksrc}/build/gemini
|
|
|
|
make DESTDIR=$PKGDESTDIR install
|
|
|
|
}
|
|
|
|
}
|