mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
sdrangel: add missing dependencies and fix DAB demodulator
This commit is contained in:
parent
4a1c127928
commit
33c369df8f
@ -23,14 +23,20 @@
|
||||
, libbladeRF
|
||||
, mbelib
|
||||
, mkDerivation
|
||||
, ninja
|
||||
, ocl-icd
|
||||
, opencv3
|
||||
, pkg-config
|
||||
, qtcharts
|
||||
, qtdeclarative
|
||||
, qtgraphicaleffects
|
||||
, qtlocation
|
||||
, qtmultimedia
|
||||
, qtquickcontrols
|
||||
, qtquickcontrols2
|
||||
, qtserialport
|
||||
, qtspeech
|
||||
, qttools
|
||||
, qtwebsockets
|
||||
, qtwebengine
|
||||
, rtl-sdr
|
||||
@ -38,6 +44,7 @@
|
||||
, sgp4
|
||||
, soapysdr-with-plugins
|
||||
, uhd
|
||||
, zlib
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
@ -48,10 +55,10 @@ mkDerivation rec {
|
||||
owner = "f4exb";
|
||||
repo = "sdrangel";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hsYt7zGG6CSWeQ9A3GPt65efjZGPu33O5pIhnZjFgmY=";
|
||||
hash = "sha256-hsYt7zGG6CSWeQ9A3GPt65efjZGPu33O5pIhnZjFgmY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
nativeBuildInputs = [ cmake ninja pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
airspy
|
||||
@ -77,10 +84,15 @@ mkDerivation rec {
|
||||
mbelib
|
||||
opencv3
|
||||
qtcharts
|
||||
qtdeclarative
|
||||
qtgraphicaleffects
|
||||
qtlocation
|
||||
qtmultimedia
|
||||
qtquickcontrols
|
||||
qtquickcontrols2
|
||||
qtserialport
|
||||
qtspeech
|
||||
qttools
|
||||
qtwebsockets
|
||||
qtwebengine
|
||||
rtl-sdr
|
||||
@ -88,11 +100,12 @@ mkDerivation rec {
|
||||
sgp4
|
||||
soapysdr-with-plugins
|
||||
uhd
|
||||
zlib
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DAPT_DIR=${aptdec}"
|
||||
"-DDAB_LIB=${dab_lib}"
|
||||
"-DDAB_INCLUDE_DIR:PATH=${dab_lib}/include/dab_lib"
|
||||
"-DLIBSERIALDV_INCLUDE_DIR:PATH=${serialdv}/include/serialdv"
|
||||
"-DLIMESUITE_INCLUDE_DIR:PATH=${limesuite}/include"
|
||||
"-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite.so"
|
||||
|
Loading…
Reference in New Issue
Block a user