summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2022-01-27 22:31:44 -0500
committerLeo Famulari <leo@famulari.name>2022-01-27 22:46:27 -0500
commite5dc38d30d42eebc8c15005ed4dee0970205570f (patch)
tree8e59c71921e394e5d5fda8ead7880a66473fb4bf
parentbeda1cd7945cc151582cdb0270d795eb89b51225 (diff)
downloadguix-e5dc38d30d42eebc8c15005ed4dee0970205570f.tar.gz
gnu: Audacity: Build from the release tarball.
* gnu/packages/audio.scm (audacity)[source]: Use url-fetch.
-rw-r--r--gnu/packages/audio.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index b882e2e21b..feccf662b0 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -728,14 +728,16 @@ engineers, musicians, soundtrack editors and composers.")
     (version "3.1.3")
     (source
      (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/audacity/audacity")
-             (commit (string-append "Audacity-" version))))
-       (file-name (git-file-name name version))
+       ;; If built from the release tag, Audacity will describe itself
+       ;; as an "Alpha test version" and suggest to users that they use
+       ;; the "latest stable released version".
+       (method url-fetch)
+       (uri (string-append "https://github.com/audacity/audacity/releases/download/"
+                           "Audacity-" version "/audacity-" version
+                           "-source.tar.gz"))
        (sha256
         (base32
-         "1689q9apbjf9nnda62shb8j7hm4hxd47mhk4l5h3c728mjjkilmi"))
+         "189agx11361k9j958s6q5bngnnfx0rwaf0dwbjxy6fwvsb1wv3px"))
        (modules '((guix build utils)))
        (snippet
         ;; Remove bundled libraries.