Merge pull request #152993 from veprbl/pr/libtiff_no_libgl
libtiff: don't depend on OpenGL on darwin
This commit is contained in:
@@ -8,11 +8,6 @@
|
||||
, libjpeg
|
||||
, xz
|
||||
, zlib
|
||||
|
||||
, Cocoa
|
||||
, GLUT
|
||||
, libGL
|
||||
, libGLU
|
||||
}:
|
||||
|
||||
#FIXME: fix aarch64-darwin build and get rid of ./aarch64-darwin.nix
|
||||
@@ -52,8 +47,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [ libjpeg xz zlib ]; #TODO: opengl support (bogus configure detection)
|
||||
|
||||
buildInputs = [ libdeflate ] # TODO: move all propagatedBuildInputs to buildInputs.
|
||||
++ lib.optionals (stdenv.isDarwin) [ Cocoa GLUT libGL libGLU ];
|
||||
buildInputs = [ libdeflate ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -18483,9 +18483,7 @@ with pkgs;
|
||||
|
||||
libtiff = if stdenv.isDarwin && stdenv.isAarch64
|
||||
then callPackage ../development/libraries/libtiff/aarch64-darwin.nix { }
|
||||
else callPackage ../development/libraries/libtiff {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa GLUT;
|
||||
};
|
||||
else callPackage ../development/libraries/libtiff { };
|
||||
|
||||
libtiger = callPackage ../development/libraries/libtiger { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user