mplayer-trunk: build with jackaudio support

svn path=/nixpkgs/trunk/; revision=17329
This commit is contained in:
Marc Weber 2009-09-21 10:09:24 +00:00
parent c28aeffc87
commit 0ba0fefa95
2 changed files with 6 additions and 4 deletions

View file

@ -3,8 +3,8 @@
, xineramaSupport ? false, randrSupport ? false, dvdnavSupport ? true
, stdenv, fetchurl, x11, freetype, freefont_ttf, zlib
, alsa ? null, libX11, libXv ? null, libtheora ? null, libcaca ? null
, libXinerama ? null, libXrandr ? null, libdvdnav ? null
, cdparanoia ? null, cddaSupport ? true
, libXinerama ? null, libXrandr ? null, libdvdnav ? null, jackaudio ? null
, cdparanoia ? null, cddaSupport ? true, jackaudioSupport ? true
, mesa, pkgconfig
, sourceByName
}:
@ -17,6 +17,7 @@ assert xineramaSupport -> libXinerama != null;
assert randrSupport -> libXrandr != null;
assert dvdnavSupport -> libdvdnav != null;
assert cddaSupport -> cdparanoia != null;
assert jackaudioSupport -> jackaudio != null;
let
@ -45,7 +46,8 @@ stdenv.mkDerivation {
++ stdenv.lib.optional xineramaSupport libXinerama
++ stdenv.lib.optional randrSupport libXrandr
++ stdenv.lib.optionals dvdnavSupport [libdvdnav libdvdnav.libdvdread]
++ stdenv.lib.optional cddaSupport cdparanoia;
++ stdenv.lib.optional cddaSupport cdparanoia
++ stdenv.lib.optional jackaudioSupport jackaudio;
configureFlags = ''
${if cacaSupport then "--enable-caca" else "--disable-caca"}

View file

@ -7133,7 +7133,7 @@ let
MPlayerTrunk = import ../applications/video/MPlayer/trunk.nix {
inherit (bleedingEdgeRepos) sourceByName;
inherit fetchurl stdenv freetype x11 zlib libtheora libcaca freefont_ttf libdvdnav
cdparanoia mesa pkgconfig;
cdparanoia mesa pkgconfig jackaudio;
inherit (xlibs) libX11 libXv libXinerama libXrandr;
alsaSupport = true;
alsa = alsaLib;