[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: gr-osmosdr: Add support for BladeRF and IQ balance correctio
From: |
guix-commits |
Subject: |
03/08: gnu: gr-osmosdr: Add support for BladeRF and IQ balance correction. |
Date: |
Tue, 3 Oct 2023 03:55:28 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit e7889236004be69838d2b9a6a08648971ca0351b
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sat Sep 30 12:02:07 2023 +0200
gnu: gr-osmosdr: Add support for BladeRF and IQ balance correction.
* gnu/packages/radio.scm (gr-osmosdr)[inputs]: Add bladerf and gr-iqbal.
[arguments]: Add 'fix-gnuradio-iqbalance-detection' phase. Use gexp.
---
gnu/packages/radio.scm | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 58b6ca33dc..d840299b01 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -966,10 +966,12 @@ environment.")
(inputs
(list airspy
airspyhf
+ bladerf
boost
fftwf
gmp
gnuradio
+ gr-iqbal
hackrf
libsndfile
log4cpp
@@ -981,15 +983,22 @@ environment.")
spdlog
volk))
(arguments
- `(#:modules ((guix build cmake-build-system)
- ((guix build python-build-system) #:prefix python:)
- (guix build utils))
- #:imported-modules (,@%cmake-build-system-modules
- (guix build python-build-system))
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'wrap-python
- (assoc-ref python:%standard-phases 'wrap)))))
+ (list #:modules '((guix build cmake-build-system)
+ ((guix build python-build-system) #:prefix python:)
+ (guix build utils))
+ #:imported-modules `(,@%cmake-build-system-modules
+ (guix build python-build-system))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-gnuradio-iqbalance-detection
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("find_package\\(gnuradio-iqbalance PATHS
\\$\\{Gnuradio_DIR\\}\\)")
+ (string-append "find_package(gnuradio-iqbalance PATHS "
+ #$(this-package-input "gr-iqbal")
+ "/lib/cmake/gnuradio)")))))
+ (add-after 'install 'wrap-python
+ (assoc-ref python:%standard-phases 'wrap)))))
(synopsis "GNU Radio block for interfacing with various radio hardware")
(description "This is a block for GNU Radio allowing to use a common API
to access different radio hardware.")
- branch master updated (abf7a1e986 -> d69c557d64), guix-commits, 2023/10/03
- 03/08: gnu: gr-osmosdr: Add support for BladeRF and IQ balance correction.,
guix-commits <=
- 01/08: gnu: Add bladerf., guix-commits, 2023/10/03
- 02/08: gnu: Add soapybladerf., guix-commits, 2023/10/03
- 04/08: gnu: dump1090: Add support for BladeRF., guix-commits, 2023/10/03
- 07/08: gnu: urh: Add support for Airspy and BladeRF., guix-commits, 2023/10/03
- 08/08: gnu: satdump: Add support for BladeRF., guix-commits, 2023/10/03
- 05/08: gnu: sdrangel: Add support for BladeRF., guix-commits, 2023/10/03
- 06/08: gnu: sdr++: Add support for BladeRF., guix-commits, 2023/10/03