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