From b08d6a39f8319c9ed593701893ee6b683d3a8ccc Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 17 May 2013 01:18:48 +0200 Subject: mplayer(2): Add support and library for bs2b. This also adds a new package "libbs2b", which is needed in order to support Bauer stereophonic-to-binaural DSP as an audio filter. Signed-off-by: aszlig --- pkgs/applications/video/mplayer/default.nix | 3 +++ pkgs/applications/video/mplayer2/default.nix | 3 +++ 2 files changed, 6 insertions(+) (limited to 'pkgs/applications/video') 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 ; -- cgit 1.4.1