gnu: openexr: Apply 'guix style'.
* gnu/packages/graphics.scm (openexr): apply guix style. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b6bc4c109b
commit
831e038dff
|
@ -1118,29 +1118,29 @@ (define-public openexr
|
||||||
(package
|
(package
|
||||||
(name "openexr")
|
(name "openexr")
|
||||||
(version "3.1.3")
|
(version "3.1.3")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method git-fetch)
|
||||||
(method git-fetch)
|
(uri (git-reference
|
||||||
(uri (git-reference
|
(url
|
||||||
(url "https://github.com/AcademySoftwareFoundation/openexr")
|
"https://github.com/AcademySoftwareFoundation/openexr")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0c9vla0kbsbbhkk42jlbf94nzfb1anqh7dy9b0b3nna1qr6v4bh6"))))
|
(base32
|
||||||
|
"0c9vla0kbsbbhkk42jlbf94nzfb1anqh7dy9b0b3nna1qr6v4bh6"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases (modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
;; /var/tmp does not exist in the Guix build environment
|
||||||
;; /var/tmp does not exist in the Guix build environment
|
(add-after 'unpack 'patch-test-directory
|
||||||
(add-after 'unpack 'patch-test-directory
|
(lambda _
|
||||||
(lambda _
|
(substitute* '("src/test/OpenEXRUtilTest/tmpDir.h"
|
||||||
(substitute* '("src/test/OpenEXRUtilTest/tmpDir.h"
|
"src/test/OpenEXRFuzzTest/tmpDir.h"
|
||||||
"src/test/OpenEXRFuzzTest/tmpDir.h"
|
"src/test/OpenEXRTest/tmpDir.h"
|
||||||
"src/test/OpenEXRTest/tmpDir.h"
|
"src/test/OpenEXRCoreTest/main.cpp")
|
||||||
"src/test/OpenEXRCoreTest/main.cpp")
|
(("/var/tmp")
|
||||||
(("/var/tmp") "/tmp")))))))
|
"/tmp")))))))
|
||||||
(inputs
|
(inputs (list imath zlib))
|
||||||
(list imath zlib))
|
|
||||||
(home-page "https://www.openexr.com/")
|
(home-page "https://www.openexr.com/")
|
||||||
(synopsis "High-dynamic-range file format library")
|
(synopsis "High-dynamic-range file format library")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue