about summary refs log tree commit diff
path: root/pkgs/applications/video/mplayer
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2013-05-17 01:18:48 +0200
committeraszlig <aszlig@redmoonstudios.org>2013-05-25 19:01:43 +0200
commitb08d6a39f8319c9ed593701893ee6b683d3a8ccc (patch)
tree322103ba24e74ed2a7b1fb5bc451c5a7183474fb /pkgs/applications/video/mplayer
parent2bd7aa7a65ee63bafc44b5fe62b667ba7546e986 (diff)
downloadnixlib-b08d6a39f8319c9ed593701893ee6b683d3a8ccc.tar
nixlib-b08d6a39f8319c9ed593701893ee6b683d3a8ccc.tar.gz
nixlib-b08d6a39f8319c9ed593701893ee6b683d3a8ccc.tar.bz2
nixlib-b08d6a39f8319c9ed593701893ee6b683d3a8ccc.tar.lz
nixlib-b08d6a39f8319c9ed593701893ee6b683d3a8ccc.tar.xz
nixlib-b08d6a39f8319c9ed593701893ee6b683d3a8ccc.tar.zst
nixlib-b08d6a39f8319c9ed593701893ee6b683d3a8ccc.zip
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/applications/video/mplayer')
-rw-r--r--pkgs/applications/video/mplayer/default.nix3
1 files changed, 3 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 ];