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