summary refs log tree commit diff
path: root/gnu/packages/radio.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-11-20 19:18:44 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2021-11-20 19:18:44 +0100
commit89eb1f2a76bc304895f0f79430f757ed65d01f65 (patch)
treec5295335b9a81dfcedf7813ea9932c1d83783f99 /gnu/packages/radio.scm
parent4d02165992b9c516530f0b7aea147b379887dc62 (diff)
downloadguix-89eb1f2a76bc304895f0f79430f757ed65d01f65.tar.gz
gnu: sdrangel: Update to 6.17.3.
* gnu/packages/radio.scm (sdrangel): Update to 6.17.3.
  [arguments]: Add 'fix-boost-compatibility' phase.
Diffstat (limited to 'gnu/packages/radio.scm')
-rw-r--r--gnu/packages/radio.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 69ecba4054..00161d847f 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -2040,7 +2040,7 @@ voice formats.")
 (define-public sdrangel
   (package
     (name "sdrangel")
-    (version "6.17.1")
+    (version "6.17.3")
     (source
      (origin
        (method git-fetch)
@@ -2049,7 +2049,7 @@ voice formats.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1yraif6dzs5sdskxnj937x613xz3zxnqim5mnk18vj2m0apcaqam"))))
+        (base32 "16la2g1xqahgnni1qhpnfbqlcqsiihxnm2d6nv2241khb3lhi0i9"))))
     (build-system qt-build-system)
     (native-inputs
      `(("doxygen" ,doxygen)
@@ -2102,7 +2102,16 @@ voice formats.")
                 (string-append "-DSGP4_DIR="
                                #$(this-package-input "sgp4"))
                 (string-append "-DSOAPYSDR_DIR="
-                               #$(this-package-input "soapysdr")))))
+                               #$(this-package-input "soapysdr")))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-boost-compatibility
+           (lambda _
+             (substitute*
+                 '("plugins/channelrx/noisefigure/noisefigure.cpp"
+                   "plugins/channelrx/noisefigure/noisefigureenrdialog.cpp")
+               (("boost::math::barycentric_rational<double>")
+                "boost::math::interpolators::barycentric_rational<double>")))))))
     (home-page "https://github.com/f4exb/sdrangel/wiki")
     (synopsis "Software defined radio")
     (description