Skip to content

Commit 4bf5883

Browse files
authored
welle-io: enable FLAC support (#366832)
2 parents 7039ae3 + 44cdb6b commit 4bf5883

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pkgs/applications/radio/welle-io/default.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
fftwSinglePrec,
1818
lame,
1919
mpg123,
20+
withFlac ? true,
21+
flac,
2022
}:
2123

2224
stdenv.mkDerivation rec {
@@ -48,12 +50,12 @@ stdenv.mkDerivation rec {
4850
qt5compat
4951
rtl-sdr
5052
soapysdr-with-plugins
51-
];
53+
] ++ lib.optional withFlac flac;
5254

5355
cmakeFlags = [
5456
"-DRTLSDR=true"
5557
"-DSOAPYSDR=true"
56-
];
58+
] ++ lib.optional withFlac "-DFLAC=true";
5759

5860
meta = {
5961
description = "DAB/DAB+ Software Radio";

0 commit comments

Comments
 (0)