diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-09-08 02:35:40 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-09-08 23:56:33 +0200 |
commit | a2931b14d3aadad0f1c5f4e881f6c9ed900dbf11 (patch) | |
tree | 3442101e0545ad8b774db7063a418c7e43530ed7 /gnu | |
parent | 30696ea2b27747e047589527572ef39e60555047 (diff) |
gnu: bs1770gain: Update to 0.6.0.
* gnu/packages/audio.scm (bs1770gain): Update to 0.6.0.
[source]: Adjust snippet.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/audio.scm | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index d3fd8c8245..df0e5a2868 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -3203,24 +3203,27 @@ with support for HD extensions.") (define-public bs1770gain (package (name "bs1770gain") - (version "0.5.2") + (version "0.6.0") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/bs1770gain/bs1770gain/" version "/bs1770gain-" version ".tar.gz")) (sha256 - (base32 - "1p6yz5q7czyf9ard65sp4kawdlkg40cfscr3b24znymmhs3p7rbk")) + (base32 "0nnqixvw3x7i22nsr54n4bgm35z9nh3d9qj5s75cfd3ajjsjndyh")) (modules '((guix build utils))) (snippet '(begin ;; XXX - (substitute* "bs1770gain/bs1770gain.c" - (("\"N.*\"") "\"\"")) - (substitute* "configure" - (("URL=.*$") - "https://manpages.debian.org/sid/bs1770gain/bs1770gain.1.en.html\n")))))) + (substitute* "libbg/bgx.c" + (("#define BS.* ") "#define BS ") + (("BS.*NO?.*N.*S.*E.*N.*SE?") "NO") + (("\"( #|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) (inputs `(("ffmpeg" ,ffmpeg) ("sox" ,sox))) |