Subject: [bug#58053] [PATCH 1/1] gnu: Add emacs-cpreproc-openvdb.

From: Fredrik Salomonsson <[email-masked]>
Date: Sun, 25 Sep 2022 00:07:56 +0000

* gnu/packages/emacs-xyz.scm (emacs-cpreproc-openvdb): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0e3e0be3b8..bef9542f80 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23542,6 +23542,32 @@ (define-public emacs-cpreproc
 versions of third party libraries or @code{C++} standards.")
    (license license:gpl3+)))
 
+(define-public emacs-cpreproc-openvdb
+  (package
+   (name "emacs-cpreproc-openvdb")
+   (version "3.0.0")
+   (source
+    (origin
+     (method git-fetch)
+     (uri (git-reference
+           (url "https://git.sr.ht/~plattfot/cpreproc-openvdb")
+           (commit version)))
+     (sha256
+      (base32
+       "0n1y8cxx6xipvip8y6nk9ig1dpjdksz77956wlql3lhqcrcn5hzg"))
+     (file-name (git-file-name name version))))
+   (build-system emacs-build-system)
+   (propagated-inputs
+    (list
+     emacs-cpreproc))
+   (home-page "https://sr.ht/~plattfot/cpreproc")
+   (synopsis "Create preprocessor macros for @code{C++} that uses @code{openvdb}.")
+   (description
+    "Aim for this project is to make it easier to generate preprocessor
+macros from Emacs for @code{C++} code that uses @code{openvdb} and
+needs to be build against multiple incompatible versions of it.")
+   (license license:gpl3+)))
+
 (define-public emacs-org-brain
   (package
     (name "emacs-org-brain")
-- 
2.37.3