Merge pull request #118347 from eduardosm/gr3.8

gnuradio3_8: 3.8.2.0 -> 3.8.3.0

authored by

Robert Scott and committed by
GitHub
ee33b8b1 54019989

+8 -22
+8 -22
pkgs/applications/radio/gnuradio/3.8.nix
··· 42 , pname ? "gnuradio" 43 , versionAttr ? { 44 major = "3.8"; 45 - minor = "2"; 46 patch = "0"; 47 } 48 # We use our build of volk and not the one bundled with the release ··· 50 }: 51 52 let 53 - sourceSha256 = "SFDjtyQRp0fXijZukpLYtISpx8imxedlYN9mRibv1eA="; 54 featuresInfo = { 55 # Needed always 56 basic = { ··· 241 }; 242 cmakeFlags = shared.cmakeFlags 243 # From some reason, if these are not set, libcodec2 and gsm are not 244 - # detected properly. NOTE: qradiolink needs libcodec2 to be detected in 245 # order to build, see https://github.com/qradiolink/qradiolink/issues/67 246 ++ lib.optionals (hasFeature "gr-vocoder" features) [ 247 "-DLIBCODEC2_LIBRARIES=${codec2}/lib/libcodec2.so" 248 "-DLIBCODEC2_INCLUDE_DIRS=${codec2}/include" 249 "-DLIBCODEC2_HAS_FREEDV_API=ON" 250 "-DLIBGSM_LIBRARIES=${gsm}/lib/libgsm.so" 251 "-DLIBGSM_INCLUDE_DIRS=${gsm}/include/gsm" 252 ] ··· 262 ${removeReferencesTo}/bin/remove-references-to -t ${python} $out/lib/cmake/gnuradio/GnuradioConfig.cmake 263 '' 264 ; 265 - patches = [ 266 - # Don't install python referencing files if python support is disabled. 267 - # See: https://github.com/gnuradio/gnuradio/pull/3839 268 - (fetchpatch { 269 - url = "https://github.com/gnuradio/gnuradio/commit/4a4fd570b398b0b50fe875fcf0eb9c9db2ea5c6e.diff"; 270 - sha256 = "xz2E0ji6zfdOAhjfPecAcaVOIls1XP8JngLkBbBBW5Q="; 271 - }) 272 - (fetchpatch { 273 - url = "https://github.com/gnuradio/gnuradio/commit/dbc8ad7e7361fddc7b1dbc267c07a776a3f9664b.diff"; 274 - sha256 = "tQcCpcUbJv3yqAX8rSHN/pAuBq4ueEvoVo7sNzZGvf4="; 275 - }) 276 - # Needed to use boost 1.7x, see: 277 - # https://github.com/gnuradio/gnuradio/issues/3720 278 - # https://github.com/gnuradio/gnuradio/pull/3967 279 - (fetchpatch { 280 - url = "https://github.com/gnuradio/gnuradio/commit/cbcb968358fad56f3646619b258f18b0e6693a07.diff"; 281 - sha256 = "1ajf4797f869lqv436xw61s29qdbn7f01i0970kfxv3yahd34p9v"; 282 - }) 283 - ]; 284 }
··· 42 , pname ? "gnuradio" 43 , versionAttr ? { 44 major = "3.8"; 45 + minor = "3"; 46 patch = "0"; 47 } 48 # We use our build of volk and not the one bundled with the release ··· 50 }: 51 52 let 53 + sourceSha256 = "0lwbj3slhc8bjjvfw7yz45if21hajydgy2vsjvj2barzmhfb37fd"; 54 featuresInfo = { 55 # Needed always 56 basic = { ··· 241 }; 242 cmakeFlags = shared.cmakeFlags 243 # From some reason, if these are not set, libcodec2 and gsm are not 244 + # detected properly. The issue is reported upstream: 245 + # https://github.com/gnuradio/gnuradio/issues/4278 246 + # 247 + # NOTE: qradiolink needs libcodec2 to be detected in 248 # order to build, see https://github.com/qradiolink/qradiolink/issues/67 249 ++ lib.optionals (hasFeature "gr-vocoder" features) [ 250 + "-DLIBCODEC2_FOUND=TRUE" 251 "-DLIBCODEC2_LIBRARIES=${codec2}/lib/libcodec2.so" 252 "-DLIBCODEC2_INCLUDE_DIRS=${codec2}/include" 253 "-DLIBCODEC2_HAS_FREEDV_API=ON" 254 + "-DLIBGSM_FOUND=TRUE" 255 "-DLIBGSM_LIBRARIES=${gsm}/lib/libgsm.so" 256 "-DLIBGSM_INCLUDE_DIRS=${gsm}/include/gsm" 257 ] ··· 267 ${removeReferencesTo}/bin/remove-references-to -t ${python} $out/lib/cmake/gnuradio/GnuradioConfig.cmake 268 '' 269 ; 270 }