mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Adding yasm and lame support to mplayer
svn path=/nixpkgs/trunk/; revision=21972
This commit is contained in:
parent
adc9f57c71
commit
f7bd2a829e
@ -8,7 +8,8 @@
|
||||
, jackaudioSupport ? false, jackaudio ? null
|
||||
, x264Support ? false, x264 ? null
|
||||
, xvidSupport ? false, xvidcore ? null
|
||||
, mesa, pkgconfig, unzip
|
||||
, lameSupport ? true, lame ? null
|
||||
, mesa, pkgconfig, unzip, yasm
|
||||
}:
|
||||
|
||||
assert alsaSupport -> alsa != null;
|
||||
@ -53,7 +54,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ x11 libXv freetype zlib mesa pkgconfig ]
|
||||
[ x11 libXv freetype zlib mesa pkgconfig yasm ]
|
||||
++ stdenv.lib.optional alsaSupport alsa
|
||||
++ stdenv.lib.optional xvSupport libXv
|
||||
++ stdenv.lib.optional theoraSupport libtheora
|
||||
@ -65,7 +66,8 @@ stdenv.mkDerivation {
|
||||
++ stdenv.lib.optional jackaudioSupport jackaudio
|
||||
++ stdenv.lib.optionals amrSupport [ amrnb amrwb ]
|
||||
++ stdenv.lib.optional x264Support x264
|
||||
++ stdenv.lib.optional xvidSupport xvidcore;
|
||||
++ stdenv.lib.optional xvidSupport xvidcore
|
||||
++ stdenv.lib.optional lameSupport lame;
|
||||
|
||||
configureFlags = ''
|
||||
${if cacaSupport then "--enable-caca" else "--disable-caca"}
|
||||
|
@ -8189,7 +8189,7 @@ let
|
||||
|
||||
MPlayer = import ../applications/video/MPlayer {
|
||||
inherit fetchurl stdenv freetype fontconfig x11 zlib libtheora libcaca libdvdnav
|
||||
cdparanoia mesa pkgconfig unzip amrnb amrwb jackaudio x264 xvidcore;
|
||||
cdparanoia mesa pkgconfig unzip amrnb amrwb jackaudio x264 xvidcore lame yasm;
|
||||
inherit (xlibs) libX11 libXv libXinerama libXrandr;
|
||||
alsaSupport = true;
|
||||
alsa = alsaLib;
|
||||
|
Loading…
Reference in New Issue
Block a user