unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 51350@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#51350] [PATCH 1/3] gnu: Add imath.
Date: Sat, 23 Oct 2021 12:17:59 +0000	[thread overview]
Message-ID: <20211023121801.5889-1-monego@posteo.net> (raw)
In-Reply-To: <20211023121332.5443-1-monego@posteo.net>

* gnu/packages/graphics.scm (imath): New variable.
---
 gnu/packages/graphics.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 9a5e2f2195..404617aa7b 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -26,6 +26,7 @@
 ;;; Copyright © 2021 Antoine Côté <antoine.cote@posteo.net>
 ;;; Copyright © 2021 Andy Tai <atai@atai.org>
 ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -796,6 +797,29 @@ many more.")
     ;; permissive licenses.
     (license license:gpl3+)))
 
+(define-public imath
+  (package
+    (name "imath")
+    (version "3.1.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/AcademySoftwareFoundation/Imath")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1nyld18mf220ghm1vidnfnn0rdns9z5i4l9s66xgd0kfdgarb31f"))))
+    (build-system cmake-build-system)
+    (home-page "https://github.com/AcademySoftwareFoundation/Imath")
+    (synopsis "Library of math operations for computer graphics")
+    (description
+     "Imath is a basic, light-weight, and efficient C++ representation of 2D
+and 3D vectors and matrices and other simple but useful mathematical objects,
+functions, and data types common in computer graphics applications, including
+the @code{half} 16-bit floating-point type.")
+    (license license:bsd-3)))
+
 (define-public ilmbase
   (package
     (name "ilmbase")
-- 
2.30.2





  reply	other threads:[~2021-10-23 12:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-23 12:13 [bug#51350] [PATCH 0/3] Add OpenEXR version 3 Vinicius Monego
2021-10-23 12:17 ` Vinicius Monego [this message]
2021-10-23 12:18   ` [bug#51350] [PATCH 2/3] gnu: Rename openexr to openexr-2 Vinicius Monego
2021-10-23 20:24     ` Leo Famulari
2021-10-23 12:18   ` [bug#51350] [PATCH 3/3] gnu: Add OpenEXR 3 Vinicius Monego
2021-10-23 20:28     ` bug#51350: " Leo Famulari
2021-10-23 20:23   ` [bug#51350] [PATCH 1/3] gnu: Add imath Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211023121801.5889-1-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=51350@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).