Subject: [bug#73934] [PATCH 1/2] * gnu/packages/geo.scm (libe57format): New variable.

From: Mattia Bunel <[email-masked]>
Date: Mon, 21 Oct 2024 18:14:15 +0200

Change-Id: I4b1473184ed871a5b6c5a4ea8320082292846c3f
---
 gnu/packages/geo.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 5d120b3c98..f96c9fb8a3 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -3600,3 +3600,32 @@ (define-public laszip
 @code{LAZ} files.  The @code{LAS} format is a file format designed for the
 interchange and archiving of lidar point cloud data.")
     (license license:asl2.0)))
+
+(define-public libe57format
+  (package
+    (name "libe57format")
+    (version "3.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/asmaloney/libE57Format")
+             (commit "v3.2.0")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "00sj0splv4apv3kfjfwgsrizhimav3hxw51q1qz4g2fgncn092a9"))))
+    (inputs (list xerces-c))
+    (native-inputs (list googletest))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      ;; Tests use external data
+      #:configure-flags #~(list "-DE57_BUILD_TEST=NO")
+      #:build-type "Release"
+      #:tests? #f))
+    (home-page "https://github.com/asmaloney/libE57Format")
+    (synopsis "Libray for read and write E57 file format")
+    (description
+     "Library for read and write @code{E57} files.  The @code{E57} format is
+designed for storing point cloud data.")
+    (license (list license:boost1.0 license:expat))))
-- 
2.46.2