[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: libopenmpt: Remove 5.1-MiB static library.
From: |
guix-commits |
Subject: |
05/06: gnu: libopenmpt: Remove 5.1-MiB static library. |
Date: |
Tue, 1 Sep 2020 12:52:26 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 2c6b6d7991e978369f577d3021a46c3b973fb850
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Sep 1 18:30:57 2020 +0200
gnu: libopenmpt: Remove 5.1-MiB static library.
* gnu/packages/audio.scm (libopenmpt)[arguments]: Add a
‘delete-static-libraries’ phase.
---
gnu/packages/audio.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index bd9071e..9447156 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -311,7 +311,15 @@ Linux kernel.")
(arguments
`(#:configure-flags
(list (string-append "--docdir=" (assoc-ref %outputs "out")
- "/share/doc/" ,name "-" ,version))))
+ "/share/doc/" ,name "-" ,version))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'delete-static-libraries
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (lib (string-append out "/lib")))
+ (for-each delete-file (find-files lib "\\.a$"))
+ #t))))))
(native-inputs
`(("doxygen" ,doxygen)
("perl" ,perl)
- branch master updated (f5ca844 -> ce04a92), guix-commits, 2020/09/01
- 01/06: gnu: Add opensmtpd-filter-dkimsign., guix-commits, 2020/09/01
- 06/06: gnu: kakoune: Update to 2020.09.01., guix-commits, 2020/09/01
- 04/06: gnu: libopenmpt: Remove duplicate LICENSE file., guix-commits, 2020/09/01
- 05/06: gnu: libopenmpt: Remove 5.1-MiB static library.,
guix-commits <=
- 03/06: gnu: libopenmpt: Update to 0.5.2., guix-commits, 2020/09/01
- 02/06: gnu: Add dovecot-pigeonhole., guix-commits, 2020/09/01