mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: zita-alsa-pcmi: Use new style for arguments.
* gnu/packages/audio.scm(zita-alsa-pcmi)[arguments]: Use G-Expressions. Delete trailing #ts. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
42951e7c86
commit
209c892ebe
1 changed files with 28 additions and 29 deletions
|
@ -4448,8 +4448,7 @@ (define-public zita-alsa-pcmi
|
|||
(version "0.3.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://kokkinizita.linuxaudio.org"
|
||||
(uri (string-append "http://kokkinizita.linuxaudio.org"
|
||||
"/linuxaudio/downloads/zita-alsa-pcmi-"
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
|
@ -4457,31 +4456,31 @@ (define-public zita-alsa-pcmi
|
|||
"12d7vdg74yh21w69qi0wg57iz4876j94qbiq09bvscih6xz9y78s"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no "check" target
|
||||
#:make-flags
|
||||
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||
(list #:tests? #f ;no "check" target
|
||||
#:make-flags #~(list (string-append "PREFIX="
|
||||
(assoc-ref %outputs "out"))
|
||||
(string-append "SUFFIX=")
|
||||
(string-append "CXX=" ,(cxx-for-target)))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(string-append "CXX="
|
||||
#$(cxx-for-target)))
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-makefile-and-enter-directory
|
||||
(lambda _
|
||||
(substitute* "source/Makefile"
|
||||
(("ldconfig") "true")
|
||||
(("^LIBDIR =.*") "LIBDIR = lib\n")
|
||||
(("CXXFLAGS \\+= -march=native") ""))
|
||||
(chdir "source")
|
||||
#t))
|
||||
(("ldconfig")
|
||||
"true")
|
||||
(("^LIBDIR =.*")
|
||||
"LIBDIR = lib\n")
|
||||
(("CXXFLAGS \\+= -march=native")
|
||||
""))
|
||||
(chdir "source")))
|
||||
(add-after 'install 'install-symlink
|
||||
(lambda _
|
||||
(symlink "libzita-alsa-pcmi.so"
|
||||
(string-append (assoc-ref %outputs "out")
|
||||
"/lib/libzita-alsa-pcmi.so.0"))
|
||||
#t))
|
||||
"/lib/libzita-alsa-pcmi.so.0"))))
|
||||
;; no configure script
|
||||
(delete 'configure))))
|
||||
(inputs
|
||||
(list alsa-lib fftw))
|
||||
(inputs (list alsa-lib fftw))
|
||||
(properties `((tunable? . #t)))
|
||||
(home-page "https://kokkinizita.linuxaudio.org")
|
||||
(synopsis "C++ wrapper around the ALSA API")
|
||||
|
|
Loading…
Reference in a new issue