guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: Add sdr++.


From: guix-commits
Subject: branch master updated: gnu: Add sdr++.
Date: Tue, 21 Sep 2021 09:33:48 -0400

This is an automated email from the git hooks/post-receive script.

glv pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 1c57703  gnu: Add sdr++.
1c57703 is described below

commit 1c57703a161dbefe95f2a456bb263c9a913675ed
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Tue Sep 21 14:47:58 2021 +0200

    gnu: Add sdr++.
    
    * gnu/packages/radio.scm (sdr++): New variable.
---
 gnu/packages/radio.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index cc09f65..3d9a76a 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -51,6 +51,7 @@
   #:use-module (gnu packages geo)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages golang)
@@ -2113,6 +2114,54 @@ voice formats.")
 various hardware.")
     (license license:gpl3+)))
 
+(define-public sdr++
+  (package
+    (name "sdr++")
+    (version "1.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/AlexandreRouma/SDRPlusPlus";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1mplhys07l4bqv3q301ayh35468mg0hpxp5zgrps7gkjyf3v6idr"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("gcc" ,gcc-10) ; A GCC more recent than version 7 is required.
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("airspyhf" ,airspyhf)
+       ("alsa-lib" ,alsa-lib)
+       ("fftwf" ,fftwf)
+       ("glew" ,glew)
+       ("glfw" ,glfw)
+       ("hackrf" ,hackrf)
+       ("jack" ,jack-2)
+       ("libusb" ,libusb)
+       ("pulseaudio" ,pulseaudio)
+       ("rtaudio" ,rtaudio)
+       ("rtl-sdr" ,rtl-sdr)
+       ("soapysdr" ,soapysdr)
+       ("volk" ,volk)))
+    (arguments
+     `(#:tests? #f ; No test suite.
+       #:configure-flags '("-DOPT_BUILD_AIRSPY_SOURCE=OFF"
+                           "-DOPT_BUILD_PLUTOSDR_SOURCE=OFF")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-paths
+           (lambda* (#:key outputs #:allow-other-keys)
+             (substitute* "CMakeLists.txt"
+               (("/usr")
+                (assoc-ref outputs "out"))))))))
+    (home-page "https://github.com/AlexandreRouma/SDRPlusPlus";)
+    (synopsis "Software defined radio software")
+    (description
+     "SDR++ is a software defined radio software for various hardware.")
+    (license license:gpl3+)))
+
 (define-public inspectrum
   (package
     (name "inspectrum")



reply via email to

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