mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: opencolorio: Fix cmake file.
* gnu/packages/image-processing.scm (opencolorio)[arguments]: Add fix-OpenColorIOConfig phase. Change-Id: I317870801f77dc59bcd07b0d11a750bbbb63b327
This commit is contained in:
parent
dc625762d5
commit
65de6fc659
1 changed files with 12 additions and 1 deletions
|
@ -276,7 +276,18 @@ (define-public opencolorio
|
|||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
;; XXX: GPU tests are failing.
|
||||
(list #:configure-flags #~(list "-DOCIO_BUILD_GPU_TESTS=false")))
|
||||
(list #:configure-flags #~(list "-DOCIO_BUILD_GPU_TESTS=false")
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(add-after 'install 'fix-OpenColorIOConfig
|
||||
(lambda _
|
||||
;; Work around a CMake Zlib-detection bug:
|
||||
;; https://gitlab.kitware.com/cmake/cmake/-/issues/25200
|
||||
;; make OpenColorIOConfig.cmake is a normal cmake file
|
||||
(substitute*
|
||||
(string-append #$output
|
||||
"/lib/cmake/OpenColorIO/OpenColorIOConfig.cmake")
|
||||
(("\\.#define ZLIB_VERSION \"1\\.3\"")
|
||||
"")))))))
|
||||
(native-inputs
|
||||
;; XXX: OCIO has unit tests for OpenShadingLanguage, but they fail.
|
||||
;; They also require OIIO, but OCIO is an optional dependency to it.
|
||||
|
|
Loading…
Reference in a new issue