mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
opencv: Enable fewer dependencies by default
In particular, this prevents KDE from pulling in gfortran, numpy and atlas. We don't want anything important depending on atlas because it has a crazy non-deterministic build system. http://hydra.nixos.org/build/12555947
This commit is contained in:
parent
b9e9e90a02
commit
0b996d886b
@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchurl, cmake, gtk, libjpeg, libpng, libtiff, jasper, ffmpeg
|
||||
, pkgconfig, gstreamer, xineLib, glib, python27, python27Packages }:
|
||||
{ lib, stdenv, fetchurl, cmake, gtk, libjpeg, libpng, libtiff, jasper, ffmpeg
|
||||
, pkgconfig, gstreamer, xineLib, glib, python27, python27Packages
|
||||
, enableBloat ? false }:
|
||||
|
||||
let v = "2.4.7"; in
|
||||
|
||||
@ -11,8 +12,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0hravl3yhyv4r4n7vb055d4qnp893q2hc0fcmmncfh7sbdrnr3f4";
|
||||
};
|
||||
|
||||
buildInputs = [ gtk glib libjpeg libpng libtiff jasper ffmpeg xineLib gstreamer
|
||||
python27 python27Packages.numpy ];
|
||||
buildInputs =
|
||||
[ libjpeg libpng libtiff ]
|
||||
++ lib.optionals enableBloat [ gtk glib jasper ffmpeg xineLib gstreamer python27 python27Packages.numpy ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user