nixpkgs/pkgs/applications/video/vlc/default.nix
Eelco Dolstra 9c4736c4f3 * VLC updated to 0.7.2.
svn path=/nixpkgs/trunk/; revision=1484
2004-09-21 16:00:09 +00:00

24 lines
609 B
Nix

{ xvSupport ? true
, stdenv, fetchurl, x11, libXv, wxGTK, libdvdcss, libdvdplay
, mpeg2dec, a52dec, libmad, alsa}:
assert libdvdplay.libdvdread.libdvdcss == libdvdcss;
assert xvSupport -> libXv != null;
stdenv.mkDerivation {
name = "vlc-0.7.2";
src = fetchurl {
url = http://download.videolan.org/pub/videolan/vlc/0.7.2/vlc-0.7.2.tar.gz;
md5 = "25dfcc804cb92f46c0b64ce1466515cc";
};
buildInputs = [
x11 wxGTK libdvdcss libdvdplay libdvdplay.libdvdread
mpeg2dec a52dec libmad alsa
(if xvSupport then libXv else null)
];
configureFlags = "--disable-ffmpeg --enable-alsa";
}