forked from mirrors/nixpkgs
opencv3: enable contrib by default
This commit is contained in:
parent
9c14e99e71
commit
f6925dbdd8
|
@ -492,11 +492,8 @@ self: super: builtins.intersectAttrs super {
|
|||
liquid-fixpoint = disableSharedExecutables super.liquid-fixpoint;
|
||||
liquidhaskell = dontCheck (disableSharedExecutables super.liquidhaskell);
|
||||
|
||||
# Haskell OpenCV bindings need contrib code enabled in the C++ library.
|
||||
opencv = super.opencv.override { opencv3 = pkgs.opencv3.override { enableContrib = true; }; };
|
||||
|
||||
# Without this override, the builds lacks pkg-config.
|
||||
opencv-extra = addPkgconfigDepend super.opencv-extra (pkgs.opencv3.override { enableContrib = true; });
|
||||
opencv-extra = addPkgconfigDepend super.opencv-extra pkgs.opencv3;
|
||||
|
||||
# Break cyclic reference that results in an infinite recursion.
|
||||
partial-semigroup = dontCheck super.partial-semigroup;
|
||||
|
|
|
@ -12,12 +12,12 @@
|
|||
, enableJPEG2K ? true, jasper
|
||||
, enableEigen ? true, eigen
|
||||
, enableOpenblas ? true, openblas
|
||||
, enableContrib ? true
|
||||
|
||||
, enableCuda ? (config.cudaSupport or false), cudatoolkit
|
||||
|
||||
, enableUnfree ? false
|
||||
, enableIpp ? false
|
||||
, enableContrib ? false
|
||||
, enablePython ? false, pythonPackages
|
||||
, enableGtk2 ? false, gtk2
|
||||
, enableGtk3 ? false, gtk3
|
||||
|
|
|
@ -18577,7 +18577,6 @@ with pkgs;
|
|||
digikam = libsForQt5.callPackage ../applications/graphics/digikam {
|
||||
inherit (plasma5) oxygen;
|
||||
inherit (kdeApplications) kcalcore;
|
||||
opencv3 = opencv3.override { enableContrib = true; };
|
||||
};
|
||||
|
||||
displaycal = (newScope pythonPackages) ../applications/graphics/displaycal {};
|
||||
|
|
Loading…
Reference in a new issue