~ruther/guix-local

f9e772d692bf949fdaedf56b304302eb146ec1b1 — Maxim Cournoyer 2 years ago 3bb8f63
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
1 files changed, 18 insertions(+), 18 deletions(-)

M gnu/packages/telephony.scm
M gnu/packages/telephony.scm => gnu/packages/telephony.scm +18 -18
@@ 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