3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/poppler/default.nix
Yury G. Kudryashov 6203fa41f7 Added poppler and poppler-data
svn path=/nixpkgs/trunk/; revision=9633
2007-11-11 16:00:51 +00:00

18 lines
594 B
Nix

args: with args;
stdenv.mkDerivation {
name = "poppler-0.6.1";
src = fetchurl {
url = http://poppler.freedesktop.org/poppler-0.6.1.tar.gz;
sha256 = "1wiz7m36wr4l0ihnawl7ww2ai0cx81ly5ych9wmyh348py4jgyyl";
};
propagatedBuildInputs = [qt4 zlib glib cairo freetype fontconfig libjpeg gtk];
configureFlags = "--enable-shared --disable-static --enable-exceptions
--enable-cairo --enable-splash --enable-poppler-glib --enable-zlib";
patches = [ ./GDir-const.patch ./datadir_env.patch ./use_exceptions.patch ];
preConfigure = "sed -e '/jpeg_incdirs/s@/usr@${libjpeg}@' -i configure";
}