diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2015-06-23 21:25:19 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2015-06-28 19:39:48 +0200 |
| commit | 646898b35813070b9c5298c4140f06eb0fa55ff3 (patch) | |
| tree | fd4d85a9fcded0d4d1ef982bdf83a127a3cbd362 /gnu | |
| parent | fcbeb00b70a316cb5813050608aa1bfdeeefa32e (diff) | |
gnu: Add sfarklib.
* gnu/packages/compression.scm (sfarklib): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | 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 5250a63635c..fcd3df75064 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org> | 4 | ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org> |
| 5 | ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 5 | ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> |
| 6 | ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> | 6 | ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> |
| 7 | ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> | ||
| 7 | ;;; | 8 | ;;; |
| 8 | ;;; This file is part of GNU Guix. | 9 | ;;; This file is part of GNU Guix. |
| 9 | ;;; | 10 | ;;; |
| @@ -24,10 +25,12 @@ | |||
| 24 | #:use-module ((guix licenses) #:prefix license:) | 25 | #:use-module ((guix licenses) #:prefix license:) |
| 25 | #:use-module (guix packages) | 26 | #:use-module (guix packages) |
| 26 | #:use-module (guix download) | 27 | #:use-module (guix download) |
| 28 | #:use-module (guix git-download) | ||
| 27 | #:use-module (guix build-system gnu) | 29 | #:use-module (guix build-system gnu) |
| 28 | #:use-module (guix build-system perl) | 30 | #:use-module (guix build-system perl) |
| 29 | #:use-module (gnu packages base) | 31 | #:use-module (gnu packages base) |
| 30 | #:use-module (gnu packages perl)) | 32 | #:use-module (gnu packages perl) |
| 33 | #:use-module ((srfi srfi-1) #:select (last))) | ||
| 31 | 34 | ||
| 32 | (define-public zlib | 35 | (define-public zlib |
| 33 | (package | 36 | (package |
| @@ -349,6 +352,39 @@ processed by a Bourne-type shell to unpack the original collection of files. | |||
| 349 | This package is mostly for compatibility and historical interest.") | 352 | This package is mostly for compatibility and historical interest.") |
| 350 | (license license:gpl3+))) | 353 | (license license:gpl3+))) |
| 351 | 354 | ||
| 355 | (define-public sfarklib | ||
| 356 | (package | ||
| 357 | (name "sfarklib") | ||
| 358 | (version "2.23.5ca96b779") | ||
| 359 | (source (origin | ||
| 360 | ;; The 2.23 tarball does not include the Makefile, but only | ||
| 361 | ;; Makefile.am. | ||
| 362 | (method git-fetch) | ||
| 363 | (uri (git-reference | ||
| 364 | (url "https://github.com/raboof/sfArkLib.git") | ||
| 365 | (commit (last (string-split version #\.))))) | ||
| 366 | (sha256 | ||
| 367 | (base32 | ||
| 368 | "1hk1x88dl5b9jq016r6rx5wyszxknyv0sa7gmil4m4alnhwl4h7h")))) | ||
| 369 | (build-system gnu-build-system) | ||
| 370 | (arguments | ||
| 371 | `(#:tests? #f ;no "check" target | ||
| 372 | #:phases | ||
| 373 | (modify-phases %standard-phases | ||
| 374 | (replace 'configure | ||
| 375 | (lambda* (#:key outputs #:allow-other-keys) | ||
| 376 | (substitute* "Makefile" | ||
| 377 | (("/usr/local") (assoc-ref outputs "out"))) | ||
| 378 | #t))))) | ||
| 379 | (inputs | ||
| 380 | `(("zlib" ,zlib))) | ||
| 381 | (home-page "https://github.com/raboof/sfArkLib") | ||
| 382 | (synopsis "Library for SoundFont decompression") | ||
| 383 | (description | ||
| 384 | "SfArkLib is a C++ library for decompressing SoundFont files compressed | ||
| 385 | with the sfArk algorithm.") | ||
| 386 | (license license:gpl3+))) | ||
| 387 | |||
| 352 | (define-public libmspack | 388 | (define-public libmspack |
| 353 | (package | 389 | (package |
| 354 | (name "libmspack") | 390 | (name "libmspack") |
