2004-05-01 20:17:56 +02:00
|
|
|
{ xvSupport ? true
|
|
|
|
, stdenv, fetchurl, x11, libXv, wxGTK, libdvdcss, libdvdplay
|
2003-12-03 22:58:16 +01:00
|
|
|
, mpeg2dec, a52dec, libmad, alsa}:
|
|
|
|
|
|
|
|
assert libdvdplay.libdvdread.libdvdcss == libdvdcss;
|
2004-05-01 20:17:56 +02:00
|
|
|
assert xvSupport -> libXv != null;
|
2003-12-03 22:58:16 +01:00
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2004-09-21 18:00:09 +02:00
|
|
|
name = "vlc-0.7.2";
|
2003-12-03 22:58:16 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2005-08-22 10:39:27 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/vlc-0.7.2.tar.gz;
|
2004-09-21 18:00:09 +02:00
|
|
|
md5 = "25dfcc804cb92f46c0b64ce1466515cc";
|
2003-12-03 22:58:16 +01:00
|
|
|
};
|
|
|
|
|
2004-04-02 17:36:14 +02:00
|
|
|
buildInputs = [
|
|
|
|
x11 wxGTK libdvdcss libdvdplay libdvdplay.libdvdread
|
|
|
|
mpeg2dec a52dec libmad alsa
|
2004-05-01 20:17:56 +02:00
|
|
|
(if xvSupport then libXv else null)
|
2004-04-02 17:36:14 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = "--disable-ffmpeg --enable-alsa";
|
2003-12-03 22:58:16 +01:00
|
|
|
}
|