Skip to content

Commit d50107f

Browse files
committed
qradiolink: switch to GR 3.10
1 parent d8fb383 commit d50107f

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

pkgs/applications/radio/qradiolink/default.nix

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
, libpulseaudio
44
, libconfig
55
# Needs a gnuradio built with qt gui support
6-
, gnuradio3_8
6+
, gnuradio
7+
, log4cpp
78
, thrift
89
# Not gnuradioPackages'
910
, codec2
@@ -22,15 +23,16 @@
2223
, uhd
2324
}:
2425

25-
gnuradio3_8.pkgs.mkDerivation rec {
26+
gnuradio.pkgs.mkDerivation rec {
2627
pname = "qradiolink";
27-
version = "0.9.0-1";
28+
# https://github.com/qradiolink/qradiolink/tree/gr_3.10
29+
version = "0.9.0-1-unstable-2024-08-29";
2830

2931
src = fetchFromGitHub {
3032
owner = "qradiolink";
3133
repo = "qradiolink";
32-
rev = version;
33-
sha256 = "sha256-Js6DzmUG8O9c9VvjE6hc7JGuFmgc1Wq41zVJb8Us/yI=";
34+
rev = "f1006a20e0a642d0ac20aab18b19fa97567f2621";
35+
sha256 = "sha256-9AYFO+mmwLAH8gEpZn6qcENabc/KBMcg/0wCTKsInNY=";
3436
};
3537

3638
preBuild = ''
@@ -48,35 +50,40 @@ gnuradio3_8.pkgs.mkDerivation rec {
4850
'';
4951

5052
buildInputs = [
51-
gnuradio3_8.unwrapped.boost
53+
gnuradio.unwrapped.boost
5254
codec2
53-
gnuradio3_8.unwrapped.logLib
55+
gnuradio.unwrapped.logLib
56+
# gnuradio uses it's own log library (spdlog), and qradiolink is still
57+
# using the old gnuradio log library log4cpp. Perhaps this won't be needed
58+
# once the gr_3.10 branch will mature enough to be merged into qradiolink's
59+
# master branch.
60+
log4cpp
5461
gmp
5562
libpulseaudio
5663
libconfig
5764
gsm
58-
gnuradio3_8.pkgs.osmosdr
65+
gnuradio.pkgs.osmosdr
5966
libopus
6067
libjpeg
6168
limesuite
6269
soapysdr-with-plugins
6370
speex
6471
speexdsp
65-
gnuradio3_8.qt.qtbase
66-
gnuradio3_8.qt.qtmultimedia
72+
gnuradio.qt.qtbase
73+
gnuradio.qt.qtmultimedia
6774
libftdi
6875
libsndfile
6976
cppzmq
70-
gnuradio3_8.qwt
77+
gnuradio.qwt
7178
uhd
72-
] ++ lib.optionals (gnuradio3_8.hasFeature "gr-ctrlport") [
79+
] ++ lib.optionals (gnuradio.hasFeature "gr-ctrlport") [
7380
thrift
74-
gnuradio3_8.unwrapped.python.pkgs.thrift
81+
gnuradio.unwrapped.python.pkgs.thrift
7582
];
7683
nativeBuildInputs = [
7784
protobuf
78-
gnuradio3_8.qt.qmake
79-
gnuradio3_8.qt.wrapQtAppsHook
85+
gnuradio.qt.qmake
86+
gnuradio.qt.wrapQtAppsHook
8087
];
8188

8289
meta = with lib; {

0 commit comments

Comments
 (0)