gnu: libmad: Add comment justifying the 'install-pkg-config phase.

* gnu/packages/mp3.scm (libmad)[arguments]: Add a comment about Audacity
requiring a pkg-config file for libmad.
This commit is contained in:
Kei Kebreau 2021-01-18 17:52:13 -05:00
parent 559feb6661
commit eb9d366702
No known key found for this signature in database
GPG key ID: E6A5EE3C19467A0D

View file

@ -82,6 +82,10 @@ (define-public libmad
;; remove option that is not supported by gcc any more
(substitute* "configure" ((" -fforce-mem") ""))
#t))
;; Normally one should not add a pkg-config file if one is not provided
;; by upstream developers, but Audacity expects a pkg-config file for
;; this package, and other major GNU/Linux distributions already provide
;; such a file.
(add-after 'install 'install-pkg-config
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))