guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: fldigi: Use git repository.


From: guix-commits
Subject: 01/02: gnu: fldigi: Use git repository.
Date: Fri, 12 Feb 2021 08:26:04 -0500 (EST)

glv pushed a commit to branch master
in repository guix.

commit 65e9f13116edc58836cdbd1da60bfb81a3d58c82
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Fri Feb 12 14:08:27 2021 +0100

    gnu: fldigi: Use git repository.
    
    The tarballs of older versions are not kept on the website.
    Fixes <https://bugs.gnu.org/46461>.
    
    * gnu/packages/radio.scm (fldigi)[source]: Switch to git repository.
      [native-inputs]: Add autoconf, automake and gettext-minimal.
---
 gnu/packages/radio.scm | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 5ceae14..bb11356 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -40,6 +40,7 @@
   #:use-module (gnu packages fltk)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gd)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gstreamer)
@@ -581,14 +582,19 @@ using GNU Radio and the Qt GUI toolkit.")
     (version "4.1.17")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "http://www.w1hkj.com/files/fldigi/fldigi-";
-                           version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.code.sf.net/p/fldigi/fldigi";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1gzff60sn3h05279f9mdi1rkdws52m28shcil16911lvlq6ki13m"))))
+        (base32 "0qli67dmdf49nvvh0i66bvhys8p74ljdcck8i9ra5jsfncih2xn8"))))
     (build-system gnu-build-system)
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("gettext" ,gettext-minimal)
+       ("pkg-config" ,pkg-config)))
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("fltk" ,fltk)



reply via email to

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