guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: emacs-telega: Build with support for VoIP.


From: guix-commits
Subject: 02/02: gnu: emacs-telega: Build with support for VoIP.
Date: Wed, 1 Jan 2020 17:32:09 -0500 (EST)

brettgilio pushed a commit to branch master
in repository guix.

commit 609ebcc0fab924e8ba2acd9cba77bf74f8955e6c
Author: Brett Gilio <address@hidden>
Date:   Wed Jan 1 16:25:51 2020 -0600

    gnu: emacs-telega: Build with support for VoIP.
    
    * gnu/packages/emacs-xyz.scm (emacs-telega): Add support for VoIP calling.
    [arguments]: Add make-flag to build with VoIP.
    [native-inputs]: Add libtgvoip.
---
 gnu/packages/emacs-xyz.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3d42f52..4814891 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -41,7 +41,7 @@
 ;;; Copyright © 2018 Alex Branham <address@hidden>
 ;;; Copyright © 2018 Thorsten Wilms <address@hidden>
 ;;; Copyright © 2018, 2019 Pierre Langlois <address@hidden>
-;;; Copyright © 2018, 2019 Brett Gilio <address@hidden>
+;;; Copyright © 2018, 2019, 2020 Brett Gilio <address@hidden>
 ;;; Copyright © 2019 Dimakakos Dimos <address@hidden>
 ;;; Copyright © 2019 Brian Leung <address@hidden>
 ;;; Copyright © 2019 mikadoZero <address@hidden>
@@ -103,6 +103,7 @@
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages telephony)
   #:use-module (gnu packages tex)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages tcl)
@@ -20157,7 +20158,7 @@ fish-completion.  It can be used in both Eshell and M-x 
shell.")
   ;; Get the current version from `telega-version` in telega.el.
   ;; or by running M-x telega-version.
   (let ((commit "9bfb637b2e71f5f293debd35abd627a064faf8ef")
-       (revision "1")
+       (revision "2")
        (version "0.5.4"))
     (package
       (name "emacs-telega")
@@ -20174,14 +20175,15 @@ fish-completion.  It can be used in both Eshell and 
M-x shell.")
          (file-name (git-file-name name version))))
       (build-system gnu-build-system)
       (arguments
-       `(#:test-target "test"
-         #:modules ((guix build gnu-build-system)
+       `(#:modules ((guix build gnu-build-system)
                     ((guix build emacs-build-system) #:prefix emacs:)
                     (guix build utils)
                     (guix build emacs-utils))
          #:imported-modules (,@%gnu-build-system-modules
                              (guix build emacs-build-system)
                              (guix build emacs-utils))
+         #:test-target "test"
+         #:make-flags (list "WITH_VOIP=t")
          #:phases
          (modify-phases %standard-phases
            (add-after 'unpack 'prefix-patch
@@ -20259,6 +20261,7 @@ fish-completion.  It can be used in both Eshell and M-x 
shell.")
          ("libwebp" ,libwebp))) ; sticker support.
       (native-inputs
        `(("tdlib" ,tdlib)
+         ("libtgvoip" ,libtgvoip) ; VoIP support.
          ("emacs" ,emacs)
          ("python" ,python)))
       (synopsis "GNU Emacs client for the Telegram messenger")



reply via email to

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