GNU bug report logs -
#77927
[PATCH 0/4] Support for PlutoSDR in SDR++ and SDRangel
Previous Next
Reported by: Rutherther <rutherther <at> ditigal.xyz>
Date: Sat, 19 Apr 2025 18:52:03 UTC
Severity: normal
Tags: patch
Done: Guillaume Le Vaillant <glv <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 77927 <at> debbugs.gnu.org (full text, mbox):
This is a dependency used for communicating with PlutoSDR.
* gnu/packages/radio.scm (libiio): New variable.
Change-Id: Ic34895af35fa008923fed0de74ad12ffc75f2021
---
gnu/packages/radio.scm | 55 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 3724988ce4..df3574b5e3 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -49,6 +49,7 @@ (define-module (gnu packages radio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages bison)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@@ -56,6 +57,7 @@ (define-module (gnu packages radio)
#:use-module (gnu packages databases)
#:use-module (gnu packages documentation)
#:use-module (gnu packages engineering)
+ #:use-module (gnu packages flex)
#:use-module (gnu packages fltk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gd)
@@ -190,6 +192,59 @@ (define-public libcorrect
used as a drop-in substitute for @code{libfec}.")
(license license:bsd-3))))
+(define-public libiio
+ (package
+ (name "libiio")
+ (version "0.24")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/analogdevicesinc/libiio")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "136n22macjz70bgxd7ix77gkv7zhbk3zzl340kwwpmb94z2fr4bk"))))
+ (arguments
+ (list
+ #:tests? #f
+ #:configure-flags
+ #~(list
+ (string-append "-DUDEV_RULES_INSTALL_DIR=" #$output "/lib/udev/rules.d")
+ "-DOSX_PACKAGE=off"
+ "-DOSX_FRAMEWORK=off"
+ (string-append "-DPython_EXECUTABLE=" (search-input-file %build-inputs "/bin/python3"))
+ "-DPYTHON_BINDINGS=on")))
+ (native-inputs
+ (list
+ pkg-config
+ flex
+ bison
+ python
+ avahi
+ libaio))
+ (inputs
+ (list
+ libxml2
+ libusb))
+ (build-system cmake-build-system)
+ (license (list
+ license:lgpl2.1
+ license:gpl2))
+ (home-page "https://github.com/analogdevicesinc/libiio")
+ (synopsis "A cross platform library for interfacing with local and remote Linux IIO devices ")
+ (description
+ "Library for interfacing with Linux IIO devices
+libiio is used to interface to the Linux Industrial Input/Output (IIO) Subsystem.
+The Linux IIO subsystem is intended to provide support for devices that in some
+sense are analog to digital or digital to analog converters (ADCs, DACs).
+This includes, but is not limited to ADCs, Accelerometers, Gyros, IMUs,
+Capacitance to Digital Converters (CDCs), Pressure Sensors, Color, Light and Proximity Sensors,
+Temperature Sensors, Magnetometers, DACs, DDS (Direct Digital Synthesis), PLLs (Phase Locked Loops),
+Variable/Programmable Gain Amplifiers (VGA, PGA), and RF transceivers. You can use libiio natively
+on an embedded Linux target (local mode), or use libiio to communicate remotely to that same target
+from a host Linux, Windows or MAC over USB or Ethernet or Serial.")))
+
(define-public liquid-dsp
(package
(name "liquid-dsp")
base-commit: 12a6dd40a7b88454cc8a8c930c22681fcee5b1ea
--
2.49.0
This bug report was last modified 91 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.