welle-io: enable FLAC support

This commit is contained in:
Maj Fontana
2024-12-20 14:15:30 +01:00
parent 255bca1a8e
commit 44cdb6bca7
+4 -2
View File
@@ -17,6 +17,8 @@
fftwSinglePrec,
lame,
mpg123,
withFlac ? true,
flac,
}:
stdenv.mkDerivation rec {
@@ -48,12 +50,12 @@ stdenv.mkDerivation rec {
qt5compat
rtl-sdr
soapysdr-with-plugins
];
] ++ lib.optional withFlac flac;
cmakeFlags = [
"-DRTLSDR=true"
"-DSOAPYSDR=true"
];
] ++ lib.optional withFlac "-DFLAC=true";
meta = {
description = "DAB/DAB+ Software Radio";