1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

Merge pull request #10567 from datakurre/datakurre-libdevil

darwin: libdevil: add needed inputs
This commit is contained in:
Arseniy Seroka 2015-10-25 04:34:05 +03:00
commit 480cd9478f
2 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,8 @@
{ stdenv, fetchurl, libjpeg, libpng, libmng, lcms1, libtiff, openexr, mesa
, libX11, pkgconfig }:
, libX11, pkgconfig
, OpenGL
}:
stdenv.mkDerivation rec {
@ -11,7 +14,8 @@ stdenv.mkDerivation rec {
sha256 = "1zd850nn7nvkkhasrv7kn17kzgslr5ry933v6db62s4lr0zzlbv8";
};
buildInputs = [ libjpeg libpng libmng lcms1 libtiff openexr mesa libX11 ];
buildInputs = [ libjpeg libpng libmng lcms1 libtiff openexr mesa libX11 ]
++ stdenv.lib.optionals stdenv.isDarwin [ OpenGL ];
nativeBuildInputs = [ pkgconfig ];
configureFlags = [ "--enable-ILU" "--enable-ILUT" ];

View file

@ -6902,7 +6902,9 @@ let
libdc1394avt = callPackage ../development/libraries/libdc1394avt { };
libdevil = callPackage ../development/libraries/libdevil { };
libdevil = callPackage ../development/libraries/libdevil {
inherit (darwin.apple_sdk.frameworks) OpenGL;
};
libdevil-nox = libdevil.override {
libX11 = null;