diff options
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/video/mplayer/default.nix | 3 | ||||
-rw-r--r-- | pkgs/applications/video/mplayer2/default.nix | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix index d86b81be7563..a1ec200aaf0f 100644 --- a/pkgs/applications/video/mplayer/default.nix +++ b/pkgs/applications/video/mplayer/default.nix @@ -16,6 +16,7 @@ , x264Support ? false, x264 ? null , jackaudioSupport ? false, jackaudio ? null , pulseSupport ? false, pulseaudio ? null +, bs2bSupport ? false, libbs2b ? null # For screenshots , libpngSupport ? true, libpng ? null , useUnfreeCodecs ? false @@ -38,6 +39,7 @@ assert theoraSupport -> libtheora != null; assert x264Support -> x264 != null; assert jackaudioSupport -> jackaudio != null; assert pulseSupport -> pulseaudio != null; +assert bs2bSupport -> libbs2b != null; assert libpngSupport -> libpng != null; let @@ -112,6 +114,7 @@ stdenv.mkDerivation rec { ++ optional vdpauSupport libvdpau ++ optional speexSupport speex ++ optional libpngSupport libpng + ++ optional bs2bSupport libbs2b ; nativeBuildInputs = [ yasm ]; diff --git a/pkgs/applications/video/mplayer2/default.nix b/pkgs/applications/video/mplayer2/default.nix index 9e89d5384147..24f53884e39c 100644 --- a/pkgs/applications/video/mplayer2/default.nix +++ b/pkgs/applications/video/mplayer2/default.nix @@ -12,6 +12,7 @@ , theoraSupport ? true, libtheora ? null , jackaudioSupport ? false, jackaudio ? null , pulseSupport ? true, pulseaudio ? null +, bs2bSupport ? false, libbs2b ? null # For screenshots , libpngSupport ? true, libpng ? null , useUnfreeCodecs ? false @@ -29,6 +30,7 @@ assert speexSupport -> speex != null; assert theoraSupport -> libtheora != null; assert jackaudioSupport -> jackaudio != null; assert pulseSupport -> pulseaudio != null; +assert bs2bSupport -> libbs2b != null; assert libpngSupport -> libpng != null; let @@ -92,6 +94,7 @@ stdenv.mkDerivation rec { ++ optional screenSaverSupport libXScrnSaver ++ optional vdpauSupport libvdpau ++ optional speexSupport speex + ++ optional bs2bSupport libbs2b ++ optional libpngSupport libpng ; |