[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/05: gnu: Add libring.
From: |
guix-commits |
Subject: |
03/05: gnu: Add libring. |
Date: |
Fri, 11 Jan 2019 13:52:18 -0500 (EST) |
ambrevar pushed a commit to branch wip-ring
in repository guix.
commit 274dab0fbe88703d403d6f89c7d3b8ad34d7d1c6
Author: Pierre Neidhardt <address@hidden>
Date: Fri Jan 11 18:58:31 2019 +0100
gnu: Add libring.
* gnu/packages/telephony.scm (libring): New variable.
---
gnu/packages/telephony.scm | 86 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 86 insertions(+)
diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 151a534..43337ab 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -721,3 +721,89 @@ Initiation Protocol (SIP) and a multimedia framework.")
(("selftest: pjlib-test pjlib-util-test pjnath-test
pjmedia-test pjsip-test pjsua-test")
"selftest: pjlib-test pjlib-util-test pjmedia-test"))
#t)))))))
+
+(define-public libring
+ (package
+ (name "libring")
+ (version "20190108.1.8659b2c")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://dl.ring.cx/ring-release/tarballs/ring_"
+ version
+ ".tar.gz"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "daemon/contrib")))
+ (sha256
+ (base32
+ "1kvkxxwfl5wh9jrd0v8nbgdby8afg4w6allp1aww2a6xl4q7lwxf"))))
+ (build-system gnu-build-system)
+ (inputs
+ ;; Missing (optional?) dep: libnatpmp.
+ `(("alsa-lib" ,alsa-lib)
+ ("boost" ,boost)
+ ("dbus-c++" ,dbus-c++)
+ ("eudev" ,eudev)
+ ("ffmpeg" ,ffmpeg)
+ ("flac" ,flac)
+ ("gmp" ,gmp)
+ ("gsm" ,gsm)
+ ("jack" ,jack-1)
+ ("jsoncpp" ,jsoncpp)
+ ("libogg" ,libogg)
+ ("libva" ,libva)
+ ("opendht" ,opendht)
+ ("opus" ,opus)
+ ("pcre" ,pcre)
+ ("pulseaudio" ,pulseaudio)
+ ("libsamplerate" ,libsamplerate)
+ ("libsndfile" ,libsndfile)
+ ("speex" ,speex)
+ ("speexdsp" ,speexdsp)
+ ("libupnp" ,libupnp)
+ ("libvorbis" ,libvorbis)
+ ("libx264" ,libx264)
+ ("libvdpau" ,libvdpau)
+ ("yaml-cpp" ,yaml-cpp)
+ ("zlib" ,zlib)
+ ("openssl" ,openssl)
+ ("libsecp256k1" ,libsecp256k1)
+ ("python" ,python)
+ ("python-wrapper" ,python-wrapper)
+ ("restbed" ,restbed)
+ ("libx11" ,libx11)
+ ;; TODO: Upstream seems to rely on a custom pjproject (a.k.a. pjsip)
version.
+ ;; See https://git.ring.cx/savoirfairelinux/ring-daemon/issues/24.
+ ("pjproject" ,pjproject-ring)))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)
+ ("which" ,which)
+ ("cppunit" ,cppunit)
+ ("perl" ,perl))) ; Needed for documentation.
+ (arguments
+ `(#:tests? #f ; The tests fail to compile due to missing headers.
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'change-directory
+ (lambda _
+ (chdir "daemon")
+ #t))
+ (add-before 'build 'add-lib-dir
+ (lambda _
+ (mkdir-p "src/lib")
+ #t)))))
+ (synopsis "Distributed multimedia communications platform")
+ (description "Ring is a secure and distributed voice, video and chat
+communication platform that requires no centralized server and leaves the
+power of privacy in the hands of the user. It supports the SIP and IAX
+protocols, as well as decentralized calling using P2P-DHT.
+
+This package provides a library and daemon implementing the Ring core
+functionality.")
+ (home-page "https://jami.net/")
+ (license license:gpl3+)))