gnu: ortp: Update to 4.4.34.
* gnu/packages/linphone.scm (ortp)[source]: Switch to git repository. [version]: Update to 4.4.34. [outputs]{doc, tester}: New outputs. [configure-flag]: Enable tests. [phases]{fix-version-strings, separate-outputs}: New phases. [home-page]: Update. [license]: Upgrade to GPLv3+. Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
ebc75b6ae8
commit
2dda883dee
1 changed files with 35 additions and 11 deletions
|
@ -397,20 +397,44 @@ such as conferencing.")
|
||||||
(define-public ortp
|
(define-public ortp
|
||||||
(package
|
(package
|
||||||
(name "ortp")
|
(name "ortp")
|
||||||
(version "1.0.2")
|
(version "4.4.34")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri
|
(uri (git-reference
|
||||||
(string-append "https://www.linphone.org/releases/sources/" name
|
(url "https://gitlab.linphone.org/BC/public/ortp.git")
|
||||||
"/" name "-" version ".tar.gz"))
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "016qg0lmdgmqh2kv19w9qhi4kkiyi5h1xp35g2s65b1j8ccm25d5"))))
|
(base32 "1r1kvjzyfvkf66in4p51wi87balzg3sw3aq6r4xr609mz86spi5m"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
|
(outputs '("out""tester"
|
||||||
|
"doc")) ;1.5 MiB of HTML doc
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; No test target
|
`(#:tests? #f ;requires networking
|
||||||
#:configure-flags
|
#:configure-flags (list "-DENABLE_STATIC=NO"
|
||||||
(list "-DENABLE_STATIC=NO"))) ; Not required
|
"-DENABLE_TESTS=YES")
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-version-strings
|
||||||
|
(lambda _
|
||||||
|
(substitute* "CMakeLists.txt"
|
||||||
|
(("VERSION 4.4.0")
|
||||||
|
(string-append "VERSION " ,version))
|
||||||
|
(("\\$\\{ORTP_DOC_VERSION\\}")
|
||||||
|
,version))))
|
||||||
|
(add-after 'install 'separate-outputs
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(doc (assoc-ref outputs "doc"))
|
||||||
|
(doc-src (string-append out "/share/doc/ortp-" ,version))
|
||||||
|
(doc-dest (string-append doc "/share/doc/ortp-" ,version))
|
||||||
|
(tester (assoc-ref outputs "tester")))
|
||||||
|
(for-each mkdir-p (list (string-append doc "/share/doc")
|
||||||
|
(string-append tester "/bin")))
|
||||||
|
(rename-file doc-src doc-dest)
|
||||||
|
(rename-file (string-append out "/bin")
|
||||||
|
(string-append tester "/bin"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("dot" ,graphviz)
|
`(("dot" ,graphviz)
|
||||||
("doxygen" ,doxygen)))
|
("doxygen" ,doxygen)))
|
||||||
|
@ -419,8 +443,8 @@ such as conferencing.")
|
||||||
(synopsis "Belledonne Communications RTP Library")
|
(synopsis "Belledonne Communications RTP Library")
|
||||||
(description "oRTP is a C library implementing the RTP protocol. It
|
(description "oRTP is a C library implementing the RTP protocol. It
|
||||||
implements the RFC 3550 standard.")
|
implements the RFC 3550 standard.")
|
||||||
(home-page "https://gitlab.linphone.org/BC/public/ortp")
|
(home-page "https://linphone.org/technical-corner/ortp")
|
||||||
(license license:gpl2+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public bzrtp
|
(define-public bzrtp
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue