summary refs log tree commit diff
path: root/gnu/packages/compression.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-06-23 21:25:57 +0200
committerRicardo Wurmus <rekado@elephly.net>2015-06-28 19:39:48 +0200
commitb5ad1659badf229527d68040222412f712184a9c (patch)
tree047a7429150a830f6c5e4f25570cebb981beeb8a /gnu/packages/compression.scm
parent646898b35813070b9c5298c4140f06eb0fa55ff3 (diff)
downloadguix-b5ad1659badf229527d68040222412f712184a9c.tar.gz
gnu: Add sfarkxtc.
* gnu/packages/compression.scm (sfarkxtc): New variable.
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r--gnu/packages/compression.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index fcd3df7506..84bc92929f 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -385,6 +385,39 @@ This package is mostly for compatibility and historical interest.")
 with the sfArk algorithm.")
     (license license:gpl3+)))
 
+(define-public sfarkxtc
+  (package
+    (name "sfarkxtc")
+    (version "b5e0a2ba39")
+    (source (origin
+              ;; There are no release tarballs, so we just fetch the latest
+              ;; commit at this time.
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/raboof/sfarkxtc.git")
+                    (commit version)))
+              (sha256
+               (base32
+                "0f5x6i46qfl6ry21s7g2p4sd4b2r1g4fb03yqi2vv4kq3saryhvj"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ;no "check" target
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+                  (lambda* (#:key outputs #:allow-other-keys)
+                    (substitute* "Makefile"
+                      (("/usr/local") (assoc-ref outputs "out")))
+                    #t)))))
+    (inputs
+     `(("zlib" ,zlib)
+       ("sfarklib" ,sfarklib)))
+    (home-page "https://github.com/raboof/sfarkxtc")
+    (synopsis "Basic sfArk decompressor")
+    (description "SfArk extractor converts SoundFonts in the compressed legacy
+sfArk file format to the uncompressed sf2 format.")
+    (license license:gpl3+)))
+
 (define-public libmspack
   (package
     (name "libmspack")