gnu: opencv: Update to 4.12.0.

* gnu/packages/image-processing.scm (opencv): Update to 4.12.0.
[source](snippet): Adjust to change of "3rdparty" directories changes.

Change-Id: I3314182f7c3d550794f29c24022c2cfa24e6b467
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
Andy Tai 2025-07-28 22:54:14 -07:00 committed by Danny Milosavljevic
parent d30c46fac6
commit 32cda2f495
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -496,7 +496,7 @@ different data arrays similar to those available in the numdiff software.")
(define-public opencv (define-public opencv
(package (package
(name "opencv") (name "opencv")
(version "4.11.0") (version "4.12.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -510,8 +510,7 @@ different data arrays similar to those available in the numdiff software.")
;; available in Guix. ;; available in Guix.
(with-directory-excursion "3rdparty" (with-directory-excursion "3rdparty"
(for-each delete-file-recursively (for-each delete-file-recursively
'("carotene" '("cpufeatures"
"cpufeatures"
"flatbuffers" "flatbuffers"
"ffmpeg" "ffmpeg"
"include" "include"
@ -525,7 +524,6 @@ different data arrays similar to those available in the numdiff software.")
"libwebp" "libwebp"
"openexr" "openexr"
"openjpeg" "openjpeg"
"openvx"
"protobuf" "protobuf"
;;"quirc" ;;"quirc"
"tbb" "tbb"
@ -535,7 +533,7 @@ different data arrays similar to those available in the numdiff software.")
(for-each delete-file (find-files "." "\\.jar$")))) (for-each delete-file (find-files "." "\\.jar$"))))
(sha256 (sha256
(base32 (base32
"1ha0230yw9ihybmg2b3mkk9vbnlgzlwx597v2hm14y403047zvgb")))) "1n5qif1ispmdby1cmwf9f8isdx07phyhb19jsmgrw5bk3k23dcyy"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:parallel-tests? #f `(#:parallel-tests? #f
@ -719,7 +717,7 @@ different data arrays similar to those available in the numdiff software.")
(file-name (git-file-name "opencv_extra" version)) (file-name (git-file-name "opencv_extra" version))
(sha256 (sha256
(base32 (base32
"1zs8ps01vq1pvs5zmpw0wd7xc2l85yqd85vksdj8kddkx6alda8j")))) "0awang2hl7z194rlnic38ry6fgxy8b7k2qqasinjqznxab4dkhvz"))))
("opencv-contrib" ("opencv-contrib"
,(origin ,(origin
(method git-fetch) (method git-fetch)
@ -728,7 +726,7 @@ different data arrays similar to those available in the numdiff software.")
(file-name (git-file-name "opencv_contrib" version)) (file-name (git-file-name "opencv_contrib" version))
(sha256 (sha256
(base32 (base32
"0wsvd7pnj0p6dvdl4x4r46dkrkxkd61v411ih30j3wa9l7m7vmv0")))))) "1ai1kanlq1wr3173q86yfj6r9h3kkvjx18cakjr31jkb25qyrmny"))))))
(inputs (inputs
(list eigen (list eigen
ffmpeg-4 ffmpeg-4