gnu: opencv: Fix installation.
This is a follow-up to commit 5894b1210d
.
* gnu/packages/image-processing.scm (opencv)[arguments]: Add build phase
'do-not-install-3rdparty-file.
master
parent
2bbc3864c3
commit
21219307fe
|
@ -498,6 +498,10 @@ integrates with various databases on GUI toolkits such as Qt and Tk.")
|
|||
"../opencv-extra")
|
||||
(copy-recursively (assoc-ref inputs "opencv-contrib")
|
||||
"../opencv-contrib")))
|
||||
(add-after 'build 'do-not-install-3rdparty-file
|
||||
(lambda _
|
||||
(substitute* "cmake_install.cmake"
|
||||
(("file\\(INSTALL .*source/3rdparty/include/opencl/LICENSE.txt.*") "\n"))))
|
||||
(add-before 'check 'start-xserver
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((xorg-server (assoc-ref inputs "xorg-server"))
|
||||
|
|
Reference in New Issue