Subject: [bug#52942] [PATCH 2/2] gnu: Add odio-sacd.

From: Arjan Adriaanse <[email-masked]>
Date: Sun, 2 Jan 2022 02:36:45 +0100

* gnu/packages/audio.scm (odio-sacd): New variable.
---
 gnu/packages/audio.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 309d0024e6..ffe737c940 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -5594,3 +5594,28 @@ (define-public libodiosacd
 both DST and DSD streams.")
    (home-page "https://tari.in/www/software/libodiosacd/")
    (license license:gpl3)))
+
+(define-public odio-sacd
+  (package
+   (name "odio-sacd")
+   (version "21.1.9")
+   (source (origin
+             (inherit (package-source libodiosacd)) ; needs same snippet
+             (uri (git-reference
+                   (url "https://github.com/tari01/odio-sacd")
+                   (commit version)))
+             (file-name (git-file-name name version))
+             (sha256
+              (base32
+               "0314srqk0r4qv292qiaply619l2fw04nkdwvqhj3q1dqzv41g4qk"))))
+   (inputs (list libodiosacd))
+   ;; Build system and arguments for libodiosacd are identical.
+   (build-system (package-build-system libodiosacd))
+   (arguments (package-arguments libodiosacd))
+   (synopsis "Odio SACD (application)")
+   (description
+    "Odio SACD is a command-line application which takes a Super Audio CD
+source and extracts a 24-bit high resolution wave file.  It handles both DST
+and DSD streams.")
+   (home-page "https://tari.in/www/software/odio-sacd/")
+   (license license:gpl3)))
-- 
2.34.0