me
/
guix
Archived
1
0
Fork 0

gnu: lsp-dsp-lib: Use G-expressions.

* gnu/packages/audio.scm (lsp-dsp-lib)[arguments]:
Rewrite as G-expressions.
Tobias Geerinckx-Rice 2022-01-10 00:12:12 +01:00
parent 1e36a6ad5d
commit c7fc5086f9
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 16 additions and 15 deletions

View File

@ -8,7 +8,7 @@
;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com> ;;; Copyright © 2016, 2017 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2016 Nikita <nikita@n0.is> ;;; Copyright © 2016 Nikita <nikita@n0.is>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org> ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 20162021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 20162022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2020 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2018, 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018 okapi <okapi@firemail.cc> ;;; Copyright © 2018 okapi <okapi@firemail.cc>
;;; Copyright © 2018, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2018, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@ -136,6 +136,7 @@
#:use-module (guix build-system waf) #:use-module (guix build-system waf)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix utils) #:use-module (guix utils)
@ -5130,20 +5131,20 @@ edited, converted, compressed and saved.")
(base32 "1gcznkyybywbgdi2fhx27i8sckhy6ahvxax72b213g1lr5aaw7bq")))) (base32 "1gcznkyybywbgdi2fhx27i8sckhy6ahvxax72b213g1lr5aaw7bq"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; no tests (list #:tests? #f ; no tests
#:make-flags #:make-flags
(list (string-append "CC=" ,(cc-for-target))) #~(list (string-append "CC=" #$(cc-for-target)))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'omit-static-library (add-after 'unpack 'omit-static-library
(lambda _ (lambda _
(substitute* "src/Makefile" (substitute* "src/Makefile"
((".*cp \\$\\(ARTIFACT_SLIB\\).*") "") ; don't install it ((".*cp \\$\\(ARTIFACT_SLIB\\).*") "") ; don't install it
((" \\$\\(ARTIFACT_SLIB\\)") "")))) ; don't build it ((" \\$\\(ARTIFACT_SLIB\\)") "")))) ; don't build it
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda _
(invoke "make" "config" (invoke "make" "config"
(string-append "PREFIX=" (assoc-ref outputs "out")))))))) (string-append "PREFIX=" #$output)))))))
(home-page "https://github.com/sadko4u/lsp-dsp-lib") (home-page "https://github.com/sadko4u/lsp-dsp-lib")
(synopsis "Digital signal processing library") (synopsis "Digital signal processing library")
(description "The LSP DSP library provides a set of functions that perform (description "The LSP DSP library provides a set of functions that perform