summaryrefslogtreecommitdiff
path: root/gnu/packages/compression.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-06-23 21:25:19 +0200
committerRicardo Wurmus <rekado@elephly.net>2015-06-28 19:39:48 +0200
commit646898b35813070b9c5298c4140f06eb0fa55ff3 (patch)
treefd4d85a9fcded0d4d1ef982bdf83a127a3cbd362 /gnu/packages/compression.scm
parentfcbeb00b70a316cb5813050608aa1bfdeeefa32e (diff)
downloadpatches-646898b35813070b9c5298c4140f06eb0fa55ff3.tar
patches-646898b35813070b9c5298c4140f06eb0fa55ff3.tar.gz
gnu: Add sfarklib.
* gnu/packages/compression.scm (sfarklib): New variable.
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r--gnu/packages/compression.scm38
1 files changed, 37 insertions, 1 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 5250a63635..fcd3df7506 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
+;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24,10 +25,12 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
#:use-module (gnu packages base)
- #:use-module (gnu packages perl))
+ #:use-module (gnu packages perl)
+ #:use-module ((srfi srfi-1) #:select (last)))
(define-public zlib
(package
@@ -349,6 +352,39 @@ processed by a Bourne-type shell to unpack the original collection of files.
This package is mostly for compatibility and historical interest.")
(license license:gpl3+)))
+(define-public sfarklib
+ (package
+ (name "sfarklib")
+ (version "2.23.5ca96b779")
+ (source (origin
+ ;; The 2.23 tarball does not include the Makefile, but only
+ ;; Makefile.am.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/raboof/sfArkLib.git")
+ (commit (last (string-split version #\.)))))
+ (sha256
+ (base32
+ "1hk1x88dl5b9jq016r6rx5wyszxknyv0sa7gmil4m4alnhwl4h7h"))))
+ (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)))
+ (home-page "https://github.com/raboof/sfArkLib")
+ (synopsis "Library for SoundFont decompression")
+ (description
+ "SfArkLib is a C++ library for decompressing SoundFont files compressed
+with the sfArk algorithm.")
+ (license license:gpl3+)))
+
(define-public libmspack
(package
(name "libmspack")