gnu: Provide single-precision fftw library for pulseaudio
* gnu/packages/algebra.scm (fftwf): New variable * gnu/packages/pulseaudio.scm (pulseaudio): Use it
This commit is contained in:
parent
6212b8e5d3
commit
7569c5cb35
|
@ -27,7 +27,8 @@
|
||||||
#:use-module (guix licenses)
|
#:use-module (guix licenses)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix build-system gnu))
|
#:use-module (guix build-system gnu)
|
||||||
|
#:use-module (guix utils))
|
||||||
|
|
||||||
|
|
||||||
(define-public mpfrcx
|
(define-public mpfrcx
|
||||||
|
@ -231,3 +232,14 @@ transform (DFT) in one or more dimensions, of arbitrary input size, and of
|
||||||
both real and complex data (as well as of even/odd data---i.e. the discrete
|
both real and complex data (as well as of even/odd data---i.e. the discrete
|
||||||
cosine/ sine transforms or DCT/DST).")
|
cosine/ sine transforms or DCT/DST).")
|
||||||
(license gpl2+)))
|
(license gpl2+)))
|
||||||
|
|
||||||
|
(define-public fftwf
|
||||||
|
(package (inherit fftw)
|
||||||
|
(name "fftwf")
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments fftw)
|
||||||
|
((#:configure-flags cf)
|
||||||
|
`(cons "--enable-float" ,cf))))
|
||||||
|
(description
|
||||||
|
(string-append (package-description fftw)
|
||||||
|
" Single-precision version."))))
|
||||||
|
|
|
@ -168,7 +168,7 @@ parse JSON formatted strings back into the C representation of JSON objects.")
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("m4" ,m4)
|
("m4" ,m4)
|
||||||
("libtool" ,libtool)
|
("libtool" ,libtool)
|
||||||
("fftw" ,fftw)
|
("fftwf" ,fftwf)
|
||||||
("avahi" ,avahi)
|
("avahi" ,avahi)
|
||||||
("check" ,check)))
|
("check" ,check)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Reference in New Issue