2004-05-01 19:17:56 +01:00
|
|
|
{ xvSupport ? true
|
2006-06-29 13:41:25 +01:00
|
|
|
, stdenv, fetchurl, perl, x11, libXv, wxGTK
|
|
|
|
#libdvdcss, libdvdplay
|
|
|
|
, zlib, mpeg2dec, a52dec, libmad, ffmpeg, alsa
|
|
|
|
}:
|
2003-12-03 21:58:16 +00:00
|
|
|
|
2006-06-29 13:41:25 +01:00
|
|
|
#assert libdvdplay.libdvdread.libdvdcss == libdvdcss;
|
2004-05-01 19:17:56 +01:00
|
|
|
assert xvSupport -> libXv != null;
|
2003-12-03 21:58:16 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2006-06-24 11:26:52 +01:00
|
|
|
name = "vlc-0.8.5";
|
2003-12-03 21:58:16 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2006-06-29 13:41:25 +01:00
|
|
|
url = http://ftp.snt.utwente.nl/pub/software/videolan/vlc/0.8.5/vlc-0.8.5.tar.bz2;
|
|
|
|
md5 = "16bb5bf87ed94879a8eb7b0ff9b4f16f";
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
|
2004-04-02 16:36:14 +01:00
|
|
|
buildInputs = [
|
2006-06-29 13:41:25 +01:00
|
|
|
perl x11 wxGTK /* libdvdcss libdvdplay libdvdplay.libdvdread */
|
|
|
|
zlib mpeg2dec a52dec libmad ffmpeg alsa
|
2004-05-01 19:17:56 +01:00
|
|
|
(if xvSupport then libXv else null)
|
2004-04-02 16:36:14 +01:00
|
|
|
];
|
|
|
|
|
2006-06-29 13:41:25 +01:00
|
|
|
configureFlags = "--enable-alsa";
|
2003-12-03 21:58:16 +00:00
|
|
|
}
|