3
0
Fork 0
forked from mirrors/nixpkgs

opencv3, opencv4: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:33:15 +00:00
parent 8abaf8dfe5
commit 8e929441a9
3 changed files with 4 additions and 6 deletions

View file

@ -8,13 +8,13 @@
, enablePNG ? true, libpng
, enableTIFF ? true, libtiff
, enableWebP ? true, libwebp
, enableEXR ? (!stdenv.isDarwin), openexr, ilmbase
, enableEXR ? !stdenv.isDarwin, openexr, ilmbase
, enableJPEG2K ? true, jasper
, enableEigen ? true, eigen
, enableOpenblas ? true, openblas
, enableContrib ? true
, enableCuda ? (config.cudaSupport or false), cudatoolkit
, enableCuda ? config.cudaSupport or false, cudatoolkit
, enableUnfree ? false
, enableIpp ? false

View file

@ -8,13 +8,13 @@
, enablePNG ? true, libpng
, enableTIFF ? true, libtiff
, enableWebP ? true, libwebp
, enableEXR ? (!stdenv.isDarwin), openexr, ilmbase
, enableEXR ? !stdenv.isDarwin, openexr, ilmbase
, enableJPEG2K ? true, jasper
, enableEigen ? true, eigen
, enableOpenblas ? true, openblas
, enableContrib ? true
, enableCuda ? (config.cudaSupport or false), cudatoolkit
, enableCuda ? config.cudaSupport or false, cudatoolkit
, enableUnfree ? false
, enableIpp ? false

View file

@ -11868,7 +11868,6 @@ in
};
opencv3 = callPackage ../development/libraries/opencv/3.x.nix {
enableCuda = config.cudaSupport or false;
inherit (darwin) cf-private;
inherit (darwin.apple_sdk.frameworks) AVFoundation Cocoa QTKit VideoDecodeAcceleration;
};
@ -11878,7 +11877,6 @@ in
};
opencv4 = callPackage ../development/libraries/opencv/4.x.nix {
enableCuda = config.cudaSupport or false;
inherit (darwin) cf-private;
inherit (darwin.apple_sdk.frameworks) AVFoundation Cocoa QTKit VideoDecodeAcceleration;
};