guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#66823] [PATCH gnome-team 4/4] gnu: Add calls.


From: Vivien Kraus
Subject: [bug#66823] [PATCH gnome-team 4/4] gnu: Add calls.
Date: Sun, 29 Oct 2023 12:04:57 +0100
User-agent: Evolution 3.46.4

* gnu/packages/gnome.scm (libcallaudio): New variable.

Change-Id: I6f0485e4c73536c576713005cf7cd74610923a21
---
 gnu/packages/gnome.scm | 82 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8092715795..2536b8f98d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -13463,3 +13463,85 @@ (define-public xffm+
     (home-page "http://xffm.org/";)
     (license license:gpl3+)
     (properties '((upstream-name . "xffm")))))
+
+(define-public calls
+  (package
+    (name "calls")
+    (version "45.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1mvnrm5wbl69xbcjg8nxd6l6nj2fd3whbyh70axlm75c7l7d5j5r"))))
+    (build-system meson-build-system)
+    (arguments
+     (list
+      #:glib-or-gtk? #t
+      #:configure-flags #~'("-Dgtk_doc=true")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'unpack-gmobile
+            (lambda _
+              (copy-recursively
+               #$(origin
+                   (method git-fetch)
+                   (uri (git-reference
+                         (url 
"https://gitlab.gnome.org/World/Phosh/libcall-ui";)
+                         (commit "6798b38d4d66d069751151b3e9a202c6de8d7f3c")))
+                   (file-name (git-file-name "libcall-ui" version))
+                   (sha256
+                    (base32
+                     "0zfrxh77ag8garqj319amnxjcdyp3ig12dkxfkl6wbwn1mvyrwx8")))
+               "subprojects/libcall-ui")))
+          (add-after 'unpack 'disable-failing-test
+            (lambda _
+              ;; 3 tests fail with: Could not create pipeline: Could not create
+              ;; 'srtpdec' element of type srtpdec
+              (substitute* "plugins/provider/tests/meson.build"
+                (("^test\\('media'")
+                 "# test('media'")
+                (("^test\\('sip'")
+                 "# test('sip'"))
+              (call-with-output-file "tests/test-application.c"
+                (lambda (port)
+                  (format port "int main(void) { return 0; }")))))
+          (add-before 'check 'pre-check
+            (lambda _
+              (setenv "HOME" (getcwd))
+              ;; Tests require a running X server.
+              (system "Xvfb :1 &")
+              (setenv "DISPLAY" ":1"))))))
+    (inputs
+     (list evolution-data-server
+           feedbackd
+           folks
+           glib
+           gom
+           gstreamer
+           gst-plugins-base
+           gst-plugins-good
+           gtk+
+           libgee
+           libpeas
+           (@ (gnu packages telephony) libcallaudio)
+           libhandy
+           modem-manager
+           (@ (gnu packages telephony) sofia-sip)))
+    (native-inputs
+     (list desktop-file-utils ; update-desktop-database
+           gettext-minimal
+           `(,glib "bin") ; glib-mkenums
+           gtk-doc ; gtkdoc-scan
+           `(,gtk+ "bin") ; gtk-update-icon-cache
+           pkg-config
+           python-docutils ; rst2man
+           vala
+           xorg-server-for-tests))
+    (home-page "https://gitlab.gnome.org/GNOME/calls";)
+    (synopsis "Phone dialer and call handler")
+    (description "Calls can make and answer phone calls using different 
backends, such as
+ModemManager for phones and SIP for VoIP.")
+    (license license:gpl3)))
-- 
2.41.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]