mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: libsrtp: Update to 2.6.0.
* gnu/packages/telephony.scm (libsrtp): Update to 2.6.0. [phases]: Use gexps. Remove trailing #t. Change-Id: Ie059562f8744e62e6592193c562625fa393420ea
This commit is contained in:
parent
3bb8f63e20
commit
f9e772d692
1 changed files with 18 additions and 18 deletions
|
@ -452,34 +452,34 @@ internet.")
|
|||
(define-public libsrtp
|
||||
(package
|
||||
(name "libsrtp")
|
||||
(version "2.4.2")
|
||||
(version "2.6.0")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/cisco/libsrtp")
|
||||
(commit (string-append "v" version))))
|
||||
(url "https://github.com/cisco/libsrtp")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1gswpjm4jacfxmgglbf8hxi3yzsag4drk4q943p0wkmv21zj8l78"))))
|
||||
"1vjdkss076ihbshc83v11c6qxq8mfqi4c26rl1a96kqa9dpgjqmx"))))
|
||||
(native-inputs
|
||||
(list psmisc ;some tests require 'killall'
|
||||
(list psmisc ;some tests require 'killall'
|
||||
procps))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#: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)))))
|
||||
(list
|
||||
#: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)))
|
||||
(add-after 'install 'remove-static-library
|
||||
(lambda _
|
||||
(delete-file (string-append #$output
|
||||
"/lib/libsrtp2.a")))))))
|
||||
(synopsis "Secure RTP (SRTP) Reference Implementation")
|
||||
(description
|
||||
"This package provides an implementation of the Secure Real-time Transport
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue