2004-05-01 19:17:56 +01: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 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 {
|
2004-09-21 17:00:09 +01:00
|
|
|
name = "vlc-0.7.2";
|
2003-12-03 21:58:16 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2005-02-15 14:44:19 +00:00
|
|
|
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/vlc-0.7.2.tar.gz;
|
2004-09-21 17:00:09 +01:00
|
|
|
md5 = "25dfcc804cb92f46c0b64ce1466515cc";
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
|
2004-04-02 16:36:14 +01:00
|
|
|
buildInputs = [
|
|
|
|
x11 wxGTK libdvdcss libdvdplay libdvdplay.libdvdread
|
|
|
|
mpeg2dec a52dec libmad alsa
|
2004-05-01 19:17:56 +01:00
|
|
|
(if xvSupport then libXv else null)
|
2004-04-02 16:36:14 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = "--disable-ffmpeg --enable-alsa";
|
2003-12-03 21:58:16 +00:00
|
|
|
}
|