Subject: [PATCH v2 4/6] gnu: Add support for python in opencv

From: Tomasz Jeneralczyk <[email-masked]>
Date: Sun, 14 Aug 2022 14:46:21 +0200

The package already had all dependencies needed for its python bindings, so
enabling python support was as easy as adding a flag. Which makes me think
this was the intention from the start.

Also add copyright.

* gnu/packages/image-processing.scm (opencv)[arguments]: Change variable.
---
 gnu/packages/image-processing.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 3dfe086af8..f26691cad7 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2021 Guillaume Le Vaillant <[email-masked]>
 ;;; Copyright © 2021 Ivan Gankevich <[email-masked]>
 ;;; Copyright © 2022 Maxim Cournoyer <[email-masked]>
+;;; Copyright © 2022 Tomasz Jeneralczyk <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -511,6 +512,8 @@ (define-public opencv
              ;; DISPATCH is the list of optional dispatches.
              "-DCPU_BASELINE=SSE2"
 
+             "-DBUILD_opencv_python3=ON"
+
              ,@(match (%current-system)
                  ("x86_64-linux"
                   '("-DCPU_DISPATCH=NEON;VFPV3;FP16;SSE;SSE2;SSE3;SSSE3;SSE4_1;SSE4_2;POPCNT;AVX;FP16;AVX2;FMA3;AVX_512F;AVX512_SKX"
-- 
2.37.1