diff mbox

[10/10] Add ring-client-gnome.

Message ID 87y42fo97m.fsf@openmailbox.org
State New
Headers show

Commit Message

Lukas Gradl Sept. 25, 2016, 11:23 p.m. UTC
Lukas Gradl <lgradl@openmailbox.org> writes:

> To come back to your question:  I am not fully convinced that other
> packages using evolution-data-server are able to properly use it as an
> input.  I am pretty sure that propagating evolution-data-server does not
> make it a lot better.  Should I move it to 'inputs'?

I went ahead and did that.
diff mbox

Patch

From b54bcfbda5c8e58a5a561ec8953c77c1bbe43230 Mon Sep 17 00:00:00 2001
From: Lukas Gradl <lgradl@openmailbox.org>
Date: Sun, 28 Aug 2016 14:05:28 -0500
Subject: [PATCH 10/10] gnu: Add ring-client-gnome.

* gnu/packages/telephony.scm (ring-client-gnome): New variable.
---
 gnu/packages/telephony.scm | 52 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 6ef1e58..22638b0 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -23,6 +23,7 @@ 
 
 (define-module (gnu packages telephony)
   #:use-module (gnu packages)
+  #:use-module (gnu packages aidc)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
@@ -30,8 +31,12 @@ 
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
+  #:use-module (gnu packages documentation)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages libupnp)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages multiprecision)
@@ -590,3 +595,50 @@  protocols, as well as decentralized calling using P2P-DHT.
 This package provides a library common to all Ring clients.")
       (home-page "https://ring.cx/")
       (license license:gpl3+))))
+
+
+(define-public ring-client-gnome
+  (let ((commit "1a468b9e6fae7c4426c590c1b5eee2718e0c0001")) ; This is the
+                                        ; commit used in the AUR package.
+    (package
+      (name "ring-client-gnome")
+      (version (string-append "1.0.0-1." (string-take commit 7)))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url (string-append
+                 "https://gerrit-ring.savoirfairelinux.com/" name))
+           (commit commit)))
+         (sha256
+          (base32
+           "07r0yky60c0zxq4slr7zxgmiknrpybzq94kk1j4khml6nlbjbvp2"))))
+      (build-system cmake-build-system)
+      (inputs
+       `(("libringclient" ,libringclient)
+         ("gtk+" ,gtk+)
+         ("glib:bin" ,glib "bin")
+         ("qrencode" ,qrencode)
+         ("libnotify" ,libnotify)
+         ("clutter" ,clutter)
+         ("clutter-gtk" ,clutter-gtk)
+         ("evolution-data-server" ,evolution-data-server)
+         ("gettext" ,gnu-gettext)))
+      (native-inputs
+       `(("pkg-config" ,pkg-config)
+         ("doxygen" ,doxygen)))
+      (propagated-inputs
+       `(("libring" ,libring) ; This is needed to run dring.
+         ("adwaita-icon-theme" ,adwaita-icon-theme)))
+      (arguments
+       `(#:tests? #f)) ; There is no testsuite.
+      (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 the Ring client for the Gnome Desktop.")
+      (home-page "https://ring.cx/")
+      (license license:gpl3+))))
-- 
2.9.0