gnu: Add soxr.

* gnu/packages/audio.scm (soxr): New variable.
This commit is contained in:
Taylan Ulrich Bayırlı/Kammer 2015-02-20 21:49:03 +01:00
parent 754a98ae42
commit 4bddd14c11
1 changed files with 22 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system waf) #:use-module (guix build-system waf)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (guix build-system cmake)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages algebra) #:use-module (gnu packages algebra)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
@ -819,3 +820,24 @@ and playback rates of audio streams or audio files. It is intended for
application developers writing sound processing tools that require tempo/pitch application developers writing sound processing tools that require tempo/pitch
control functionality, or just for playing around with the sound effects.") control functionality, or just for playing around with the sound effects.")
(license license:lgpl2.1+))) (license license:lgpl2.1+)))
(define-public soxr
(package
(name "soxr")
(version "0.1.1")
(source
(origin
(method url-fetch)
(uri
(string-append "mirror://sourceforge/soxr/soxr-" version
"-Source.tar.xz"))
(sha256
(base32 "1hmadwqfpg15vhwq9pa1sl5xslibrjpk6hpq2s9hfmx1s5l6ihfw"))))
(build-system cmake-build-system)
(arguments '(#:tests? #f)) ;no 'check' target
(home-page "http://sourceforge.net/p/soxr/wiki/Home/")
(synopsis "One-dimensional sample-rate conversion library")
(description
"The SoX Resampler library (libsoxr) performs one-dimensional sample-rate
conversion. It may be used, for example, to resample PCM-encoded audio.")
(license license:lgpl2.1+)))