summaryrefslogtreecommitdiff
path: root/gnu/packages/radio.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-09-21 14:47:58 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-09-21 15:32:57 +0200
commit1c57703a161dbefe95f2a456bb263c9a913675ed (patch)
treed477576a5a731f9ce6fc90b0a63bbfc471f8ebc6 /gnu/packages/radio.scm
parent9102512748b5a44cc4214288159fd45dabe076be (diff)
gnu: Add sdr++.
* gnu/packages/radio.scm (sdr++): New variable.
Diffstat (limited to 'gnu/packages/radio.scm')
-rw-r--r--gnu/packages/radio.scm49
1 files changed, 49 insertions, 0 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index cc09f651da..3d9a76a8b2 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")