Added poppler and poppler-data
svn path=/nixpkgs/trunk/; revision=9633
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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";
|
||||
}
|
||||
Reference in New Issue
Block a user