svn path=/nixpkgs/trunk/; revision=17892

This commit is contained in:
Eelco Dolstra
2009-10-20 10:33:38 +00:00
parent 3d1c24c004
commit 24661f4c45
+13 -12
View File
@@ -1,6 +1,6 @@
args: with args; args: with args;
assert stdenv.gcc ? gcc; assert stdenv.gcc.gcc != null;
# NOTE: ! If Scribus doesn't render text try another font. # NOTE: ! If Scribus doesn't render text try another font.
@@ -31,11 +31,12 @@ stdenv.mkDerivation {
set +x set +x
''; '';
buildInputs = [ pkgconfig /*<- required fro cairo only?*/ cmake freetype lcms libtiff libxml2 libart_lgpl qt buildInputs =
python cups fontconfig [ pkgconfig /*<- required fro cairo only?*/ cmake freetype lcms libtiff libxml2 libart_lgpl qt
libXaw libXext libX11 libXtst libXi libXinerama python cups fontconfig
libjpeg libtiff zlib libpng libXaw libXext libX11 libXtst libXi libXinerama
] ++ (if useCairo then [cairo] else []); libjpeg libtiff zlib libpng
] ++ lib.optional useCairo cairo;
# fix rpath which is removed by cmake.. # fix rpath which is removed by cmake..
postFixup = '' postFixup = ''
@@ -47,11 +48,11 @@ stdenv.mkDerivation {
''; '';
meta = { meta = {
maintainers = [lib.maintainers.marcweber]; maintainers = [lib.maintainers.marcweber];
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
description = "Desktop Publishing (DTP) and Layout program for Linux."; description = "Desktop Publishing (DTP) and Layout program for Linux.";
homepage = http://www.scribus.net; homepage = http://www.scribus.net;
license = "GPLv2"; license = "GPLv2";
}; };
} }