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>
This commit is contained in:
parent
2bd7aa7a65
commit
b08d6a39f8
@ -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 ];
|
||||
|
@ -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
|
||||
;
|
||||
|
||||
|
19
pkgs/development/libraries/audio/libbs2b/default.nix
Normal file
19
pkgs/development/libraries/audio/libbs2b/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libsndfile }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libbs2b-${version}";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/bs2b/${name}.tar.bz2";
|
||||
sha256 = "0vz442kkjn2h0dlxppzi4m5zx8qfyrivq581n06xzvnyxi5rg6a7";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libsndfile ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://bs2b.sourceforge.net/";
|
||||
description = "Bauer stereophonic-to-binaural DSP library";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
}
|
@ -4198,6 +4198,8 @@ let
|
||||
|
||||
libbluray = callPackage ../development/libraries/libbluray { };
|
||||
|
||||
libbs2b = callPackage ../development/libraries/audio/libbs2b { };
|
||||
|
||||
libcaca = callPackage ../development/libraries/libcaca { };
|
||||
|
||||
libcanberra = callPackage ../development/libraries/libcanberra { };
|
||||
|
Loading…
Reference in New Issue
Block a user