Package Details: soapysdrplay-git r62.b789d59-1

Git Clone URL: https://aur.archlinux.org/soapysdrplay-git.git (read-only, click to copy)
Package Base: soapysdrplay-git
Description: Soapy SDR module for SDRPlay
Upstream URL: http://www.sdrplay.com
Keywords: sdr sdrplay soapy
Licenses: MIT
Submitter: danmc
Maintainer: ErnyTech
Last Packager: ErnyTech
Votes: 5
Popularity: 0.062446
First Submitted: 2016-03-20 05:04 (UTC)
Last Updated: 2022-03-30 16:36 (UTC)

Required by (1)

Sources (1)

Latest Comments

joshuarubin commented on 2021-05-13 15:57 (UTC)

Mine uses the newer SoapySDRPlay3 repo. I'm not sure if there's much of a need to support the v2 api anymore, my guess is that there are older devices that don't work with v3, but I could be wrong.

The whole sdr ecosystem in Arch, and Linux generally, is in a weird state. GNURadio introduced a bunch of changes in 3.9 that required downstream devs to update their code, many of which never will. That leaves arch only officially supporting 3.8. Now some things are only being developed against gnuradio 3.9+ and we can't have both versions installed... I could rant about this for a while, not really relevant here. Maybe we should just build everything statically.

Anyway, I'm happy to maintain packages related to sdr stuff as I'm actively working on them.

danmc commented on 2021-05-13 15:10 (UTC)

So I've unfortunately been out of this for some time. @joshuarubin, it looks like there's not too much different between soapysdrplay3-git and this PKGBUILD. Is there a reason to keep using version 2? If not, I may suggest merging your changes and bumping pkgrel here to 2. I can orphan this package and you can take it over as well as it's likely I'm not going to be able to dedicate time to this in the near future.

joshuarubin commented on 2021-03-16 21:49 (UTC)

@nickoe that's correct. the problem is that the version listed in this PKGBUILD only exists in SoapySDRPlay2. so I'm never able to actually upgrade it to the latest version because it doesn't exist and yay always lists it as an available upgrade. besides, I always had to edit it to work with soapysdr (and not soapysdr-git) anyway.

nickoe commented on 2021-03-16 21:46 (UTC)

@joshuarubin, that does not make sense. Currently this package is ecceftively soapysdrplay3-git as it is using pothosware/SoapySDRPlay that redirects to pothosware/SoapySDRPlay3.

joshuarubin commented on 2021-03-16 21:06 (UTC)

@nickoe then the source should be changed to source=("$pkgname::git://github.com/pothosware/SoapySDRPlay2.git"). Still, I can't switch to soapysdr-git since it breaks other packages and SoapySDRPlay2 won't build against the soapysdr in community. So, instead, I made https://aur.archlinux.org/packages/soapysdrplay3-git/

nickoe commented on 2021-02-03 23:34 (UTC)

@joshuarubin See https://github.com/pothosware/SoapySDRPlay2/issues/65, the repos were shuffeled around a bit.

joshuarubin commented on 2021-02-03 21:10 (UTC)

The git repo only shows 33 commits, latest being 208f95d. Not sure where you're getting r66.3890517 from... https://github.com/pothosware/SoapySDRPlay3

deadite66 commented on 2020-12-11 08:22 (UTC) (edited on 2020-12-11 08:22 (UTC) by deadite66)

@nickoe it's part of the libsdrplay aur package.

nickoe commented on 2020-12-11 08:11 (UTC)

@deadite66, so systemd service... I did not know it used that. Any reason it is not enabled by this package?

deadite66 commented on 2020-12-11 06:52 (UTC)

if you plugged in a device after booting you might need to restart the sdrplay service.

nickoe commented on 2020-12-10 23:24 (UTC)

@deadite66, ok I tried that and it builds. I just fetched an RSP 2 such that I can test it, but it does not find it. I think it becomes available as:

Bus 001 Device 055: ID 1df7:3010

But I get:

oapySDRUtil --probe sdrplay
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Probe device 
shm_open: No such file or directory
[ERROR] sdrplay_api_Open() Error: sdrplay_api_Fail
[ERROR] Please check the sdrplay_api service to make sure it is up. If it is up, please restart it.
[ERROR] SoapySDR::Device::enumerate(sdrplay) sdrplay_api_Open() failed
[WARNING] Can't find label in args - use 'lsusb' to make sure the OS can see the RSP
Error probing device: Can't find label in args - use 'lsusb' to make sure the OS can see the RSP

deadite66 commented on 2020-11-30 18:31 (UTC)

@nickoe try changing the source line in the PKGBUILD to source=("$pkgname::git://github.com/SDRplay/SoapySDRPlay.git")

nickoe commented on 2020-11-30 18:30 (UTC) (edited on 2021-01-02 16:07 (UTC) by nickoe)

Hmm, that issue with the development files not being found seem to be related to https://github.com/pothosware/SoapySDRPlay2/issues/65 and I think the cmake module for soapysdrplay needs to be patched upstream.

nickoe commented on 2020-11-30 18:19 (UTC)

@danmc, this does not build for me, I get the following errors:

....
==> Starting build()...
-- The CXX compiler identification is GNU 10.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- libsdrplay not found.
CMake Error at CMakeLists.txt:16 (message):
  SDRPlay development files not found...


-- Configuring incomplete, errors occurred!
See also "/home/nickoe/.cache/yay/soapysdrplay/src/SoapySDRPlay-soapy-sdrplay-0.2.0/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...
error making: soapysdrplay
$ pacman -Qs libsdrplay
local/libsdrplay 3.07.1-1
    Modules for the SDRplay receiver

djboris commented on 2018-07-01 09:03 (UTC)

@tc1384 as workaround I fixed the version at a specific commit in PKGBUILD:

source=("$pkgname::git://github.com/pothosware/SoapySDRPlay.git#commit=b592d54a12b7c9cc54e3a1f1a8f1b960b79d49fe")

tc1384 commented on 2018-01-17 04:33 (UTC)

soapysdrplay-git/src/soapysdrplay-git/Settings.cpp:906:24: error: ‘mir_sdr_rsp1a_BiasT’ was not declared in this scope if (hwVer > 253) mir_sdr_rsp1a_BiasT(biasTen);

soapysdrplay-git/src/soapysdrplay-git/Settings.cpp:906:24: note: suggested alternative: ‘mir_sdr_RSPII_BandT’ if (hwVer > 253) mir_sdr_rsp1a_BiasT(biasTen);

soapysdrplay-git/src/soapysdrplay-git/Settings.cpp:913:24: error: ‘mir_sdr_rsp1a_BroadcastNotch’ was not declared in this scope if (hwVer > 253) mir_sdr_rsp1a_BroadcastNotch(notchEn);

soapysdrplay-git/src/soapysdrplay-git/Settings.cpp:919:24: error: ‘mir_sdr_rsp1a_DabNotch’ was not declared in this scope if (hwVer > 253) mir_sdr_rsp1a_DabNotch(dabNotchEn);

soapysdrplay-git/src/soapysdrplay-git/Settings.cpp:919:24: note: suggested alternative: ‘mir_sdr_ReadPacket’ if (hwVer > 253) mir_sdr_rsp1a_DabNotch(dabNotchEn);

make[2]: [CMakeFiles/sdrPlaySupport.dir/build.make:87: CMakeFiles/sdrPlaySupport.dir/Settings.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:68: CMakeFiles/sdrPlaySupport.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...