summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-12-01 15:57:07 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-12-01 16:01:46 +0100
commit39c746f08148d5f7e84d00c8cda98ad310baa4ca (patch)
tree601b19865d5ec99f243751cd456fa12ae3e5c2f0
parent5b0289870a76e18a42a236053183d57258a48826 (diff)
downloadguix-39c746f08148d5f7e84d00c8cda98ad310baa4ca.tar.gz
gnu: bs1770gain: Update to 0.6.5.
* gnu/packages/audio.scm (bs1770gain): Update to 0.6.5.
[source]: Adjust snippet for upstream BS gain.
-rw-r--r--gnu/packages/audio.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index a84bba58ff..890f21fe0c 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3195,21 +3195,23 @@ with support for HD extensions.")
 (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"