mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 20:11:43 +03:00
Merge pull request #10567 from datakurre/datakurre-libdevil
darwin: libdevil: add needed inputs
This commit is contained in:
commit
480cd9478f
@ -1,5 +1,8 @@
|
|||||||
{ stdenv, fetchurl, libjpeg, libpng, libmng, lcms1, libtiff, openexr, mesa
|
{ stdenv, fetchurl, libjpeg, libpng, libmng, lcms1, libtiff, openexr, mesa
|
||||||
, libX11, pkgconfig }:
|
, libX11, pkgconfig
|
||||||
|
|
||||||
|
, OpenGL
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
@ -11,7 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1zd850nn7nvkkhasrv7kn17kzgslr5ry933v6db62s4lr0zzlbv8";
|
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 ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
configureFlags = [ "--enable-ILU" "--enable-ILUT" ];
|
configureFlags = [ "--enable-ILU" "--enable-ILUT" ];
|
||||||
|
@ -6902,7 +6902,9 @@ let
|
|||||||
|
|
||||||
libdc1394avt = callPackage ../development/libraries/libdc1394avt { };
|
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 {
|
libdevil-nox = libdevil.override {
|
||||||
libX11 = null;
|
libX11 = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user