2004-05-01 22:17:56 +04:00
|
|
|
{ xvSupport ? true
|
|
|
|
, stdenv, fetchurl, x11, libXv, wxGTK, libdvdcss, libdvdplay
|
2003-12-04 00:58:16 +03:00
|
|
|
, mpeg2dec, a52dec, libmad, alsa}:
|
|
|
|
|
|
|
|
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-24 14:26:52 +04:00
|
|
|
url = http://ftp.snt.utwente.nl/pub/software/videolan/vlc/0.8.5/vlc-0.8.5.tar.gz;
|
|
|
|
md5 = "90d19a5ba2ef2e03e6062fadc2e810d2";
|
2003-12-04 00:58:16 +03:00
|
|
|
};
|
|
|
|
|
2004-04-02 19:36:14 +04:00
|
|
|
buildInputs = [
|
|
|
|
x11 wxGTK libdvdcss libdvdplay libdvdplay.libdvdread
|
|
|
|
mpeg2dec a52dec libmad alsa
|
2004-05-01 22:17:56 +04:00
|
|
|
(if xvSupport then libXv else null)
|
2004-04-02 19:36:14 +04:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = "--disable-ffmpeg --enable-alsa";
|
2003-12-04 00:58:16 +03:00
|
|
|
}
|