mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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:
parent
5b0289870a
commit
39c746f081
1 changed files with 6 additions and 4 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue