mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Making mplayer compile with mesa, so it gets 'gl' output.
svn path=/nixpkgs/trunk/; revision=15041
This commit is contained in:
parent
6a18dcab44
commit
b8969ff4ae
2 changed files with 3 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
|||
, alsa ? null, libX11, libXv ? null, libtheora ? null, libcaca ? null
|
||||
, libXinerama ? null, libXrandr ? null, libdvdnav ? null
|
||||
, cdparanoia ? null, cddaSupport ? true
|
||||
, mesa
|
||||
}:
|
||||
|
||||
assert alsaSupport -> alsa != null;
|
||||
|
@ -36,7 +37,7 @@ stdenv.mkDerivation {
|
|||
};
|
||||
|
||||
buildInputs =
|
||||
[x11 libXv freetype zlib]
|
||||
[x11 libXv freetype zlib mesa]
|
||||
++ stdenv.lib.optional alsaSupport alsa
|
||||
++ stdenv.lib.optional xvSupport libXv
|
||||
++ stdenv.lib.optional theoraSupport libtheora
|
||||
|
|
|
@ -8631,7 +8631,7 @@ let
|
|||
|
||||
MPlayer = import ../applications/video/MPlayer {
|
||||
inherit fetchurl stdenv freetype x11 zlib libtheora libcaca freefont_ttf libdvdnav
|
||||
cdparanoia;
|
||||
cdparanoia mesa;
|
||||
inherit (xlibs) libX11 libXv libXinerama libXrandr;
|
||||
alsaSupport = true;
|
||||
alsa = alsaLib;
|
||||
|
|
Loading…
Reference in a new issue