gnu: bs1770gain: Update to 0.6.5.

* gnu/packages/audio.scm (bs1770gain): Update to 0.6.5.
[source]: Adjust snippet for upstream BS gain.
This commit is contained in:
Tobias Geerinckx-Rice 2019-12-01 15:57:07 +01:00
parent 5b0289870a
commit 39c746f081
No known key found for this signature in database
GPG key ID: D889B0F018C5493C

View file

@ -3195,21 +3195,23 @@ (define-public dcadec
(define-public bs1770gain (define-public bs1770gain
(package (package
(name "bs1770gain") (name "bs1770gain")
(version "0.6.0") (version "0.6.5")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://sourceforge/bs1770gain/bs1770gain/" (uri (string-append "mirror://sourceforge/bs1770gain/bs1770gain/"
version "/bs1770gain-" version ".tar.gz")) version "/bs1770gain-" version ".tar.gz"))
(sha256 (sha256
(base32 "0nnqixvw3x7i22nsr54n4bgm35z9nh3d9qj5s75cfd3ajjsjndyh")) (base32 "15nvlh9bg0a52cpg2mii17mlzmxszwivjjalbb4np1v5nj8l5fk6"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
;; XXX ;; XXX
(substitute* (find-files "." "\\.[ch]$")
(("^ \\* N..o.*") ""))
(substitute* "libbg/bgx.c" (substitute* "libbg/bgx.c"
(("#define BS.* ") "#define BS ") (("#define BG.* ") "#define BS ")
(("BS.*NO?.*N.*S.*E.*N.*SE?") "NO") (("BG.*NO?.*N.*S.*E.*N.*SE?") "NO")
(("\"( #|N).*\"") "\"\"")) (("\"( #|N).*\"") "\"\""))
(substitute* (list "config.h" (substitute* (list "config.h"
"configure.ac" "configure.ac"