|
|
|
@ -15,6 +15,7 @@ |
|
|
|
|
, bs2bSupport ? false, libbs2b ? null |
|
|
|
|
# For screenshots |
|
|
|
|
, libpngSupport ? true, libpng ? null |
|
|
|
|
, libjpegSupport ? true, libjpeg ? null |
|
|
|
|
, useUnfreeCodecs ? false |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
@ -32,6 +33,7 @@ assert jackaudioSupport -> jack2 != null; |
|
|
|
|
assert pulseSupport -> pulseaudio != null; |
|
|
|
|
assert bs2bSupport -> libbs2b != null; |
|
|
|
|
assert libpngSupport -> libpng != null; |
|
|
|
|
assert libjpegSupport -> libjpeg != null; |
|
|
|
|
|
|
|
|
|
let |
|
|
|
|
|
|
|
|
@ -96,6 +98,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
++ optional speexSupport speex |
|
|
|
|
++ optional bs2bSupport libbs2b |
|
|
|
|
++ optional libpngSupport libpng |
|
|
|
|
++ optional libjpegSupport libjpeg |
|
|
|
|
; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ yasm python3 ]; |
|
|
|
|