guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: bcg729: Fetch from git repository.


From: guix-commits
Subject: 03/05: gnu: bcg729: Fetch from git repository.
Date: Thu, 26 Nov 2020 17:33:18 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit f5c898532044d28cc11f91e775f7a1a81b7082ca
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Nov 26 22:46:58 2020 +0100

    gnu: bcg729: Fetch from git repository.
    
    * gnu/packages/linphone.scm (bcg729)[source]: Use GIT-FETCH and 
GIT-FILE-NAME.
---
 gnu/packages/linphone.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm
index 777485b..a530729 100644
--- a/gnu/packages/linphone.scm
+++ b/gnu/packages/linphone.scm
@@ -2,6 +2,7 @@
 ;;;
 ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
 ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -49,6 +50,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system qt)
   #:use-module (guix build-system glib-or-gtk)
@@ -195,12 +197,13 @@ tracks in one file. ")
     (version "1.0.4")
     (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 "git://git.linphone.org/bcg729.git")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "01y34ky7ykjgfnf8a9f59hg61fqfjiprfrzshdz06w0lz4gvy3qs"))))
+        (base32 "05s0c5ps3a763y0v34wg5zghj0cdjnq4ch7g81848xxry7q90fwa"))))
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f                      ; No test target



reply via email to

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