File tree Expand file tree Collapse file tree 2 files changed +65
-62
lines changed
applications/radio/sdrangel Expand file tree Collapse file tree 2 files changed +65
-62
lines changed Original file line number Diff line number Diff line change 1- { lib
2- , stdenv
3- , airspy
4- , airspyhf
5- , aptdec
6- , boost
7- , cm256cc
8- , cmake
9- , codec2
10- , dab_lib
11- , dsdcc
12- , faad2
13- , fetchFromGitHub
14- , fftwFloat
15- , glew
16- , hackrf
17- , hidapi
18- , ffmpeg
19- , libiio
20- , libopus
21- , libpulseaudio
22- , libusb1
23- , limesuite
24- , libbladeRF
25- , mbelib
26- , ninja
27- , opencv4
28- , pkg-config
29- , qtcharts
30- , qtdeclarative
31- , qtgamepad
32- , qtgraphicaleffects
33- , qtlocation
34- , qtmultimedia
35- , qtquickcontrols
36- , qtquickcontrols2
37- , qtserialport
38- , qtspeech
39- , qttools
40- , qtwebsockets
41- , qtwebengine
42- , rtl-sdr
43- , serialdv
44- , sdrplay
45- , sgp4
46- , soapysdr-with-plugins
47- , uhd
48- , wrapQtAppsHook
49- , zlib
50- , withSDRplay ? false
1+ {
2+ lib ,
3+ stdenv ,
4+ airspy ,
5+ airspyhf ,
6+ aptdec ,
7+ boost ,
8+ cm256cc ,
9+ cmake ,
10+ codec2 ,
11+ dab_lib ,
12+ dsdcc ,
13+ faad2 ,
14+ fetchFromGitHub ,
15+ fftwFloat ,
16+ flac ,
17+ glew ,
18+ hackrf ,
19+ hidapi ,
20+ ffmpeg ,
21+ libiio ,
22+ libopus ,
23+ libpulseaudio ,
24+ libusb1 ,
25+ limesuite ,
26+ libbladeRF ,
27+ mbelib ,
28+ ninja ,
29+ opencv4 ,
30+ pkg-config ,
31+ qt5compat ,
32+ qtcharts ,
33+ qtdeclarative ,
34+ qtlocation ,
35+ qtmultimedia ,
36+ qtscxml ,
37+ qtserialport ,
38+ qtspeech ,
39+ qttools ,
40+ qtwayland ,
41+ qtwebsockets ,
42+ qtwebengine ,
43+ rtl-sdr ,
44+ serialdv ,
45+ sdrplay ,
46+ sgp4 ,
47+ soapysdr-with-plugins ,
48+ uhd ,
49+ wrapQtAppsHook ,
50+ zlib ,
51+ withSDRplay ? false ,
5152} :
5253
5354stdenv . mkDerivation ( finalAttrs : {
5455 pname = "sdrangel" ;
55- version = "7.22.1 " ;
56+ version = "7.22.2 " ;
5657
5758 src = fetchFromGitHub {
5859 owner = "f4exb" ;
5960 repo = "sdrangel" ;
6061 rev = "v${ finalAttrs . version } " ;
61- hash = "sha256-Vhxs1KVUDCbl/9abZByUuy230PV4RrYrRjEXgYc8oZU =" ;
62+ hash = "sha256-HFAQ+Pjl//F18O4TryU1zIiAqtb/mBXKipaqNCeeqQo =" ;
6263 } ;
6364
6465 nativeBuildInputs = [
@@ -80,6 +81,7 @@ stdenv.mkDerivation (finalAttrs: {
8081 faad2
8182 ffmpeg
8283 fftwFloat
84+ flac
8385 glew
8486 hackrf
8587 hidapi
@@ -91,14 +93,12 @@ stdenv.mkDerivation (finalAttrs: {
9193 limesuite
9294 mbelib
9395 opencv4
96+ qt5compat
9497 qtcharts
9598 qtdeclarative
96- qtgamepad
97- qtgraphicaleffects
9899 qtlocation
99100 qtmultimedia
100- qtquickcontrols
101- qtquickcontrols2
101+ qtscxml
102102 qtserialport
103103 qtspeech
104104 qttools
@@ -110,25 +110,28 @@ stdenv.mkDerivation (finalAttrs: {
110110 soapysdr-with-plugins
111111 uhd
112112 zlib
113- ]
114- ++ lib . optionals withSDRplay [ sdrplay ] ;
113+ ] ++ lib . optionals stdenv . isLinux [ qtwayland ] ++ lib . optionals withSDRplay [ sdrplay ] ;
115114
116115 cmakeFlags = [
117116 "-DAPT_DIR=${ aptdec } "
118117 "-DDAB_DIR=${ dab_lib } "
119118 "-DSGP4_DIR=${ sgp4 } "
120119 "-DSOAPYSDR_DIR=${ soapysdr-with-plugins } "
121120 "-Wno-dev"
121+ "-DENABLE_QT6=ON"
122122 ] ;
123123
124124 meta = {
125125 description = "Software defined radio (SDR) software" ;
126126 homepage = "https://github.com/f4exb/sdrangel" ;
127127 license = lib . licenses . gpl3Plus ;
128128 longDescription = ''
129- SDRangel is an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
129+ SDRangel is an Open Source Qt6 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
130130 '' ;
131- maintainers = with lib . maintainers ; [ alkeryn Tungsten842 ] ;
131+ maintainers = with lib . maintainers ; [
132+ alkeryn
133+ Tungsten842
134+ ] ;
132135 platforms = lib . platforms . unix ;
133136 } ;
134137} )
Original file line number Diff line number Diff line change @@ -26231,8 +26231,8 @@ with pkgs;
2623126231
2623226232 sdparm = callPackage ../os-specific/linux/sdparm { };
2623326233
26234- sdrangel = libsForQt5 .callPackage ../applications/radio/sdrangel {
26235- stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0 " else stdenv;
26234+ sdrangel = qt6Packages .callPackage ../applications/radio/sdrangel {
26235+ stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "12.3 " else stdenv;
2623626236 };
2623726237
2623826238 setools = callPackage ../os-specific/linux/setools { };
You can’t perform that action at this time.
0 commit comments