Subject: [bug#56282] [PATCH 5/7] gnu: gnuradio: Update to 3.10.3.0.

From: Greg Hogan <[email-masked]>
Date: Tue, 28 Jun 2022 15:22:51 +0000

* gnu/packages/radio.scm (gnuradio): Update to 3.10.3.0.
[native-inputs]: Add python-jsonschema and soapysdr.
[propagated-inputs]: Add spdlog.
[arguments]<#:configure-flags>: Add -DENABLE_GRC=ON.
---
 gnu/packages/radio.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index c25cdbc20c..e014707e44 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -542,7 +542,7 @@ (define-public redsea
 (define-public gnuradio
   (package
     (name "gnuradio")
-    (version "3.9.2.0")
+    (version "3.10.3.0")
     (source
      (origin
        (method git-fetch)
@@ -551,7 +551,7 @@ (define-public gnuradio
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "01wyqazrpphmb0fl69j93k0w4vm4d1l4177m1fyg7qx8hzia0aaq"))))
+        (base32 "0xdhb2blzajxpi0f2ch23hh6bzdwz5q7syi3bmiqzdjlj2yjfzd4"))))
     (build-system cmake-build-system)
     (native-inputs
      `(("doxygen" ,doxygen)
@@ -589,6 +589,7 @@ (define-public gnuradio
        ("python" ,python)
        ("python-click" ,python-click)
        ("python-click-plugins" ,python-click-plugins)
+       ("python-jsonschema" ,python-jsonschema)
        ("python-lxml" ,python-lxml)
        ("python-matplotlib" ,python-matplotlib)
        ("python-numpy" ,python-numpy)
@@ -600,8 +601,11 @@ (define-public gnuradio
        ("qtbase" ,qtbase-5)
        ("qwt" ,qwt)
        ("sdl" ,sdl)
+       ("soapysdr" ,soapysdr)
        ("volk" ,volk)
        ("zeromq" ,zeromq)))
+    (propagated-inputs
+     (list spdlog))
     (arguments
      `(#:modules ((guix build cmake-build-system)
                   ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
@@ -612,7 +616,8 @@ (define-public gnuradio
                            (guix build glib-or-gtk-build-system)
                            (guix build python-build-system))
        #:configure-flags
-       (list (string-append "-DMATHJAX2_ROOT="
+       (list "-DENABLE_GRC=ON"
+             (string-append "-DMATHJAX2_ROOT="
                             (assoc-ref %build-inputs "js-mathjax")
                             "/share/javascript/mathjax"))
        #:phases
-- 
2.36.1