gnu: audacity: Remove gratuitous wrapper script.

Audacity installs a wrapper in the installation root.  This wrapper is
pointless, as Guix has its own wrapper script in the right location.
For more information, see <https://bugs.gnu.org/53790>.

* gnu/packages/audio.scm (audacity)[#:phases]: Add ‘delete-gratuitous-script’.
This commit is contained in:
Liliana Marie Prikler 2022-08-18 20:38:54 +02:00
parent b8f2eb286e
commit 7783a18b7b
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -875,6 +875,10 @@ (define-public audacity
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* '("libraries/lib-files/FileNames.cpp") (substitute* '("libraries/lib-files/FileNames.cpp")
(("\"/usr/include/linux/magic.h\"") "<linux/magic.h>")))) (("\"/usr/include/linux/magic.h\"") "<linux/magic.h>"))))
(add-after 'install 'delete-gratuitous-script
(lambda* (#:key outputs #:allow-other-keys)
(delete-file (string-append (assoc-ref outputs "out")
"/audacity"))))
(add-after 'wrap-program 'glib-or-gtk-wrap (add-after 'wrap-program 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))) (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))
;; The test suite is not "well exercised" according to the developers, ;; The test suite is not "well exercised" according to the developers,