guix-commits
[Top][All Lists]
Advanced

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

04/19: gnu: bzrtp: Update to 4.4.34 and enable tests.


From: guix-commits
Subject: 04/19: gnu: bzrtp: Update to 4.4.34 and enable tests.
Date: Mon, 29 Mar 2021 01:44:03 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit ebc75b6ae8205c9a23826453db2e6ac4ce37ff0d
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Tue Mar 16 12:22:31 2021 -0400

    gnu: bzrtp: Update to 4.4.34 and enable tests.
    
    * gnu/packages/linphone.scm (bzrtp)[source]: Switch to git repository.
    [version]: Update to 4.4.34.
    [configure-flags]: Enable tests.
    [license]: Upgrade to GPLv3+.
    
    Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
 gnu/packages/linphone.scm | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm
index d164841..60221ff 100644
--- a/gnu/packages/linphone.scm
+++ b/gnu/packages/linphone.scm
@@ -425,20 +425,22 @@ implements the RFC 3550 standard.")
 (define-public bzrtp
   (package
     (name "bzrtp")
-    (version "1.0.6")
+    (version "4.4.34")
     (source
      (origin
-       (method url-fetch)
-       (uri
-        (string-append "https://www.linphone.org/releases/sources/"; name
-                       "/" name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.linphone.org/BC/public/bzrtp";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "12y0kkh90pixaaxfyx26ca2brhy6nw57fsypp6vh8jk1illv0j5z"))))
+        (base32 "1yjmsbqmymzl4r7sba6w4a2yld8m6hzafr6jf7sj0syhwpnc3zv6"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:tests? #f                      ; No test target
-       #:configure-flags
-       (list "-DENABLE_STATIC=NO")))    ; Not required
+     `(#:configure-flags
+       (list
+        "-DENABLE_STATIC=NO"
+        "-DENABLE_TESTS=YES")))
     (inputs
      `(("bctoolbox" ,bctoolbox)
        ("sqlite3" ,sqlite)
@@ -448,7 +450,7 @@ implements the RFC 3550 standard.")
 written in C.  It is fully portable and can be executed on many platforms
 including both ARM and x86.")
     (home-page "https://gitlab.linphone.org/BC/public/bzrtp";)
-    (license license:gpl2+)))
+    (license license:gpl3+)))
 
 (define-public belle-sip
   (package



reply via email to

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