summary refs log tree commit diff
path: root/gnu/packages/audio.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-12-18 01:00:00 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2022-12-18 01:00:00 +0100
commit04665f267398307f7d682335a46fbf7222345276 (patch)
tree51b322715a0b2274dbfc211b08c554c8e20459e7 /gnu/packages/audio.scm
parent2f2a9aca4b4e5199b1196bbee0ba81237d09f4be (diff)
downloadguix-04665f267398307f7d682335a46fbf7222345276.tar.gz
gnu: audacity: Be less alpha.
* gnu/packages/audio.scm (audacity)[arguments]: Set AUDACITY_BUILD_LEVEL
in the #:configure-flags.
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r--gnu/packages/audio.scm15
1 files changed, 5 insertions, 10 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index b1d3007b8c..fdbb6f4ac9 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -856,15 +856,6 @@ engineers, musicians, soundtrack editors and composers.")
     (version "3.2.1")
     (source
      (origin
-       ;; 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".
-       ;; XXX: For 3.2.1 we rebelliously use a git tag anyway because the only
-       ;; "processed" download is a .zip containing a .tar.gz which does not
-       ;; fare well with the patch and snippet machinery:
-       ;;   https://github.com/audacity/audacity/issues/3811
-       ;; TODO: Find a way to control the "alpha" status even when using git
-       ;; so we're not reliant on preprocessed source code.
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/audacity/audacity")
@@ -940,7 +931,11 @@ engineers, musicians, soundtrack editors and composers.")
         ;; TODO: enable this flag once we've packaged all dependencies
         ;; "-Daudacity_obey_system_dependencies=on"
         ;; disable crash reports, updates, ..., anything that phones home
-        "-Daudacity_has_networking=off")
+        "-Daudacity_has_networking=off"
+        ;; When building from Git — even from a release tag — this is undefined,
+        ;; and Audacity assumes that is is an ‘alpha’ version and includes debug
+        ;; symbols and extra code.  Force level 2, ‘release’.
+        "-DAUDACITY_BUILD_LEVEL=2")
        #:imported-modules ((guix build glib-or-gtk-build-system)
                            ,@%cmake-build-system-modules)
        #:modules