2003-12-03 21:58:16 +00:00
|
|
|
{ stdenv, fetchurl, x11, wxGTK, libdvdcss, libdvdplay
|
|
|
|
, mpeg2dec, a52dec, libmad, alsa}:
|
|
|
|
|
2004-03-29 11:25:25 +01:00
|
|
|
assert x11 != null && wxGTK != null && libdvdcss != null
|
|
|
|
&& libdvdplay != null && mpeg2dec != null && a52dec != null
|
|
|
|
&& libmad != null && alsa != null;
|
2003-12-03 21:58:16 +00:00
|
|
|
assert libdvdplay.libdvdread.libdvdcss == libdvdcss;
|
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2004-04-02 16:36:14 +01:00
|
|
|
name = "vlc-0.7.1";
|
2003-12-03 21:58:16 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2004-04-02 16:36:14 +01:00
|
|
|
url = http://download.videolan.org/pub/videolan/vlc/0.7.1/vlc-0.7.1.tar.gz;
|
|
|
|
md5 = "faa5e3162a3e9b3a3d8c3dcc06f70911";
|
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
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = "--disable-ffmpeg --enable-alsa";
|
2003-12-03 21:58:16 +00:00
|
|
|
}
|