[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/11: gnu: rtmpdump: Don't install the static library.
From: |
guix-commits |
Subject: |
03/11: gnu: rtmpdump: Don't install the static library. |
Date: |
Mon, 31 Aug 2020 14:35:48 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 55d6b357a937166ba19beb036b87519293e3bc2d
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Aug 31 19:28:33 2020 +0200
gnu: rtmpdump: Don't install the static library.
* gnu/packages/networking.scm (rtmpdump)[arguments]: Add
an ‘omit-static-library’ phase.
---
gnu/packages/networking.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index e80c192a..1340bef 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -280,6 +280,14 @@ GLib-based library, libnice, as well as GStreamer elements
to use it.")
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'omit-static-library
+ (lambda _
+ (substitute* "librtmp/Makefile"
+ (("cp librtmp\\.a .*") ; don't install it
+ "")
+ (("librtmp\\.a ") ; don't build it
+ ""))
+ #t))
(delete 'configure))))
(inputs
`(("openssl" ,openssl-1.0)
- branch master updated (f46379c -> 46eb357), guix-commits, 2020/08/31
- 01/11: gnu: x42-plugins: Update to 20200714., guix-commits, 2020/08/31
- 02/11: gnu: rtmpdump: Update to 2.4., guix-commits, 2020/08/31
- 03/11: gnu: rtmpdump: Don't install the static library.,
guix-commits <=
- 04/11: gnu: ocamlify: Parametrize source URI., guix-commits, 2020/08/31
- 05/11: gnu: ocamlify: Update to 0.0.2., guix-commits, 2020/08/31
- 07/11: gnu: perl-compress-raw-bzip2: Update to 2.096., guix-commits, 2020/08/31
- 08/11: gnu: perl-compress-raw-zlib: Update to 2.096., guix-commits, 2020/08/31
- 10/11: gnu: perl-archive-extract: Update to 0.86., guix-commits, 2020/08/31
- 09/11: gnu: perl-io-compress: Update to 2.096., guix-commits, 2020/08/31
- 06/11: gnu: python-pytools: Update to 2020.4., guix-commits, 2020/08/31
- 11/11: gnu: python-nbval: Update to 0.9.6., guix-commits, 2020/08/31