[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/16: gnu: libsrtp: Build shared library.
From: |
guix-commits |
Subject: |
10/16: gnu: libsrtp: Build shared library. |
Date: |
Mon, 20 Jan 2020 17:00:03 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit d18116d9b5b0cafd4390326b57c487d51804a9e8
Author: Marius Bakke <address@hidden>
AuthorDate: Sun Jan 19 23:44:36 2020 +0100
gnu: libsrtp: Build shared library.
* gnu/packages/telephony.scm (libsrtp)[arguments]: Add #:phases.
---
gnu/packages/telephony.scm | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index b9e3d62..a645c58 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -261,7 +261,19 @@ internet.")
("procps" ,procps)))
(build-system gnu-build-system)
(arguments
- '(#:test-target "runtest"))
+ '(#:test-target "runtest"
+ #:phases (modify-phases %standard-phases
+ (add-after 'build 'build-shared
+ (lambda* (#:key (make-flags '()) #:allow-other-keys)
+ ;; Build the shared library separately because
+ ;; the test runner requires a static build.
+ (apply invoke "make" "shared_library" make-flags)
+ #t))
+ (add-after 'install 'remove-static-library
+ (lambda* (#:key outputs #:allow-other-keys)
+ (delete-file (string-append (assoc-ref outputs "out")
+ "/lib/libsrtp2.a"))
+ #t)))))
(synopsis "Secure RTP (SRTP) Reference Implementation")
(description
"This package provides an implementation of the Secure Real-time Transport
- 02/16: gnu: Add python-anytree., (continued)
- 02/16: gnu: Add python-anytree., guix-commits, 2020/01/20
- 04/16: gnu: snappy: Update to 1.1.8., guix-commits, 2020/01/20
- 07/16: gnu: libvpx: Update to 1.8.2., guix-commits, 2020/01/20
- 05/16: gnu: e2fsprogs: Update to 1.45.5., guix-commits, 2020/01/20
- 06/16: gnu: re2: Update to 2020-01-01., guix-commits, 2020/01/20
- 09/16: gnu: libsrtp: Update to 2.3.0., guix-commits, 2020/01/20
- 14/16: gnu: stepmania: Build with libjpeg-turbo., guix-commits, 2020/01/20
- 08/16: gnu: ffmpeg: Update to 4.2.2., guix-commits, 2020/01/20
- 03/16: gnu: python-parameterized: Update to 0.7.1., guix-commits, 2020/01/20
- 11/16: gnu: xorg-server: Update to 1.20.7., guix-commits, 2020/01/20
- 10/16: gnu: libsrtp: Build shared library.,
guix-commits <=
- 12/16: gnu: mailutils: Update to 3.8., guix-commits, 2020/01/20
- 15/16: gnu: qt@4: Build with libjpeg-turbo., guix-commits, 2020/01/20
- 16/16: gnu: guile-git: Update to 0.3.0., guix-commits, 2020/01/20
- 13/16: gnu: mame: Build with libjpeg-turbo., guix-commits, 2020/01/20