2010-07-28 20:01:17 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2
|
2012-08-07 17:41:18 +02:00
|
|
|
, libart_lgpl, qt4, python, cups, fontconfig, libjpeg
|
2014-09-15 00:53:05 +02:00
|
|
|
, zlib, libpng, xorg, cairo, podofo, aspell, boost, cmake }:
|
2012-08-07 17:41:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-05-20 18:30:15 +02:00
|
|
|
name = "scribus-1.4.5";
|
2009-10-18 06:44:01 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-05-20 18:30:15 +02:00
|
|
|
url = "mirror://sourceforge/scribus/scribus/${name}.tar.bz2";
|
|
|
|
sha256 = "1644ym79q7a1m5xf3xl1wf4kdk870np911jmpqdv2syjc42nyw4z";
|
2009-10-18 06:44:01 +02:00
|
|
|
};
|
|
|
|
|
2011-11-02 16:00:11 +01:00
|
|
|
enableParallelBuilding = true;
|
2009-10-18 06:44:01 +02:00
|
|
|
|
2012-08-07 17:41:18 +02:00
|
|
|
buildInputs = with xorg;
|
|
|
|
[ pkgconfig cmake freetype lcms libtiff libxml2 libart_lgpl qt4
|
2009-10-20 12:33:38 +02:00
|
|
|
python cups fontconfig
|
2011-11-02 16:00:11 +01:00
|
|
|
libjpeg zlib libpng podofo aspell cairo
|
2014-09-15 00:53:05 +02:00
|
|
|
boost # for internal 2geom library
|
2012-08-07 17:41:18 +02:00
|
|
|
libXaw libXext libX11 libXtst libXi libXinerama
|
|
|
|
libpthreadstubs libXau libXdmcp
|
2011-11-02 16:00:11 +01:00
|
|
|
];
|
2009-10-18 06:44:01 +02:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 20:01:17 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
description = "Desktop Publishing (DTP) and Layout program for Linux";
|
2009-10-20 12:33:38 +02:00
|
|
|
homepage = http://www.scribus.net;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2009-10-20 12:33:38 +02:00
|
|
|
};
|
2009-10-18 06:44:01 +02:00
|
|
|
}
|