guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: Add sfarklib.


From: Ricardo Wurmus
Subject: 01/02: gnu: Add sfarklib.
Date: Sun, 28 Jun 2015 17:40:09 +0000

rekado pushed a commit to branch master
in repository guix.

commit 646898b35813070b9c5298c4140f06eb0fa55ff3
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Jun 23 21:25:19 2015 +0200

    gnu: Add sfarklib.
    
    * gnu/packages/compression.scm (sfarklib): New variable.
---
 gnu/packages/compression.scm |   38 +++++++++++++++++++++++++++++++++++++-
 1 files changed, 37 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 5250a63..fcd3df7 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <address@hidden>
 ;;; Copyright © 2015 Eric Bavier <address@hidden>
+;;; Copyright © 2015 Ricardo Wurmus <address@hidden>
 ;;;
 ;;; 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]