nixpkgs/pkgs/applications/video/vlc/default.nix
Eelco Dolstra 8a58852d9d * Update or disable some stuff.
svn path=/nixpkgs/trunk/; revision=5509
2006-06-24 10:26:52 +00:00

24 lines
615 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.8.5";
src = fetchurl {
url = http://ftp.snt.utwente.nl/pub/software/videolan/vlc/0.8.5/vlc-0.8.5.tar.gz;
md5 = "90d19a5ba2ef2e03e6062fadc2e810d2";
};
buildInputs = [
x11 wxGTK libdvdcss libdvdplay libdvdplay.libdvdread
mpeg2dec a52dec libmad alsa
(if xvSupport then libXv else null)
];
configureFlags = "--disable-ffmpeg --enable-alsa";
}