gnu: Add ortp.

* gnu/packages/linphone.scm (ortp): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Raghav Gururajan 2020-04-01 18:54:53 -04:00 committed by Danny Milosavljevic
parent 02d5d72cfc
commit 13f401d366
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -20,6 +20,8 @@
(define-module (gnu packages linphone) (define-module (gnu packages linphone)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages documentation)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages tls) #:use-module (gnu packages tls)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
@ -190,3 +192,32 @@ (define-public bcg729
such as conferencing.") such as conferencing.")
(home-page "https://gitlab.linphone.org/BC/public/belcard") (home-page "https://gitlab.linphone.org/BC/public/belcard")
(license license:gpl2+))) (license license:gpl2+)))
(define-public ortp
(package
(name "ortp")
(version "1.0.2")
(source
(origin
(method url-fetch)
(uri
(string-append "https://www.linphone.org/releases/sources/" name
"/" name "-" version ".tar.gz"))
(sha256
(base32 "016qg0lmdgmqh2kv19w9qhi4kkiyi5h1xp35g2s65b1j8ccm25d5"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; No test target
#:configure-flags
(list
"-DENABLE_STATIC=NO"))) ; Not required
(native-inputs
`(("dot" ,graphviz)
("doxygen" ,doxygen)))
(inputs
`(("bctoolbox" ,bctoolbox)))
(synopsis "Belledonne Communications RTP Library")
(description "oRTP is a C library implementing the RTP protocol. It
implements the RFC 3550 standard.")
(home-page "https://gitlab.linphone.org/BC/public/ortp")
(license license:gpl2+)))