mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
libdevil: Use multiple outputs
This commit is contained in:
parent
f3dbb0892c
commit
f66271238e
@ -1,12 +1,10 @@
|
||||
{ stdenv, fetchurl, libjpeg, libpng, libmng, lcms1, libtiff, openexr, mesa
|
||||
, libX11, pkgconfig
|
||||
|
||||
, OpenGL
|
||||
{ stdenv, fetchurl, libjpeg, libpng, libmng, lcms1, libtiff, openexr, mesa_noglu
|
||||
, libX11, pkgconfig, OpenGL
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name ="libdevil-${version}";
|
||||
name = "libdevil-${version}";
|
||||
version = "1.7.8";
|
||||
|
||||
src = fetchurl {
|
||||
@ -14,7 +12,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1zd850nn7nvkkhasrv7kn17kzgslr5ry933v6db62s4lr0zzlbv8";
|
||||
};
|
||||
|
||||
buildInputs = [ libjpeg libpng libmng lcms1 libtiff openexr mesa libX11 ]
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
buildInputs = [ libjpeg libpng libmng lcms1 libtiff openexr mesa_noglu libX11 ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ OpenGL ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
@ -40,6 +40,8 @@ stdenv.mkDerivation rec {
|
||||
./il_endian.h.patch
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://openil.sourceforge.net/;
|
||||
description = "An image library which can can load, save, convert, manipulate, filter and display a wide variety of image formats";
|
||||
|
@ -7685,7 +7685,7 @@ in
|
||||
|
||||
libdevil-nox = libdevil.override {
|
||||
libX11 = null;
|
||||
mesa = null;
|
||||
mesa_noglu = null;
|
||||
};
|
||||
|
||||
libdigidoc = callPackage ../development/libraries/libdigidoc { };
|
||||
|
Loading…
Reference in New Issue
Block a user