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