gnu: bs1770gain: Update to 0.6.0.

* gnu/packages/audio.scm (bs1770gain): Update to 0.6.0.
[source]: Adjust snippet.
This commit is contained in:
Tobias Geerinckx-Rice 2019-09-08 02:35:40 +02:00
parent 30696ea2b2
commit a2931b14d3
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 11 additions and 8 deletions

View File

@ -3203,24 +3203,27 @@ with support for HD extensions.")
(define-public bs1770gain (define-public bs1770gain
(package (package
(name "bs1770gain") (name "bs1770gain")
(version "0.5.2") (version "0.6.0")
(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 (base32 "0nnqixvw3x7i22nsr54n4bgm35z9nh3d9qj5s75cfd3ajjsjndyh"))
"1p6yz5q7czyf9ard65sp4kawdlkg40cfscr3b24znymmhs3p7rbk"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
;; XXX ;; XXX
(substitute* "bs1770gain/bs1770gain.c" (substitute* "libbg/bgx.c"
(("\"N.*\"") "\"\"")) (("#define BS.* ") "#define BS ")
(substitute* "configure" (("BS.*NO?.*N.*S.*E.*N.*SE?") "NO")
(("URL=.*$") (("\"( #|N).*\"") "\"\""))
"https://manpages.debian.org/sid/bs1770gain/bs1770gain.1.en.html\n")))))) (substitute* (list "config.h"
"configure.ac"
"configure")
(("https?://bs1770gain[^/]*/")
"https://manpages.debian.org/sid/bs1770gain/bs1770gain.1.en.html"))))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("ffmpeg" ,ffmpeg) (inputs `(("ffmpeg" ,ffmpeg)
("sox" ,sox))) ("sox" ,sox)))