Merge #222518: libtiff: propagate libdeflate

...into staging.  Also adjust formatting of the nix expression.
This commit is contained in:
Vladimír Čunát
2023-04-16 09:04:09 +02:00
2 changed files with 11 additions and 6 deletions
+10 -5
View File
@@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, fetchFromGitLab
, fetchpatch
, nix-update-script
@@ -12,7 +13,7 @@
, xz
, zlib
# for passthru.tests
# for passthru.tests
, libgeotiff
, python3Packages
, imagemagick
@@ -84,9 +85,13 @@ stdenv.mkDerivation rec {
# sure cross-compilation works first!
nativeBuildInputs = [ autoreconfHook pkg-config sphinx ];
propagatedBuildInputs = [ libjpeg xz zlib ]; #TODO: opengl support (bogus configure detection)
buildInputs = [ libdeflate ];
# TODO: opengl support (bogus configure detection)
propagatedBuildInputs = [
libdeflate
libjpeg
xz
zlib
];
enableParallelBuilding = true;
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libdeflate libpng libtiff zlib lcms2 ]
buildInputs = [ libpng libtiff zlib lcms2 ]
++ lib.optionals jpipServerSupport [ curl fcgi ]
++ lib.optional (jpipLibSupport) jdk;