2015-11-04 21:07:41 +01:00
|
|
|
{ stdenv, fetchurl, automoc4, cmake, perl, pkgconfig, kdelibs, lcms2, libpng, eigen
|
|
|
|
, exiv2, boost, sqlite, icu, vc, shared_mime_info, librevenge, libodfgen, libwpg
|
|
|
|
, libwpd, poppler_qt4, ilmbase, gsl, qca2, marble, libvisio, libmysql, postgresql
|
|
|
|
, freetds, fftw, glew, libkdcraw, pstoedit, opencolorio, kdepimlibs
|
2015-11-05 21:55:08 +01:00
|
|
|
, kactivities, okular, git, oxygen_icons, makeWrapper
|
2015-11-04 21:07:41 +01:00
|
|
|
# TODO: not found
|
|
|
|
#, xbase, openjpeg
|
|
|
|
# TODO: package libWPS, Spnav, m2mml, LibEtonyek
|
2015-09-27 17:11:01 +02:00
|
|
|
}:
|
2012-02-13 20:34:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-10 11:04:28 +01:00
|
|
|
name = "calligra-2.9.11";
|
2012-02-13 20:34:42 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-08-23 18:00:28 +02:00
|
|
|
url = "mirror://kde/stable/${name}/${name}.tar.xz";
|
2016-03-10 11:04:28 +01:00
|
|
|
sha256 = "02gaahp7a7m53n0hvrp3868s8w37b457isxir0z7b4mwhw7jv3di";
|
2012-02-13 20:34:42 +01:00
|
|
|
};
|
|
|
|
|
2015-11-05 21:55:08 +01:00
|
|
|
nativeBuildInputs = [ automoc4 cmake perl pkgconfig makeWrapper ];
|
2012-02-13 20:34:42 +01:00
|
|
|
|
2015-09-27 17:11:01 +02:00
|
|
|
buildInputs = [
|
2015-11-04 21:07:41 +01:00
|
|
|
kdelibs lcms2 libpng eigen
|
|
|
|
exiv2 boost sqlite icu vc shared_mime_info librevenge libodfgen libwpg
|
|
|
|
libwpd poppler_qt4 ilmbase gsl qca2 marble libvisio libmysql postgresql
|
2015-11-05 21:55:08 +01:00
|
|
|
freetds fftw glew libkdcraw opencolorio kdepimlibs
|
2015-11-04 21:07:41 +01:00
|
|
|
kactivities okular git
|
2015-01-11 16:02:13 +01:00
|
|
|
];
|
|
|
|
|
2015-11-04 21:07:41 +01:00
|
|
|
enableParallelBuilding = true;
|
2012-02-13 20:34:42 +01:00
|
|
|
|
2015-11-05 21:55:08 +01:00
|
|
|
postInstall = ''
|
|
|
|
for i in $out/bin/*; do
|
|
|
|
wrapProgram $i \
|
|
|
|
--prefix PATH ':' "${pstoedit}/bin" \
|
|
|
|
--prefix XDG_DATA_DIRS ':' "${oxygen_icons}/share"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2012-02-13 20:34:42 +01:00
|
|
|
meta = {
|
2015-04-30 17:05:14 +02:00
|
|
|
description = "A suite of productivity applications";
|
|
|
|
longDescription = ''
|
|
|
|
Calligra Suite is a set of applications written to help
|
|
|
|
you to accomplish your work. Calligra includes efficient
|
|
|
|
and capable office components: Words for text processing,
|
|
|
|
Sheets for computations, Stage for presentations, Plan for
|
|
|
|
planning, Flow for flowcharts, Kexi for database creation,
|
|
|
|
Krita for painting and raster drawing, and Karbon for
|
|
|
|
vector graphics.
|
|
|
|
'';
|
2012-02-13 20:34:42 +01:00
|
|
|
homepage = http://calligra.org;
|
2016-03-10 11:04:28 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ urkud phreedom ebzzry ];
|
2012-02-13 20:34:42 +01:00
|
|
|
inherit (kdelibs.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|