[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add OpenEXR 3.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add OpenEXR 3. |
Date: |
Sat, 23 Oct 2021 16:26:30 -0400 |
This is an automated email from the git hooks/post-receive script.
lfam pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new c52ba63 gnu: Add OpenEXR 3.
c52ba63 is described below
commit c52ba63c673f90be1d3b52be0051961ed2a9181a
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sat Oct 23 12:18:01 2021 +0000
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>
---
gnu/packages/graphics.scm | 46 +++++++++++++++++++++++++++++++++++++++-------
1 file changed, 39 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index eda8744..16d1ad2 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1105,6 +1105,41 @@ graphics.")
(home-page "https://www.ogre3d.org/")
(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
(package
(name "openexr")
@@ -1152,13 +1187,10 @@ graphics.")
(propagated-inputs
`(("ilmbase" ,ilmbase) ;used in public headers
("zlib" ,zlib))) ;OpenEXR.pc reads "-lz"
- (home-page "https://www.openexr.com/")
- (synopsis "High-dynamic range file format library")
- (description
- "OpenEXR is a high dynamic-range (HDR) image file format developed for
-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)))
+ (home-page (package-home-page openexr))
+ (synopsis (package-synopsis openexr))
+ (description (package-description openexr))
+ (license (package-license openexr))))
(define-public openimageio
(package
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add OpenEXR 3.,
guix-commits <=