Subject: [bug#48952] [PATCH v2 6/6] gnu: Add lorien.

From: Vinicius Monego <[email-masked]>
Date: Tue, 21 Dec 2021 23:55:48 +0000

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

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 3f83c72599..7c06cd20d8 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -109,6 +109,7 @@
   #:use-module (guix build-system copy)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system godot)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt)
@@ -606,6 +607,35 @@ NOTE: This older version of Blender is the last release that does not require
 OpenGL 3.  It is retained for use with older computers.")
     (license license:gpl2+)))
 
+(define-public lorien
+  (package
+    (name "lorien")
+    (version "0.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mbrlabs/Lorien")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0z185j87qhwhfyahkqywmdazabyf21nb3ywaba0g1dwjrylk72jj"))))
+    (build-system godot-build-system)
+    (arguments
+     `(#:game ,name
+       #:project-directory "lorien"))
+    (home-page "https://github.com/mbrlabs/Lorien")
+    (synopsis "Infinite canvas drawing/whiteboarding")
+    (description "Lorien is an infinite canvas drawing/note-taking app that is
+focused on performance, small savefiles and simplicity.  It's not based on
+bitmap images like Krita, Gimp or Photoshop; it rather saves brush strokes as
+a collection of points and renders them at runtime.  It's primarily designed
+to be used as a digital notebook and as brainstorming tool.  While it can
+totally be used to make small sketches and diagrams, it is not meant to
+replace traditional art programs that operate on bitmap images.  It is
+entirely written in the Godot Game Engine")
+    (license license:expat)))
+
 (define-public goxel
   (package
     (name "goxel")
-- 
2.30.2