gnu: noisetorch: Update to 0.7.2-beta.
authorMichael Rohleder <mike@rohleder.de>
Wed, 2 Sep 2020 17:33:18 +0000 (19:33 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Thu, 3 Sep 2020 05:46:59 +0000 (07:46 +0200)
* gnu/packages/pulseaudio.scm (noisetorch): Update to 0.7.2-beta.
[arguments]: Add phase 'disable-update-check.go.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
gnu/packages/pulseaudio.scm

index 3757859..9522d02 100644 (file)
@@ -538,7 +538,7 @@ The plugin is made to work with 1 or 2 channels (ladspa plugin),
 (define-public noisetorch
   (package
     (name "noisetorch")
-    (version "0.6.1-beta")
+    (version "0.7.2-beta")
     (source
      (origin
        (method git-fetch)
@@ -547,7 +547,7 @@ The plugin is made to work with 1 or 2 channels (ladspa plugin),
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1jmh7204mhlabdn0azfjrm3kb944j24n0w0cwibqrs9lfgdn8k52"))))
+        (base32 "06xlqjma8h7lcnqgc9226blps6m9dp487hk71lslfxj0jkay548k"))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/lawl/NoiseTorch"
@@ -572,6 +572,12 @@ The plugin is made to work with 1 or 2 channels (ladspa plugin),
                  (lambda ()
                    (format #t "package main~%~%var version=~s~&" ,version))))
              #t))
+         (add-after 'unpack 'disable-update-check.go
+           (lambda _
+             (with-directory-excursion "src/github.com/lawl/NoiseTorch"
+               (substitute* "main.go"
+                 ((".*updateCheck.*") "")))
+             #t))
          (add-before 'build 'go-generate
            (lambda _
              (with-directory-excursion "src/github.com/lawl/NoiseTorch"