3
0
Fork 0
forked from mirrors/nixpkgs

mupdf: propagate needed libraries

This commit is contained in:
Nikolay Amiantov 2015-11-25 18:28:57 +03:00
parent 0459f7f308
commit 6610fd5329
2 changed files with 5 additions and 3 deletions

View file

@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
sha256 = "01n26cy41lc2fjri63s4js23ixxb4nd37aafry3hz4i4id6wd8x2";
};
buildInputs = [ pkgconfig zlib freetype libjpeg jbig2dec openjpeg libX11 libXext ];
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ openjpeg libjpeg jbig2dec ];
buildInputs = [ zlib freetype libX11 libXext ];
enableParallelBuilding = true;

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, pkgconfig, zathura_core, gtk, girara, mupdf, openssl, openjpeg, libjpeg, jbig2dec }:
{ stdenv, lib, fetchurl, pkgconfig, zathura_core, gtk, girara, mupdf, openssl }:
stdenv.mkDerivation rec {
version = "0.2.8";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0439ls8xqnq6hqa53hd0wqxh1qf0xmccfi3pb0m4mlfs5iv952wz";
};
buildInputs = [ pkgconfig zathura_core gtk girara openssl mupdf openjpeg libjpeg jbig2dec ];
buildInputs = [ pkgconfig zathura_core gtk girara openssl mupdf ];
makeFlags = [ "PREFIX=$(out)" "PLUGINDIR=$(out)/lib" ];