gnu: Add OpenEXR 3.
* gnu/packages/graphics.scm (openexr): New variable. (openexr-2)[home-page]: Use home-page from openexr. [synopsis]: Use synopsis from openexr. [description]: Use description from openexr. [license]: Use license from openexr. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
d71336b2e3
commit
c52ba63c67
1 changed files with 39 additions and 7 deletions
|
@ -1105,6 +1105,41 @@ graphics.")
|
||||||
(home-page "https://www.ogre3d.org/")
|
(home-page "https://www.ogre3d.org/")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public openexr
|
||||||
|
(package
|
||||||
|
(name "openexr")
|
||||||
|
(version "3.1.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/AcademySoftwareFoundation/openexr")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0vyclrrikphwkkpyjg8kzh3qzflzk3d6xsidgqllgfdgllr9wmgv"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
(with-directory-excursion "src/test"
|
||||||
|
(substitute* (append (find-files "." "tmpDir\\.h")
|
||||||
|
'("OpenEXRCoreTest/main.cpp"))
|
||||||
|
(("\"/var/tmp/\"")
|
||||||
|
"\"/tmp/\"")))
|
||||||
|
#t))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(inputs
|
||||||
|
`(("imath" ,imath)
|
||||||
|
("zlib" ,zlib)))
|
||||||
|
(home-page "https://www.openexr.com/")
|
||||||
|
(synopsis "High-dynamic-range file format library")
|
||||||
|
(description
|
||||||
|
"OpenEXR provides the specification and reference implementation of the
|
||||||
|
EXR file format. The purpose of EXR format is to accurately and efficiently
|
||||||
|
represent high-dynamic-range scene-linear image data and associated metadata,
|
||||||
|
with strong support for multi-part, multi-channel use cases.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public openexr-2
|
(define-public openexr-2
|
||||||
(package
|
(package
|
||||||
(name "openexr")
|
(name "openexr")
|
||||||
|
@ -1152,13 +1187,10 @@ graphics.")
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ilmbase" ,ilmbase) ;used in public headers
|
`(("ilmbase" ,ilmbase) ;used in public headers
|
||||||
("zlib" ,zlib))) ;OpenEXR.pc reads "-lz"
|
("zlib" ,zlib))) ;OpenEXR.pc reads "-lz"
|
||||||
(home-page "https://www.openexr.com/")
|
(home-page (package-home-page openexr))
|
||||||
(synopsis "High-dynamic range file format library")
|
(synopsis (package-synopsis openexr))
|
||||||
(description
|
(description (package-description openexr))
|
||||||
"OpenEXR is a high dynamic-range (HDR) image file format developed for
|
(license (package-license openexr))))
|
||||||
use in computer imaging applications. The IlmImf C++ libraries support
|
|
||||||
storage of the \"EXR\" file format for storing 16-bit floating-point images.")
|
|
||||||
(license license:bsd-3)))
|
|
||||||
|
|
||||||
(define-public openimageio
|
(define-public openimageio
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue