Subject: [PATCH v3 3/4] gnu: sdrangel: Compile with PlutoSDR support

From: Rutherther <[email-masked]>
Date: Sun, 20 Apr 2025 18:47:20 +0200

SDRangel will be compiled with PlutoSDR support when libiio is added.

* gnu/packages/radio.scm (sdrangel)[inputs]: Add libiio
* gnu/packages/radio.scm (sdrangel)[arguments]{#:configure-flags}: Use libiio

Change-Id: I7cf959b61af567a3133034ad52d5f4564f099c30
---
 gnu/packages/radio.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 03560eaf3f..4b96d011bf 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -2797,6 +2797,7 @@ (define-public sdrangel
            hamlib
            hidapi
            libdab
+           libiio
            libusb
            mbelib
            opencv
@@ -2837,7 +2838,9 @@ (define-public sdrangel
                 (string-append "-DSGP4_DIR="
                                #$(this-package-input "sgp4"))
                 (string-append "-DSOAPYSDR_DIR="
-                               #$(this-package-input "soapysdr")))
+                               #$(this-package-input "soapysdr"))
+                (string-append "-DIIO_DIR="
+                               #$(this-package-input "libiio")))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-unrecognized-compiler-option
-- 
2.49.0